Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001543/0.001543, allocations: 107.8 kB / 19.71 MB, free: 2.145 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001707/0.001707, allocations: 212 kB / 23 MB, free: 4.969 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.658/1.658, allocations: 230.6 MB / 256.8 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.491/3.491, allocations: 0.49 GB / 0.7959 GB, free: 35.45 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senTemIn.T|senTemOut.T|bou.1..T|pip.QEnv_flow|pip.dp|pip.v|pip.m_flow_nominal|pip.m_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized") translateModel(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senTemIn.T|senTemOut.T|bou.1..T|pip.QEnv_flow|pip.dp|pip.v|pip.m_flow_nominal|pip.m_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002914/0.002914, allocations: 72.22 kB / 1.155 GB, free: 25.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5051/0.508, allocations: 176.1 MB / 1.327 GB, free: 0.9492 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized): time 0.08671/0.5947, allocations: 61.6 MB / 1.387 GB, free: 3.145 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.02968/0.6244, allocations: 15.6 MB / 1.402 GB, free: 3.512 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003471/0.6278, allocations: 91.25 kB / 1.403 GB, free: 3.422 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.002726/0.6306, allocations: 0.8113 MB / 1.403 GB, free: 2.605 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.009107/0.6397, allocations: 2.714 MB / 1.406 GB, free: 15.88 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.006198/0.6459, allocations: 1.878 MB / 1.408 GB, free: 14.01 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.04996/0.6958, allocations: 36.5 MB / 1.443 GB, free: 9.418 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.019/0.7148, allocations: 10.07 MB / 1.453 GB, free: 15.21 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02856/0.7434, allocations: 12.41 MB / 1.465 GB, free: 2.828 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02145/0.7648, allocations: 9.964 MB / 1.475 GB, free: 8.824 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.005441/0.7703, allocations: 1.445 MB / 1.477 GB, free: 7.379 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01317/0.7835, allocations: 2.744 MB / 1.479 GB, free: 4.633 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.007695/0.7912, allocations: 3.406 MB / 1.483 GB, free: 1.215 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0173/0.8085, allocations: 5.848 MB / 1.488 GB, free: 11.34 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.0363/0.8448, allocations: 22.06 MB / 1.51 GB, free: 5.219 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 1.236e-05/0.8448, allocations: 0 / 1.51 GB, free: 5.219 MB / 1.201 GB Notification: Performance of FrontEnd: time 3.096e-06/0.8448, allocations: 0 / 1.51 GB, free: 5.219 MB / 1.201 GB Notification: Performance of Transformations before backend: time 0.0008064/0.8456, allocations: 0 / 1.51 GB, free: 5.219 MB / 1.201 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1830 * Number of variables: 1830 Notification: Performance of Generate backend data structure: time 0.04854/0.8941, allocations: 13.35 MB / 1.523 GB, free: 7.766 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 6.214e-05/0.8942, allocations: 12.03 kB / 1.523 GB, free: 7.754 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01047/0.9046, allocations: 1.563 MB / 1.524 GB, free: 6.184 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0373/0.9419, allocations: 13.19 MB / 1.537 GB, free: 8.871 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007823/0.9427, allocations: 0.5294 MB / 1.538 GB, free: 8.34 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004192/0.9469, allocations: 0.7147 MB / 1.538 GB, free: 7.625 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03639/0.9833, allocations: 12.73 MB / 1.551 GB, free: 10.24 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004827/0.9838, allocations: 39.77 kB / 1.551 GB, free: 10.2 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00298/0.9868, allocations: 300 kB / 1.551 GB, free: 9.906 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003117/0.9871, allocations: 219.9 kB / 1.551 GB, free: 9.691 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02441/1.011, allocations: 9.229 MB / 1.56 GB, free: 456 kB / 1.248 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.08836/1.1, allocations: 36.38 MB / 1.596 GB, free: 11.46 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01044/1.11, allocations: 4.558 MB / 1.6 GB, free: 6.891 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006114/1.116, allocations: 2.617 MB / 1.603 GB, free: 4.266 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001357/1.118, allocations: 270.8 kB / 1.603 GB, free: 4 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001651/1.118, allocations: 90.2 kB / 1.603 GB, free: 3.898 MB / 1.295 GB Notification: Performance of pre-optimization done (n=420): time 1.621e-05/1.118, allocations: 0 / 1.603 GB, free: 3.898 MB / 1.295 GB Notification: Performance of matching and sorting (n=420): time 1.687/2.805, allocations: 7.83 MB / 1.611 GB, free: 249.4 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.258e-05/2.805, allocations: 91.95 kB / 1.611 GB, free: 249.3 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0302/2.835, allocations: 10.13 MB / 1.621 GB, free: 246.9 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.001463/2.836, allocations: 108.4 kB / 1.621 GB, free: 246.8 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.005605/2.842, allocations: 4.8 MB / 1.626 GB, free: 244.1 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.002982/2.845, allocations: 1.562 MB / 1.627 GB, free: 243.1 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002289/2.847, allocations: 1.107 MB / 1.628 GB, free: 242.6 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 5.874e-05/2.847, allocations: 301.9 kB / 1.629 GB, free: 242.3 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005228/2.853, allocations: 2.682 MB / 1.631 GB, free: 241.4 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006524/2.859, allocations: 4.294 MB / 1.635 GB, free: 238.5 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01264/2.872, allocations: 7.417 MB / 1.643 GB, free: 234.2 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.346e-05/2.872, allocations: 13.75 kB / 1.643 GB, free: 234.2 MB / 1.295 GB Notification: Performance of matching and sorting (n=694) (initialization): time 0.01714/2.889, allocations: 7.998 MB / 1.651 GB, free: 231.1 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 7.455e-05/2.889, allocations: 28.47 kB / 1.651 GB, free: 231.1 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001845/2.889, allocations: 73.34 kB / 1.651 GB, free: 231.1 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001011/2.889, allocations: 76.91 kB / 1.651 GB, free: 231.1 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004377/2.894, allocations: 1.203 MB / 1.652 GB, free: 231 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001389/2.894, allocations: 106.8 kB / 1.652 GB, free: 231 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01006/2.904, allocations: 0.6611 MB / 1.653 GB, free: 230.8 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002114/2.906, allocations: 285.2 kB / 1.653 GB, free: 230.7 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01398/2.92, allocations: 6.437 MB / 1.659 GB, free: 228.3 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005336/2.925, allocations: 4.294 MB / 1.663 GB, free: 225.3 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008702/2.934, allocations: 7.414 MB / 1.671 GB, free: 218.8 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.902e-05/2.934, allocations: 12 kB / 1.671 GB, free: 218.8 MB / 1.295 GB Notification: Performance of matching and sorting (n=694) (initialization_lambda0): time 0.01411/2.948, allocations: 7.999 MB / 1.678 GB, free: 210.8 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 4.777e-05/2.948, allocations: 28 kB / 1.678 GB, free: 210.8 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00014/2.948, allocations: 71.92 kB / 1.679 GB, free: 210.7 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.998e-05/2.948, allocations: 76 kB / 1.679 GB, free: 210.7 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004155/2.953, allocations: 1.205 MB / 1.68 GB, free: 209.4 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.505e-05/2.953, allocations: 103.6 kB / 1.68 GB, free: 209.3 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008708/2.961, allocations: 0.5909 MB / 1.68 GB, free: 208.9 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008908/2.962, allocations: 285.4 kB / 1.681 GB, free: 208.6 MB / 1.295 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 211 * 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 (674): * Single equations (assignments): 654 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 20 * 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.001996/2.964, allocations: 0.5052 MB / 1.681 GB, free: 208.1 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00425/2.968, allocations: 0.8617 MB / 1.682 GB, free: 207.2 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01784/2.986, allocations: 8.985 MB / 1.691 GB, free: 198.4 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009046/2.995, allocations: 6.21 MB / 1.697 GB, free: 192.1 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.76e-05/2.995, allocations: 23.98 kB / 1.697 GB, free: 192.1 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007696/3.003, allocations: 2.237 MB / 1.699 GB, free: 189.9 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003607/3.007, allocations: 123.4 kB / 1.699 GB, free: 189.8 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007453/3.014, allocations: 328.6 kB / 1.7 GB, free: 189.5 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00114/3.015, allocations: 0.6201 MB / 1.7 GB, free: 188.9 MB / 1.295 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01361/3.029, allocations: 7.529 MB / 1.708 GB, free: 181.4 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01839/3.047, allocations: 12.27 MB / 1.719 GB, free: 168.9 MB / 1.295 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004632/3.052, allocations: 3.278 MB / 1.723 GB, free: 165.6 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.01779/3.07, allocations: 7.12 MB / 1.73 GB, free: 158.6 MB / 1.295 GB Notification: Performance of Backend: time 8.91e-07/3.07, allocations: 0.7656 kB / 1.73 GB, free: 158.6 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.02732/3.097, allocations: 8.917 MB / 1.738 GB, free: 149.5 MB / 1.295 GB Notification: Performance of SimCode: time 0.06567/3.163, allocations: 25.59 MB / 1.763 GB, free: 124 MB / 1.295 GB Notification: Performance of Templates: time 0.3559/3.519, allocations: 232 MB / 1.99 GB, free: 5.898 MB / 1.404 GB " [Timeout remaining time 296] make -j1 -f Buildings_12_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized.pipe ; mkfifo Buildings_12_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized.pipe >> ../files/Buildings_12_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized.sim & ./Buildings_12_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 19.0883857680019] Failed to read output from testmodel.py, exit status != 0: 3.531254578003427 3.543946517 2.695627235 Calling exit ...