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.001106/0.001106, allocations: 116.1 kB / 16.42 MB, free: 6.496 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.001132/0.001132, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.258/1.258, allocations: 222.9 MB / 241 MB, free: 15.16 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.8236/0.8236, allocations: 143.1 MB / 434.3 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001182/0.001182, allocations: 67.45 kB / 0.5962 GB, free: 12.4 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1347/0.1358, allocations: 82.03 MB / 0.6763 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.CheckValve): time 0.02086/0.1567, allocations: 20.76 MB / 0.6966 GB, free: 5.625 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.006582/0.1634, allocations: 4.947 MB / 0.7014 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006603/0.164, allocations: 19.88 kB / 0.7014 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.000779/0.1648, allocations: 282 kB / 0.7017 GB, free: 376 kB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.002021/0.1669, allocations: 0.8552 MB / 0.7025 GB, free: 15.5 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001728/0.1687, allocations: 0.7189 MB / 0.7032 GB, free: 14.79 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001617/0.1703, allocations: 1.38 MB / 0.7046 GB, free: 13.41 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006446/0.1709, allocations: 440.2 kB / 0.705 GB, free: 12.98 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009736/0.1719, allocations: 0.5837 MB / 0.7056 GB, free: 12.39 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006759/0.1726, allocations: 454 kB / 0.706 GB, free: 11.95 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001013/0.1727, allocations: 36 kB / 0.706 GB, free: 11.91 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001124/0.1739, allocations: 0.6316 MB / 0.7066 GB, free: 11.28 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001474/0.174, allocations: 123.6 kB / 0.7068 GB, free: 11.16 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003168/0.1743, allocations: 286.5 kB / 0.707 GB, free: 10.88 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001143/0.1755, allocations: 0.8762 MB / 0.7079 GB, free: 9.996 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.1755, allocations: 7.984 kB / 0.7079 GB, free: 9.988 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.483e-06/0.1755, allocations: 0 / 0.7079 GB, free: 9.988 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.652e-05/0.1755, allocations: 0 / 0.7079 GB, free: 9.988 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.001556/0.1771, allocations: 0.9252 MB / 0.7088 GB, free: 9.016 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.1772, allocations: 8.031 kB / 0.7088 GB, free: 9.008 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001337/0.1773, allocations: 64.19 kB / 0.7089 GB, free: 8.945 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007014/0.178, allocations: 475.4 kB / 0.7093 GB, free: 8.438 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.887e-05/0.178, allocations: 28.66 kB / 0.7094 GB, free: 8.41 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.494e-05/0.1781, allocations: 32 kB / 0.7094 GB, free: 8.379 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006565/0.1788, allocations: 314 kB / 0.7097 GB, free: 8.066 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.1788, allocations: 0 / 0.7097 GB, free: 8.066 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.923e-05/0.1788, allocations: 8 kB / 0.7097 GB, free: 8.059 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.203e-05/0.1788, allocations: 8 kB / 0.7097 GB, free: 8.051 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006276/0.1795, allocations: 262.4 kB / 0.7099 GB, free: 7.793 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.002107/0.1816, allocations: 1.352 MB / 0.7113 GB, free: 6.32 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004965/0.1821, allocations: 255.3 kB / 0.7115 GB, free: 6.062 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002925/0.1824, allocations: 137.7 kB / 0.7116 GB, free: 5.926 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003548/0.1828, allocations: 0.4947 MB / 0.7121 GB, free: 5.32 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.665e-05/0.1828, allocations: 30.56 kB / 0.7122 GB, free: 5.281 MB / 0.545 GB Notification: Performance of pre-optimization done (n=25): time 1.613e-06/0.1828, allocations: 4 kB / 0.7122 GB, free: 5.277 MB / 0.545 GB Notification: Performance of matching and sorting (n=25): time 0.001727/0.1846, allocations: 0.5633 MB / 0.7127 GB, free: 4.688 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.546e-05/0.1846, allocations: 51.41 kB / 0.7128 GB, free: 4.625 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000471/0.1851, allocations: 462.2 kB / 0.7132 GB, free: 4.164 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.174e-05/0.1851, allocations: 37.64 kB / 0.7132 GB, free: 4.121 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001644/0.1853, allocations: 252.4 kB / 0.7135 GB, free: 3.867 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.21e-05/0.1854, allocations: 86.75 kB / 0.7136 GB, free: 3.781 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001101/0.1855, allocations: 69.69 kB / 0.7136 GB, free: 3.707 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001205/0.1856, allocations: 358.8 kB / 0.714 GB, free: 3.348 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003081/0.1859, allocations: 124.8 kB / 0.7141 GB, free: 3.223 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003607/0.1863, allocations: 181.3 kB / 0.7143 GB, free: 3.027 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006207/0.1869, allocations: 263.8 kB / 0.7145 GB, free: 2.762 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.1869, allocations: 4 kB / 0.7145 GB, free: 2.758 MB / 0.545 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.00156/0.1885, allocations: 498 kB / 0.715 GB, free: 2.262 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.1885, allocations: 4 kB / 0.715 GB, free: 2.258 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.1885, allocations: 0 / 0.715 GB, free: 2.258 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003366/0.1889, allocations: 64.73 kB / 0.7151 GB, free: 2.191 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003468/0.1892, allocations: 67.88 kB / 0.7151 GB, free: 2.125 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003932/0.1896, allocations: 0.564 MB / 0.7157 GB, free: 1.535 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004174/0.1901, allocations: 55.61 kB / 0.7157 GB, free: 1.48 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.79e-05/0.1901, allocations: 12 kB / 0.7157 GB, free: 1.469 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004131/0.1905, allocations: 247.8 kB / 0.716 GB, free: 1.223 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003519/0.1909, allocations: 178 kB / 0.7161 GB, free: 1.031 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005677/0.1915, allocations: 256.3 kB / 0.7164 GB, free: 0.7734 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.146e-06/0.1915, allocations: 4.156 kB / 0.7164 GB, free: 0.7695 MB / 0.545 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.0007861/0.1923, allocations: 370.1 kB / 0.7167 GB, free: 412 kB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.646e-06/0.1923, allocations: 4 kB / 0.7167 GB, free: 408 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.386e-06/0.1923, allocations: 3.984 kB / 0.7167 GB, free: 404 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.839e-06/0.1923, allocations: 4 kB / 0.7168 GB, free: 400 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003855/0.1927, allocations: 83.88 kB / 0.7168 GB, free: 316 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.1927, allocations: 3.938 kB / 0.7168 GB, free: 312 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004156/0.1931, allocations: 51.7 kB / 0.7169 GB, free: 260 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.172e-05/0.1932, allocations: 12 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.0001239/0.1933, allocations: 204.1 kB / 0.7171 GB, free: 36 kB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.667e-05/0.1934, allocations: 43.48 kB / 0.7171 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009074/0.1943, allocations: 435.8 kB / 0.7175 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.1943, allocations: 4 kB / 0.7176 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.1943, allocations: 0 / 0.7176 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00016/0.1945, allocations: 152.5 kB / 0.7177 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.248e-05/0.1946, allocations: 8 kB / 0.7177 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003289/0.1949, allocations: 23.97 kB / 0.7177 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.623e-05/0.195, allocations: 20.2 kB / 0.7177 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001004/0.196, allocations: 450.2 kB / 0.7182 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001071/0.1971, allocations: 0.6858 MB / 0.7188 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003003/0.1974, allocations: 132.7 kB / 0.719 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003152/0.1977, allocations: 326.9 kB / 0.7193 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of Backend: time 4.91e-07/0.1977, allocations: 0 / 0.7193 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001693/0.1994, allocations: 0.6125 MB / 0.7199 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of SimCode: time 0.001798/0.2012, allocations: 1.376 MB / 0.7212 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of Templates: time 0.01826/0.2195, allocations: 11.72 MB / 0.7327 GB, free: 128 kB / 0.5606 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)