Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") translateModel(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001265/0.001265, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001236/0.001236, allocations: 194.1 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.373/1.373, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.9568/0.9568, allocations: 143 MB / 433.4 MB, free: 11.46 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 63.91 kB / 0.5142 GB, free: 11.65 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1635/0.1648, allocations: 82.04 MB / 0.5943 GB, free: 9.578 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002946/0.1678, allocations: 1.237 MB / 0.5955 GB, free: 8.328 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00118/0.169, allocations: 0.5955 MB / 0.5961 GB, free: 7.73 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.051e-05/0.1691, allocations: 0 / 0.5961 GB, free: 7.73 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.842e-05/0.1691, allocations: 0 / 0.5961 GB, free: 7.73 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.848e-05/0.1692, allocations: 0 / 0.5961 GB, free: 7.73 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007504/0.17, allocations: 144.8 kB / 0.5962 GB, free: 7.59 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.681e-05/0.17, allocations: 11.88 kB / 0.5962 GB, free: 7.578 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.476e-05/0.1701, allocations: 8 kB / 0.5962 GB, free: 7.57 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.388e-05/0.1701, allocations: 0 / 0.5962 GB, free: 7.57 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.804e-05/0.1702, allocations: 11.98 kB / 0.5962 GB, free: 7.559 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.341e-05/0.1702, allocations: 0 / 0.5962 GB, free: 7.559 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005567/0.1708, allocations: 343.3 kB / 0.5966 GB, free: 7.223 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.286e-05/0.1708, allocations: 0 / 0.5966 GB, free: 7.223 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.301e-05/0.1708, allocations: 11.88 kB / 0.5966 GB, free: 7.211 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000282/0.1711, allocations: 136 kB / 0.5967 GB, free: 7.078 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.1711, allocations: 0 / 0.5967 GB, free: 7.078 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.413e-06/0.1711, allocations: 0 / 0.5967 GB, free: 7.078 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.933e-06/0.1711, allocations: 0 / 0.5967 GB, free: 7.078 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004423/0.1716, allocations: 355.4 kB / 0.597 GB, free: 6.68 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.1716, allocations: 8.031 kB / 0.597 GB, free: 6.672 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.248e-05/0.1717, allocations: 8.938 kB / 0.5971 GB, free: 6.664 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001413/0.1718, allocations: 168.3 kB / 0.5972 GB, free: 6.461 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.307e-06/0.1718, allocations: 384 / 0.5972 GB, free: 6.461 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.133e-05/0.1719, allocations: 384 / 0.5972 GB, free: 6.461 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.421e-05/0.172, allocations: 30.27 kB / 0.5972 GB, free: 6.426 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.172, allocations: 4.172 kB / 0.5973 GB, free: 6.422 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/0.172, allocations: 7.938 kB / 0.5973 GB, free: 6.414 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.172, allocations: 0 / 0.5973 GB, free: 6.414 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.935e-05/0.172, allocations: 7.938 kB / 0.5973 GB, free: 6.406 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001696/0.1722, allocations: 157.7 kB / 0.5974 GB, free: 6.203 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.406e-05/0.1723, allocations: 26.61 kB / 0.5974 GB, free: 6.168 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.189e-05/0.1723, allocations: 8.922 kB / 0.5975 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.147e-05/0.1723, allocations: 0 / 0.5975 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.935e-05/0.1723, allocations: 34.56 kB / 0.5975 GB, free: 6.113 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.1724, allocations: 0 / 0.5975 GB, free: 6.113 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0001788/0.1725, allocations: 53.56 kB / 0.5975 GB, free: 6.055 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.602e-05/0.1726, allocations: 51.41 kB / 0.5976 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.584e-05/0.1727, allocations: 89.86 kB / 0.5977 GB, free: 5.895 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.134e-05/0.1727, allocations: 29.7 kB / 0.5977 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.014e-05/0.1727, allocations: 80.14 kB / 0.5978 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.867e-05/0.1728, allocations: 16.14 kB / 0.5978 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.445e-05/0.1728, allocations: 13.72 kB / 0.5978 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001176/0.1729, allocations: 310.8 kB / 0.5981 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.448e-05/0.173, allocations: 0 / 0.5981 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.34e-05/0.173, allocations: 8 kB / 0.5981 GB, free: 5.422 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.186e-05/0.173, allocations: 8.859 kB / 0.5981 GB, free: 5.41 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.173, allocations: 0 / 0.5981 GB, free: 5.41 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.274e-05/0.1731, allocations: 45.69 kB / 0.5982 GB, free: 5.359 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.1731, allocations: 18 kB / 0.5982 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.135e-05/0.1732, allocations: 3.938 kB / 0.5982 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.1732, allocations: 0 / 0.5982 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001867/0.1734, allocations: 11.98 kB / 0.5982 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003918/0.1738, allocations: 0.5782 MB / 0.5988 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.859e-05/0.1739, allocations: 0 / 0.5988 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.141e-06/0.1739, allocations: 0 / 0.5988 GB, free: 4.727 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.769e-05/0.174, allocations: 125.8 kB / 0.5989 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.977e-06/0.174, allocations: 0 / 0.5989 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001126/0.1741, allocations: 44.81 kB / 0.5989 GB, free: 4.547 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.1741, allocations: 0 / 0.5989 GB, free: 4.547 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.1741, allocations: 0 / 0.5989 GB, free: 4.547 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.1741, allocations: 0 / 0.5989 GB, free: 4.547 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001139/0.1743, allocations: 161.5 kB / 0.5991 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.1743, allocations: 4 kB / 0.5991 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.866e-05/0.1743, allocations: 12.03 kB / 0.5991 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.534e-06/0.1744, allocations: 0 / 0.5991 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.911e-06/0.1744, allocations: 0 / 0.5991 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003598/0.1747, allocations: 0.586 MB / 0.5997 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.637e-06/0.1748, allocations: 11.95 kB / 0.5997 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.368e-05/0.1748, allocations: 61.23 kB / 0.5997 GB, free: 3.625 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.697e-05/0.1749, allocations: 81.09 kB / 0.5998 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.122e-05/0.1749, allocations: 0 / 0.5998 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.408e-05/0.1749, allocations: 0 / 0.5998 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.063e-05/0.1749, allocations: 7.938 kB / 0.5998 GB, free: 3.52 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.815e-06/0.175, allocations: 0 / 0.5998 GB, free: 3.52 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.253e-05/0.175, allocations: 79.28 kB / 0.5999 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.175, allocations: 0 / 0.5999 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002018/0.1752, allocations: 12.12 kB / 0.5999 GB, free: 3.43 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001824/0.1754, allocations: 119.1 kB / 0.6 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000176/0.1756, allocations: 15.98 kB / 0.6 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.1756, allocations: 0 / 0.6 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.158e-05/0.1757, allocations: 19.98 kB / 0.6 GB, free: 3.266 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001518/0.1759, allocations: 3.938 kB / 0.6001 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004246/0.1763, allocations: 114 kB / 0.6002 GB, free: 3.125 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002396/0.1765, allocations: 0.6729 MB / 0.6008 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.709e-05/0.1766, allocations: 0 / 0.6008 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.644e-05/0.1766, allocations: 7.438 kB / 0.6008 GB, free: 2.418 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.1766, allocations: 0 / 0.6008 GB, free: 2.418 MB / 0.4981 GB Notification: Performance of Templates: time 0.003012/0.1796, allocations: 464.8 kB / 0.6013 GB, free: 2 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1)