Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.CheckValve.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.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.CheckValve") translateModel(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.CheckValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001163/0.001163, allocations: 105.1 kB / 16.41 MB, free: 6.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001149/0.001149, allocations: 189.7 kB / 17.35 MB, free: 5.695 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.188/1.188, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.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.7771/0.7771, allocations: 143.1 MB / 434.3 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001132/0.001132, allocations: 56.53 kB / 0.5962 GB, free: 12.41 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1204/0.1216, allocations: 82.04 MB / 0.6763 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.CheckValve): time 0.01781/0.1394, allocations: 20.75 MB / 0.6966 GB, free: 5.629 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.005912/0.1453, allocations: 4.951 MB / 0.7014 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004428/0.1458, allocations: 15.88 kB / 0.7014 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0006599/0.1465, allocations: 286 kB / 0.7017 GB, free: 376 kB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001687/0.1482, allocations: 0.8506 MB / 0.7025 GB, free: 15.51 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001589/0.1498, allocations: 0.7228 MB / 0.7032 GB, free: 14.8 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001392/0.1512, allocations: 1.376 MB / 0.7046 GB, free: 13.41 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005297/0.1518, allocations: 440.2 kB / 0.705 GB, free: 12.98 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008464/0.1526, allocations: 0.5798 MB / 0.7055 GB, free: 12.4 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005324/0.1532, allocations: 454.1 kB / 0.706 GB, free: 11.96 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.624e-05/0.1533, allocations: 36 kB / 0.706 GB, free: 11.92 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001026/0.1543, allocations: 0.6355 MB / 0.7066 GB, free: 11.29 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001194/0.1544, allocations: 123.5 kB / 0.7068 GB, free: 11.16 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.000234/0.1547, allocations: 286.5 kB / 0.707 GB, free: 10.88 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0009617/0.1556, allocations: 0.8801 MB / 0.7079 GB, free: 10 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.1556, allocations: 0 / 0.7079 GB, free: 10 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.483e-06/0.1557, allocations: 0 / 0.7079 GB, free: 10 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.037e-06/0.1557, allocations: 0 / 0.7079 GB, free: 10 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.001382/0.1571, allocations: 0.9265 MB / 0.7088 GB, free: 9.023 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.395e-05/0.1571, allocations: 12.03 kB / 0.7088 GB, free: 9.012 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001117/0.1572, allocations: 68.19 kB / 0.7089 GB, free: 8.945 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006136/0.1578, allocations: 475.4 kB / 0.7093 GB, free: 8.438 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.441e-05/0.1579, allocations: 28.66 kB / 0.7093 GB, free: 8.41 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.081e-05/0.1579, allocations: 36 kB / 0.7094 GB, free: 8.375 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005853/0.1585, allocations: 302 kB / 0.7097 GB, free: 8.074 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/0.1585, allocations: 0 / 0.7097 GB, free: 8.074 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.953e-05/0.1586, allocations: 12 kB / 0.7097 GB, free: 8.062 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.149e-05/0.1586, allocations: 8 kB / 0.7097 GB, free: 8.055 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005797/0.1592, allocations: 270.4 kB / 0.7099 GB, free: 7.789 MB / 0.545 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001871/0.1611, allocations: 1.345 MB / 0.7113 GB, free: 6.324 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004668/0.1615, allocations: 255.1 kB / 0.7115 GB, free: 6.066 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002728/0.1618, allocations: 136.8 kB / 0.7116 GB, free: 5.93 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003435/0.1622, allocations: 0.4948 MB / 0.7121 GB, free: 5.324 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.379e-05/0.1622, allocations: 34.56 kB / 0.7121 GB, free: 5.281 MB / 0.545 GB Notification: Performance of pre-optimization done (n=25): time 1.493e-06/0.1622, allocations: 0 / 0.7121 GB, free: 5.281 MB / 0.545 GB Notification: Performance of matching and sorting (n=25): time 0.0016/0.1638, allocations: 0.5604 MB / 0.7127 GB, free: 4.695 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.056e-05/0.1638, allocations: 59.41 kB / 0.7128 GB, free: 4.625 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004442/0.1643, allocations: 466.2 kB / 0.7132 GB, free: 4.16 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.184e-05/0.1643, allocations: 33.7 kB / 0.7132 GB, free: 4.121 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001503/0.1645, allocations: 248.4 kB / 0.7135 GB, free: 3.871 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.568e-05/0.1646, allocations: 82.77 kB / 0.7135 GB, free: 3.789 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001067/0.1647, allocations: 73.67 kB / 0.7136 GB, free: 3.711 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001131/0.1648, allocations: 358.8 kB / 0.714 GB, free: 3.352 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002859/0.1651, allocations: 120.8 kB / 0.7141 GB, free: 3.23 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003361/0.1654, allocations: 177 kB / 0.7142 GB, free: 3.039 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005669/0.166, allocations: 280.4 kB / 0.7145 GB, free: 2.758 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.166, allocations: 4 kB / 0.7145 GB, free: 2.754 MB / 0.545 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001439/0.1675, allocations: 496.1 kB / 0.715 GB, free: 2.262 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.1675, allocations: 8 kB / 0.715 GB, free: 2.254 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.1675, allocations: 0 / 0.715 GB, free: 2.254 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003181/0.1678, allocations: 60.75 kB / 0.7151 GB, free: 2.191 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003292/0.1682, allocations: 63.95 kB / 0.7151 GB, free: 2.129 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000376/0.1685, allocations: 0.5678 MB / 0.7157 GB, free: 1.535 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003761/0.1689, allocations: 47.64 kB / 0.7157 GB, free: 1.488 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.871e-05/0.169, allocations: 24.05 kB / 0.7157 GB, free: 1.465 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003752/0.1694, allocations: 243.7 kB / 0.716 GB, free: 1.223 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003129/0.1697, allocations: 174 kB / 0.7161 GB, free: 1.035 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005317/0.1702, allocations: 267.8 kB / 0.7164 GB, free: 0.7656 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.373e-06/0.1702, allocations: 0 / 0.7164 GB, free: 0.7656 MB / 0.545 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.0007096/0.1709, allocations: 360.8 kB / 0.7167 GB, free: 416 kB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.002e-05/0.171, allocations: 11.98 kB / 0.7167 GB, free: 404 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.904e-06/0.171, allocations: 4 kB / 0.7167 GB, free: 400 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.448e-06/0.171, allocations: 4 kB / 0.7168 GB, free: 396 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003639/0.1713, allocations: 79.83 kB / 0.7168 GB, free: 316 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.908e-06/0.1714, allocations: 4 kB / 0.7168 GB, free: 312 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003716/0.1717, allocations: 43.7 kB / 0.7169 GB, free: 268 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.113e-05/0.1718, allocations: 19.98 kB / 0.7169 GB, free: 248 kB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0001102/0.1719, allocations: 200.1 kB / 0.7171 GB, free: 40 kB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.727e-05/0.172, allocations: 47.61 kB / 0.7171 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008726/0.1729, allocations: 431.9 kB / 0.7175 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.057e-06/0.1729, allocations: 4 kB / 0.7175 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.1729, allocations: 0 / 0.7175 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.1729, allocations: 7.922 kB / 0.7176 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00136/0.1743, allocations: 0.9373 MB / 0.7185 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.601e-06/0.1743, allocations: 4 kB / 0.7185 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002186/0.1745, allocations: 47.89 kB / 0.7185 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001627/0.1747, allocations: 48.95 kB / 0.7186 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.268e-05/0.1747, allocations: 8 kB / 0.7186 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003337/0.1751, allocations: 0.5524 MB / 0.7191 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.45e-06/0.1751, allocations: 11.91 kB / 0.7191 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007814/0.1759, allocations: 495.1 kB / 0.7196 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000151/0.176, allocations: 152.4 kB / 0.7197 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.936e-05/0.1761, allocations: 12 kB / 0.7198 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003205/0.1764, allocations: 27.97 kB / 0.7198 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.653e-05/0.1765, allocations: 31.7 kB / 0.7198 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.422e-05/0.1765, allocations: 11.98 kB / 0.7198 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003126/0.1768, allocations: 322.9 kB / 0.7201 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1768, allocations: 0 / 0.7201 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0006759/0.1775, allocations: 255.5 kB / 0.7204 GB, free: 12.5 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (25): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000492/0.178, allocations: 262.6 kB / 0.7206 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001092/0.1791, allocations: 467.5 kB / 0.7211 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.1791, allocations: 0 / 0.7211 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000373/0.1795, allocations: 168.8 kB / 0.7212 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001004/0.1805, allocations: 225.4 kB / 0.7214 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001267/0.1818, allocations: 0.8623 MB / 0.7223 GB, free: 10.51 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003295/0.1821, allocations: 0.8549 MB / 0.7231 GB, free: 9.625 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001098/0.1823, allocations: 43.42 kB / 0.7232 GB, free: 9.582 MB / 0.5606 GB Notification: Performance of SimCode: time 4.41e-07/0.1823, allocations: 0 / 0.7232 GB, free: 9.582 MB / 0.5606 GB Notification: Performance of Templates: time 0.01159/0.1939, allocations: 10.28 MB / 0.7332 GB, free: 15.38 MB / 0.5762 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.CheckValve.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.CheckValve.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.CheckValve.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.CheckValve.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.CheckValve.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.CheckValve -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.CheckValve.pipe 2>&1)