Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized.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/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_latest_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized") translateModel(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_latest_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00166/0.00166, allocations: 110.7 kB / 16.42 MB, free: 6.512 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.001868/0.001868, allocations: 189.5 kB / 17.35 MB, free: 5.738 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.47/1.47, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.622/2.622, allocations: 461.9 MB / 0.7355 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001544/0.001544, allocations: 71.89 kB / 1.055 GB, free: 7.703 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8812/0.8828, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized): time 0.06747/0.9503, allocations: 66.56 MB / 1.273 GB, free: 10.86 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.022/0.9723, allocations: 16.75 MB / 1.29 GB, free: 10.06 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002121/0.9745, allocations: 63.62 kB / 1.29 GB, free: 10 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.002226/0.9767, allocations: 0.8152 MB / 1.291 GB, free: 9.18 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.006358/0.9831, allocations: 2.554 MB / 1.293 GB, free: 6.613 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.004398/0.9875, allocations: 1.8 MB / 1.295 GB, free: 4.82 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.04399/1.032, allocations: 35.81 MB / 1.33 GB, free: 0.9219 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02235/1.054, allocations: 15.77 MB / 1.345 GB, free: 1.023 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02595/1.08, allocations: 11.98 MB / 1.357 GB, free: 5.062 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02633/1.106, allocations: 9.699 MB / 1.366 GB, free: 11.32 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.006343/1.113, allocations: 1.449 MB / 1.368 GB, free: 9.875 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01645/1.129, allocations: 3.18 MB / 1.371 GB, free: 6.691 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.007543/1.137, allocations: 3.279 MB / 1.374 GB, free: 3.402 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.01692/1.154, allocations: 7.31 MB / 1.381 GB, free: 12.06 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.02944/1.183, allocations: 21.95 MB / 1.403 GB, free: 6.051 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 1.148e-05/1.183, allocations: 0 / 1.403 GB, free: 6.051 MB / 1.123 GB Notification: Performance of FrontEnd: time 2.285e-06/1.183, allocations: 0 / 1.403 GB, free: 6.051 MB / 1.123 GB Notification: Performance of Transformations before backend: time 0.0006806/1.184, allocations: 4 kB / 1.403 GB, free: 6.047 MB / 1.123 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.04507/1.229, allocations: 13.13 MB / 1.416 GB, free: 8.805 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 5.594e-05/1.229, allocations: 8.031 kB / 1.416 GB, free: 8.797 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009659/1.239, allocations: 1.295 MB / 1.417 GB, free: 7.488 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03613/1.275, allocations: 12.97 MB / 1.429 GB, free: 10.43 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004861/1.275, allocations: 0.5216 MB / 1.43 GB, free: 9.902 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002743/1.278, allocations: 0.7146 MB / 1.431 GB, free: 9.188 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03161/1.31, allocations: 11.21 MB / 1.442 GB, free: 13.69 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003083/1.31, allocations: 43.61 kB / 1.442 GB, free: 13.65 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002306/1.313, allocations: 300 kB / 1.442 GB, free: 13.36 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002419/1.313, allocations: 215.9 kB / 1.442 GB, free: 13.14 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0204/1.333, allocations: 9.253 MB / 1.451 GB, free: 3.875 MB / 1.17 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.08812/1.421, allocations: 52.14 MB / 1.502 GB, free: 12.32 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009331/1.431, allocations: 4.853 MB / 1.507 GB, free: 7.465 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004987/1.436, allocations: 2.829 MB / 1.51 GB, free: 4.629 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00193/1.438, allocations: 1.715 MB / 1.511 GB, free: 2.562 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001313/1.438, allocations: 94.2 kB / 1.511 GB, free: 2.461 MB / 1.232 GB Notification: Performance of pre-optimization done (n=420): time 8.196e-06/1.438, allocations: 0 / 1.511 GB, free: 2.461 MB / 1.232 GB Notification: Performance of matching and sorting (n=420): time 0.01791/1.456, allocations: 7.823 MB / 1.519 GB, free: 10.61 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.883e-05/1.456, allocations: 90.55 kB / 1.519 GB, free: 10.51 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02305/1.479, allocations: 10.46 MB / 1.529 GB, free: 88 kB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 0.001624/1.481, allocations: 105.7 kB / 1.529 GB, free: 15.98 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.007758/1.488, allocations: 4.729 MB / 1.534 GB, free: 11.21 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.003305/1.492, allocations: 1.486 MB / 1.535 GB, free: 9.707 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002241/1.494, allocations: 1.107 MB / 1.537 GB, free: 8.59 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0001222/1.494, allocations: 301.1 kB / 1.537 GB, free: 8.293 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004715/1.499, allocations: 2.672 MB / 1.539 GB, free: 5.605 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006277/1.505, allocations: 4.204 MB / 1.544 GB, free: 0.7383 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01198/1.517, allocations: 7.409 MB / 1.551 GB, free: 8.668 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.155e-05/1.517, allocations: 12 kB / 1.551 GB, free: 8.656 MB / 1.279 GB Notification: Performance of matching and sorting (n=694) (initialization): time 0.02026/1.538, allocations: 7.992 MB / 1.559 GB, free: 0.6445 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 6.337e-05/1.538, allocations: 29.81 kB / 1.559 GB, free: 0.6172 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000253/1.538, allocations: 71.97 kB / 1.559 GB, free: 0.5469 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001112/1.538, allocations: 76 kB / 1.559 GB, free: 484 kB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.21/2.748, allocations: 1.196 MB / 1.56 GB, free: 316.8 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002295/2.748, allocations: 105.2 kB / 1.56 GB, free: 316.8 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008223/2.757, allocations: 0.6803 MB / 1.561 GB, free: 316.8 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001576/2.758, allocations: 283.3 kB / 1.561 GB, free: 316.8 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01396/2.772, allocations: 6.435 MB / 1.567 GB, free: 316.7 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.007248/2.779, allocations: 4.198 MB / 1.571 GB, free: 314 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01051/2.79, allocations: 7.412 MB / 1.579 GB, free: 309.7 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.601e-05/2.79, allocations: 15.75 kB / 1.579 GB, free: 309.7 MB / 1.279 GB Notification: Performance of matching and sorting (n=694) (initialization_lambda0): time 0.01728/2.807, allocations: 7.981 MB / 1.586 GB, free: 307.1 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 5.74e-05/2.808, allocations: 31.47 kB / 1.586 GB, free: 307.1 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002308/2.808, allocations: 71.19 kB / 1.587 GB, free: 307.1 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.828e-05/2.808, allocations: 78.84 kB / 1.587 GB, free: 307.1 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004279/2.812, allocations: 1.201 MB / 1.588 GB, free: 307 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001347/2.812, allocations: 104.5 kB / 1.588 GB, free: 307 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008908/2.821, allocations: 0.5841 MB / 1.588 GB, free: 306.9 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001896/2.823, allocations: 281.9 kB / 1.589 GB, free: 306.8 MB / 1.279 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.003301/2.826, allocations: 0.5101 MB / 1.589 GB, free: 306.4 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004352/2.831, allocations: 0.846 MB / 1.59 GB, free: 306.4 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01582/2.847, allocations: 8.909 MB / 1.599 GB, free: 303.4 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008268/2.855, allocations: 6.102 MB / 1.605 GB, free: 298.5 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.573e-05/2.855, allocations: 27.73 kB / 1.605 GB, free: 298.5 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006619/2.862, allocations: 2.239 MB / 1.607 GB, free: 296.7 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003606/2.865, allocations: 126 kB / 1.607 GB, free: 296.5 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007352/2.873, allocations: 322 kB / 1.607 GB, free: 296.3 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001655/2.874, allocations: 0.6081 MB / 1.608 GB, free: 295.8 MB / 1.279 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01223/2.887, allocations: 7.474 MB / 1.615 GB, free: 288.4 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01651/2.903, allocations: 12.11 MB / 1.627 GB, free: 276.1 MB / 1.279 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004179/2.907, allocations: 3.489 MB / 1.63 GB, free: 272.6 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.01355/2.921, allocations: 7.421 MB / 1.638 GB, free: 265.2 MB / 1.279 GB Notification: Performance of Backend: time 1.062e-06/2.921, allocations: 0 / 1.638 GB, free: 265.2 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.02176/2.943, allocations: 9.424 MB / 1.647 GB, free: 255.7 MB / 1.279 GB Notification: Performance of SimCode: time 0.05198/2.995, allocations: 25.55 MB / 1.672 GB, free: 230.2 MB / 1.279 GB Notification: Performance of Templates: time 0.2687/3.264, allocations: 212.9 MB / 1.88 GB, free: 18.63 MB / 1.279 GB make -j1 -f Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized.makefile (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized.sim & ./Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized.pipe 2>&1)