Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe.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.PlugFlowPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe") translateModel(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006273/0.006273, allocations: 101.2 kB / 15.73 MB, free: 6.047 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.001428/0.001428, allocations: 195.8 kB / 16.67 MB, free: 5.977 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.323/1.323, allocations: 222.9 MB / 240.4 MB, free: 4.328 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.9182/0.9182, allocations: 143 MB / 433.6 MB, free: 11.46 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001146/0.001146, allocations: 63.91 kB / 0.5955 GB, free: 8.398 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3944/0.3956, allocations: 82.03 MB / 0.6756 GB, free: 1.543 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe): time 0.1089/0.5046, allocations: 115.2 MB / 0.7881 GB, free: 2.945 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.03464/0.5393, allocations: 26.61 MB / 0.8141 GB, free: 8.27 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004989/0.5443, allocations: 107.4 kB / 0.8142 GB, free: 8.164 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.003637/0.548, allocations: 1.153 MB / 0.8153 GB, free: 7.004 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.009926/0.558, allocations: 3.42 MB / 0.8186 GB, free: 3.566 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.007992/0.566, allocations: 2.347 MB / 0.8209 GB, free: 1.227 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.009795/0.5758, allocations: 6.203 MB / 0.827 GB, free: 11.01 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003919/0.5797, allocations: 1.917 MB / 0.8289 GB, free: 9.062 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006424/0.5862, allocations: 2.697 MB / 0.8315 GB, free: 6.363 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00353/0.5897, allocations: 1.77 MB / 0.8332 GB, free: 4.586 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0008774/0.5906, allocations: 220 kB / 0.8334 GB, free: 4.371 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005611/0.5963, allocations: 2.347 MB / 0.8357 GB, free: 2.02 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.001022/0.5973, allocations: 0.5371 MB / 0.8363 GB, free: 1.48 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.002782/0.6001, allocations: 1.287 MB / 0.8375 GB, free: 192 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.00879/0.6089, allocations: 4.275 MB / 0.8417 GB, free: 11.9 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 7.525e-06/0.6089, allocations: 0 / 0.8417 GB, free: 11.9 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.254e-06/0.609, allocations: 0 / 0.8417 GB, free: 11.9 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.000144/0.6091, allocations: 4 kB / 0.8417 GB, free: 11.9 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 343 * Number of variables: 343 Notification: Performance of Generate backend data structure: time 0.007133/0.6162, allocations: 2.837 MB / 0.8445 GB, free: 9 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.6163, allocations: 12.03 kB / 0.8445 GB, free: 8.988 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009264/0.6172, allocations: 257.1 kB / 0.8447 GB, free: 8.734 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004828/0.6221, allocations: 2.154 MB / 0.8468 GB, free: 6.531 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.226e-05/0.6222, allocations: 106.7 kB / 0.8469 GB, free: 6.426 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002955/0.6225, allocations: 140 kB / 0.8471 GB, free: 6.289 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002807/0.6253, allocations: 1.454 MB / 0.8485 GB, free: 4.758 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.309e-05/0.6254, allocations: 3.906 kB / 0.8485 GB, free: 4.754 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001399/0.6255, allocations: 56 kB / 0.8485 GB, free: 4.699 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.691e-05/0.6256, allocations: 32 kB / 0.8486 GB, free: 4.668 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002082/0.6277, allocations: 1.029 MB / 0.8496 GB, free: 3.633 MB / 0.67 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.01087/0.6385, allocations: 8.152 MB / 0.8575 GB, free: 10.78 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001595/0.6402, allocations: 0.8372 MB / 0.8583 GB, free: 9.91 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006053/0.6408, allocations: 372.7 kB / 0.8587 GB, free: 9.543 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002672/0.6435, allocations: 2.811 MB / 0.8614 GB, free: 6.105 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.704e-05/0.6436, allocations: 43.98 kB / 0.8615 GB, free: 6.055 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=85): time 3.807e-06/0.6436, allocations: 3.938 kB / 0.8615 GB, free: 6.051 MB / 0.6856 GB Notification: Performance of matching and sorting (n=85): time 0.002501/0.6461, allocations: 1.121 MB / 0.8626 GB, free: 4.926 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.888e-05/0.6461, allocations: 68 kB / 0.8627 GB, free: 4.848 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002595/0.6487, allocations: 1.621 MB / 0.8642 GB, free: 3.184 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.000103/0.6488, allocations: 41.7 kB / 0.8643 GB, free: 3.137 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007781/0.6496, allocations: 0.9277 MB / 0.8652 GB, free: 2.199 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003233/0.65, allocations: 315.5 kB / 0.8655 GB, free: 1.887 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003362/0.6503, allocations: 226.7 kB / 0.8657 GB, free: 1.656 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001383/0.6505, allocations: 349.9 kB / 0.866 GB, free: 1.309 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005973/0.6511, allocations: 333.9 kB / 0.8664 GB, free: 0.9805 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008899/0.652, allocations: 0.7111 MB / 0.867 GB, free: 100 kB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3356/0.9876, allocations: 1.078 MB / 0.8681 GB, free: 179.4 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.14e-05/0.9876, allocations: 3.469 kB / 0.8681 GB, free: 179.4 MB / 0.6856 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002567/0.9902, allocations: 1.25 MB / 0.8693 GB, free: 179.3 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.676e-05/0.9903, allocations: 10.06 kB / 0.8693 GB, free: 179.3 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.701e-05/0.9903, allocations: 16.25 kB / 0.8693 GB, free: 179.3 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.673e-05/0.9903, allocations: 17.98 kB / 0.8694 GB, free: 179.3 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008221/0.9912, allocations: 264.9 kB / 0.8696 GB, free: 179.3 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.927e-05/0.9912, allocations: 28.14 kB / 0.8696 GB, free: 179.3 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001105/0.9923, allocations: 130.5 kB / 0.8698 GB, free: 179.3 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001159/0.9924, allocations: 64 kB / 0.8698 GB, free: 179.3 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001096/0.9935, allocations: 0.6206 MB / 0.8704 GB, free: 179 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007596/0.9943, allocations: 0.7031 MB / 0.8711 GB, free: 178.4 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001387/0.9957, allocations: 1.085 MB / 0.8722 GB, free: 177.6 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.025e-06/0.9957, allocations: 3.25 kB / 0.8722 GB, free: 177.6 MB / 0.6856 GB Notification: Performance of matching and sorting (n=144) (initialization_lambda0): time 0.002469/0.9982, allocations: 1.24 MB / 0.8734 GB, free: 177.2 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.128e-05/0.9982, allocations: 11.09 kB / 0.8734 GB, free: 177.2 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.762e-05/0.9983, allocations: 21.52 kB / 0.8734 GB, free: 177.2 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.569e-05/0.9983, allocations: 18.31 kB / 0.8734 GB, free: 177.2 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008773/0.9992, allocations: 256.9 kB / 0.8737 GB, free: 177.2 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.03e-05/0.9992, allocations: 28.58 kB / 0.8737 GB, free: 177.2 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001033/1, allocations: 103.6 kB / 0.8738 GB, free: 177.2 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001237/1, allocations: 67.33 kB / 0.8739 GB, free: 177.2 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (140): * Single equations (assignments): 136 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003409/1.001, allocations: 253 kB / 0.8741 GB, free: 176.9 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000306/1.001, allocations: 188.3 kB / 0.8743 GB, free: 176.9 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003506/1.005, allocations: 1.747 MB / 0.876 GB, free: 176.3 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.737e-05/1.005, allocations: 21.91 kB / 0.876 GB, free: 176.3 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/1.005, allocations: 0.5625 kB / 0.876 GB, free: 176.3 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002042/1.007, allocations: 1.143 MB / 0.8771 GB, free: 175.7 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00489/1.012, allocations: 3.499 MB / 0.8806 GB, free: 174 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.363e-05/1.012, allocations: 10.88 kB / 0.8806 GB, free: 174 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006642/1.012, allocations: 204.5 kB / 0.8808 GB, free: 174 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.522e-05/1.012, allocations: 13.31 kB / 0.8808 GB, free: 174 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.666e-05/1.012, allocations: 39.5 kB / 0.8808 GB, free: 174 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.448e-05/1.012, allocations: 14.72 kB / 0.8808 GB, free: 174 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.614e-06/1.012, allocations: 11.16 kB / 0.8808 GB, free: 174 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002762/1.015, allocations: 2.237 MB / 0.883 GB, free: 172.8 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006216/1.016, allocations: 439.7 kB / 0.8834 GB, free: 172.5 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002196/1.016, allocations: 35.94 kB / 0.8835 GB, free: 172.5 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007712/1.017, allocations: 55.48 kB / 0.8835 GB, free: 172.5 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001646/1.017, allocations: 113.9 kB / 0.8836 GB, free: 172.5 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.43e-05/1.017, allocations: 63.66 kB / 0.8837 GB, free: 172.5 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001394/1.019, allocations: 1.084 MB / 0.8848 GB, free: 172 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.6e-07/1.019, allocations: 0 / 0.8848 GB, free: 172 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.002832/1.021, allocations: 1.129 MB / 0.8859 GB, free: 171.8 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 6 (pip.del.x,pip.timDel.x,pip.vol_b.dynBal.U,pip.vol_a.dynBal.U,pipNoMix.del.x,pipNoMix.timDel.x) * 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 (129): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 27 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001278/1.023, allocations: 0.822 MB / 0.8867 GB, free: 171.7 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.00269/1.025, allocations: 1.814 MB / 0.8884 GB, free: 170.9 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 6.552e-06/1.025, allocations: 3.344 kB / 0.8884 GB, free: 170.9 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0009543/1.026, allocations: 0.8224 MB / 0.8892 GB, free: 170.4 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003455/1.03, allocations: 0.9574 MB / 0.8902 GB, free: 170 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003994/1.034, allocations: 3.571 MB / 0.8937 GB, free: 167.8 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006117/1.034, allocations: 1.437 MB / 0.8951 GB, free: 166.7 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001395/1.036, allocations: 0.5473 MB / 0.8956 GB, free: 166.5 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003072/1.036, allocations: 189.4 kB / 0.8958 GB, free: 166.4 MB / 0.6856 GB Notification: Performance of SimCode: time 9.42e-07/1.036, allocations: 0 / 0.8958 GB, free: 166.4 MB / 0.6856 GB Notification: Performance of Templates: time 0.05329/1.089, allocations: 44.69 MB / 0.9394 GB, free: 123.9 MB / 0.6856 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe 2>&1)