Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe") translateModel(IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_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.001319/0.001319, allocations: 92.16 kB / 15.71 MB, free: 452 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.001848/0.001848, allocations: 176.7 kB / 16.58 MB, free: 6.859 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.534/1.534, allocations: 223.3 MB / 240.6 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7914/0.7914, allocations: 115.5 MB / 407.2 MB, free: 2.852 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003794/0.0003796, allocations: 8 kB / 495.2 MB, free: 6.719 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.167/0.1674, allocations: 77.53 MB / 0.5593 GB, free: 9.398 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe): time 0.4213/0.5888, allocations: 106.3 MB / 0.6632 GB, free: 12.56 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.03695/0.6258, allocations: 24.9 MB / 0.6875 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005269/0.6311, allocations: 103.4 kB / 0.6876 GB, free: 3.676 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003485/0.6346, allocations: 0.78 MB / 0.6883 GB, free: 2.891 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.009414/0.6441, allocations: 2.736 MB / 0.691 GB, free: 148 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006675/0.6508, allocations: 1.675 MB / 0.6927 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.01145/0.6622, allocations: 7.009 MB / 0.6995 GB, free: 7.453 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005399/0.6677, allocations: 1.414 MB / 0.7009 GB, free: 6.02 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007651/0.6754, allocations: 2.131 MB / 0.703 GB, free: 3.879 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004878/0.6803, allocations: 1.61 MB / 0.7045 GB, free: 2.262 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.001242/0.6816, allocations: 92 kB / 0.7046 GB, free: 2.172 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006329/0.688, allocations: 1.567 MB / 0.7062 GB, free: 0.6016 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001205/0.6892, allocations: 386.2 kB / 0.7065 GB, free: 228 kB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001693/0.6909, allocations: 496.6 kB / 0.707 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.006044/0.697, allocations: 2.868 MB / 0.7098 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.213e-06/0.697, allocations: 0 / 0.7098 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.114e-06/0.697, allocations: 0 / 0.7098 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0001363/0.6972, allocations: 0 / 0.7098 GB, free: 12.86 MB / 0.5294 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.006581/0.7038, allocations: 2.433 MB / 0.7122 GB, free: 10.37 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.952e-05/0.7038, allocations: 16.02 kB / 0.7122 GB, free: 10.35 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001125/0.705, allocations: 257.1 kB / 0.7124 GB, free: 10.1 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005042/0.71, allocations: 2.038 MB / 0.7144 GB, free: 8.008 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001043/0.7101, allocations: 102.7 kB / 0.7145 GB, free: 7.906 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003556/0.7105, allocations: 136 kB / 0.7147 GB, free: 7.773 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003436/0.714, allocations: 1.438 MB / 0.7161 GB, free: 6.258 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.347e-05/0.714, allocations: 15.89 kB / 0.7161 GB, free: 6.242 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001434/0.7142, allocations: 59.98 kB / 0.7161 GB, free: 6.184 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.375e-05/0.7142, allocations: 32 kB / 0.7162 GB, free: 6.152 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002203/0.7165, allocations: 1.025 MB / 0.7172 GB, free: 5.121 MB / 0.5294 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.01175/0.7282, allocations: 8.144 MB / 0.7251 GB, free: 12.27 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001577/0.7298, allocations: 0.8367 MB / 0.7259 GB, free: 11.41 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006592/0.7305, allocations: 376.7 kB / 0.7263 GB, free: 11.04 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002745/0.7333, allocations: 2.807 MB / 0.729 GB, free: 7.605 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.675e-05/0.7334, allocations: 43.22 kB / 0.7291 GB, free: 7.555 MB / 0.545 GB Notification: Performance of pre-optimization done (n=85): time 4.388e-06/0.7334, allocations: 0 / 0.7291 GB, free: 7.555 MB / 0.545 GB Notification: Performance of matching and sorting (n=85): time 0.002962/0.7363, allocations: 1.132 MB / 0.7302 GB, free: 6.418 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.574e-05/0.7364, allocations: 64 kB / 0.7302 GB, free: 6.344 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002795/0.7392, allocations: 1.59 MB / 0.7318 GB, free: 4.711 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001033/0.7394, allocations: 41.7 kB / 0.7318 GB, free: 4.664 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009434/0.7403, allocations: 0.9315 MB / 0.7327 GB, free: 3.723 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004221/0.7407, allocations: 303.6 kB / 0.733 GB, free: 3.422 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.021e-05/0.7408, allocations: 24 kB / 0.7331 GB, free: 3.398 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002158/0.741, allocations: 353.9 kB / 0.7334 GB, free: 3.047 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006967/0.7417, allocations: 318.4 kB / 0.7337 GB, free: 2.738 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009991/0.7427, allocations: 0.7032 MB / 0.7344 GB, free: 1.855 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007922/0.7435, allocations: 438.8 kB / 0.7348 GB, free: 1.43 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.033e-05/0.7436, allocations: 8 kB / 0.7348 GB, free: 1.422 MB / 0.545 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002444/0.746, allocations: 1.249 MB / 0.736 GB, free: 168 kB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004024/0.7464, allocations: 445.3 kB / 0.7364 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.14e-05/0.7465, allocations: 16.77 kB / 0.7365 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.448e-05/0.7465, allocations: 20 kB / 0.7365 GB, free: 15.53 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008161/0.7473, allocations: 263.5 kB / 0.7367 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.39e-05/0.7474, allocations: 27.92 kB / 0.7368 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001455/0.7489, allocations: 190 kB / 0.7369 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001536/0.749, allocations: 67.97 kB / 0.737 GB, free: 15 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.09e-05/0.749, allocations: 4 kB / 0.737 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001904/0.751, allocations: 1.058 MB / 0.738 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.424e-05/0.751, allocations: 16 kB / 0.7381 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.256e-05/0.751, allocations: 20 kB / 0.7381 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007717/0.7518, allocations: 259.6 kB / 0.7383 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.566e-05/0.7518, allocations: 24 kB / 0.7384 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001471/0.7533, allocations: 166.9 kB / 0.7385 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001424/0.7535, allocations: 67.97 kB / 0.7386 GB, free: 13.39 MB / 0.5606 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009611/0.7544, allocations: 476.6 kB / 0.739 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005202/0.755, allocations: 193.7 kB / 0.7392 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003554/0.7585, allocations: 1.743 MB / 0.7409 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.136e-05/0.7586, allocations: 23.92 kB / 0.7409 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.083e-05/0.7586, allocations: 0 / 0.7409 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001727/0.7603, allocations: 1.146 MB / 0.7421 GB, free: 9.781 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007031/0.7674, allocations: 3.475 MB / 0.7455 GB, free: 6.141 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.175e-05/0.7675, allocations: 12 kB / 0.7455 GB, free: 6.129 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007219/0.7682, allocations: 211.7 kB / 0.7457 GB, free: 5.922 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.534e-05/0.7682, allocations: 12 kB / 0.7457 GB, free: 5.91 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.686e-05/0.7683, allocations: 39.98 kB / 0.7457 GB, free: 5.871 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.457e-05/0.7684, allocations: 27.88 kB / 0.7457 GB, free: 5.844 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.546e-06/0.7684, allocations: 7.938 kB / 0.7457 GB, free: 5.836 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003505/0.7719, allocations: 2.226 MB / 0.7479 GB, free: 3.508 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00111/0.773, allocations: 477.9 kB / 0.7484 GB, free: 3.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004627/0.7735, allocations: 28 kB / 0.7484 GB, free: 2.992 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001324/0.7748, allocations: 99.83 kB / 0.7485 GB, free: 2.895 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000208/0.775, allocations: 124.6 kB / 0.7486 GB, free: 2.773 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001385/0.7752, allocations: 59.97 kB / 0.7487 GB, free: 2.715 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001995/0.7772, allocations: 1.06 MB / 0.7497 GB, free: 1.633 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7772, allocations: 0 / 0.7497 GB, free: 1.633 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003883/0.7811, allocations: 1.115 MB / 0.7508 GB, free: 0.5156 MB / 0.5606 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002041/0.7831, allocations: 0.7541 MB / 0.7515 GB, free: 15.76 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.004284/0.7874, allocations: 1.8 MB / 0.7533 GB, free: 13.92 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.314e-06/0.7875, allocations: 0 / 0.7533 GB, free: 13.92 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001341/0.7888, allocations: 0.8237 MB / 0.7541 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004841/0.7937, allocations: 0.9259 MB / 0.755 GB, free: 12.15 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00743/0.8011, allocations: 4.403 MB / 0.7593 GB, free: 7.633 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001353/0.8025, allocations: 1.44 MB / 0.7607 GB, free: 6.16 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.002381/0.8049, allocations: 0.538 MB / 0.7612 GB, free: 5.621 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000524/0.8054, allocations: 183.3 kB / 0.7614 GB, free: 5.441 MB / 0.5762 GB Notification: Performance of SimCode: time 1.723e-06/0.8054, allocations: 0 / 0.7614 GB, free: 5.441 MB / 0.5762 GB Notification: Performance of Templates: time 0.07373/0.8792, allocations: 39.86 MB / 0.8003 GB, free: 14.09 MB / 0.6231 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe.makefile (rm -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe.sim & ./IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe 2>&1)