Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_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_9_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.001455/0.001455, 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.001652/0.001652, 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.408/1.408, 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 9.1.3-maint.9.1.x/package.mo): time 2.27/2.27, allocations: 390.3 MB / 0.6655 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001534/0.001535, allocations: 67.89 kB / 0.9515 GB, free: 7.637 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.02/1.022, allocations: 140.4 MB / 1.089 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized): time 0.07061/1.092, allocations: 66.55 MB / 1.154 GB, free: 5.809 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.02834/1.121, allocations: 16.74 MB / 1.17 GB, free: 9.777 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004255/1.125, allocations: 65.19 kB / 1.17 GB, free: 9.754 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.00292/1.128, allocations: 0.835 MB / 1.171 GB, free: 9.219 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0095/1.137, allocations: 2.677 MB / 1.173 GB, free: 7.625 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.006188/1.144, allocations: 1.828 MB / 1.175 GB, free: 6.57 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.05979/1.203, allocations: 35.86 MB / 1.21 GB, free: 1.438 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02492/1.228, allocations: 15.78 MB / 1.226 GB, free: 1.523 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02914/1.258, allocations: 11.97 MB / 1.237 GB, free: 5.578 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01993/1.277, allocations: 9.711 MB / 1.247 GB, free: 11.83 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.005635/1.283, allocations: 1.453 MB / 1.248 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01501/1.298, allocations: 3.173 MB / 1.251 GB, free: 7.203 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.00877/1.307, allocations: 3.279 MB / 1.255 GB, free: 3.914 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0227/1.33, allocations: 7.318 MB / 1.262 GB, free: 12.57 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.03166/1.361, allocations: 21.95 MB / 1.283 GB, free: 6.562 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 8.256e-06/1.361, allocations: 0 / 1.283 GB, free: 6.562 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.663e-06/1.361, allocations: 0 / 1.283 GB, free: 6.562 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0007152/1.362, allocations: 0 / 1.283 GB, free: 6.562 MB / 1.014 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.04449/1.407, allocations: 13.13 MB / 1.296 GB, free: 9.32 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.339e-05/1.407, allocations: 15.97 kB / 1.296 GB, free: 9.305 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007107/1.414, allocations: 1.291 MB / 1.297 GB, free: 8 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03049/1.444, allocations: 12.97 MB / 1.31 GB, free: 10.93 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000601/1.445, allocations: 0.5333 MB / 1.31 GB, free: 10.4 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003696/1.449, allocations: 0.7106 MB / 1.311 GB, free: 9.688 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03367/1.482, allocations: 11.21 MB / 1.322 GB, free: 14.19 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004425/1.483, allocations: 31.69 kB / 1.322 GB, free: 14.16 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002539/1.485, allocations: 308 kB / 1.322 GB, free: 13.86 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003335/1.486, allocations: 211.9 kB / 1.323 GB, free: 13.65 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02306/1.509, allocations: 9.253 MB / 1.332 GB, free: 4.379 MB / 1.061 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.09179/1.601, allocations: 52.13 MB / 1.383 GB, free: 12.84 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009588/1.61, allocations: 4.853 MB / 1.387 GB, free: 7.992 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005262/1.616, allocations: 2.829 MB / 1.39 GB, free: 5.156 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002049/1.618, allocations: 1.711 MB / 1.392 GB, free: 3.094 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001295/1.618, allocations: 94.19 kB / 1.392 GB, free: 2.992 MB / 1.123 GB Notification: Performance of pre-optimization done (n=420): time 9.568e-06/1.618, allocations: 4 kB / 1.392 GB, free: 2.988 MB / 1.123 GB Notification: Performance of matching and sorting (n=420): time 0.01922/1.637, allocations: 7.819 MB / 1.399 GB, free: 11.14 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.247e-05/1.637, allocations: 90.55 kB / 1.399 GB, free: 11.04 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02743/1.665, allocations: 10.47 MB / 1.41 GB, free: 0.6133 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.001647/1.666, allocations: 109.7 kB / 1.41 GB, free: 0.5 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.007534/1.674, allocations: 4.721 MB / 1.414 GB, free: 11.74 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.003506/1.677, allocations: 1.483 MB / 1.416 GB, free: 10.24 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004758/1.682, allocations: 1.103 MB / 1.417 GB, free: 9.125 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001298/1.682, allocations: 301.1 kB / 1.417 GB, free: 8.828 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005619/1.688, allocations: 2.676 MB / 1.42 GB, free: 6.137 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007067/1.695, allocations: 4.201 MB / 1.424 GB, free: 1.277 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01206/1.707, allocations: 7.409 MB / 1.431 GB, free: 9.207 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.602e-05/1.707, allocations: 16 kB / 1.431 GB, free: 9.191 MB / 1.17 GB Notification: Performance of matching and sorting (n=694) (initialization): time 0.01781/1.725, allocations: 7.991 MB / 1.439 GB, free: 1.18 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 5.58e-05/1.725, allocations: 27.94 kB / 1.439 GB, free: 1.152 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001725/1.725, allocations: 71.97 kB / 1.439 GB, free: 1.082 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.786e-05/1.725, allocations: 76 kB / 1.439 GB, free: 1.008 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004707/1.73, allocations: 1.202 MB / 1.44 GB, free: 15.8 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001168/1.73, allocations: 103.7 kB / 1.44 GB, free: 15.7 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008044/1.738, allocations: 0.6934 MB / 1.441 GB, free: 15 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001461/1.74, allocations: 279.9 kB / 1.441 GB, free: 14.73 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01317/1.753, allocations: 6.436 MB / 1.448 GB, free: 8.281 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.007272/1.76, allocations: 4.2 MB / 1.452 GB, free: 3.414 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01388/1.774, allocations: 7.405 MB / 1.459 GB, free: 11.35 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.394e-05/1.774, allocations: 23.94 kB / 1.459 GB, free: 11.33 MB / 1.201 GB Notification: Performance of matching and sorting (n=694) (initialization_lambda0): time 0.01888/1.793, allocations: 7.983 MB / 1.467 GB, free: 3.324 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 4.432e-05/1.793, allocations: 24 kB / 1.467 GB, free: 3.301 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001979/1.794, allocations: 79.89 kB / 1.467 GB, free: 3.223 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.138e-05/1.794, allocations: 79.94 kB / 1.467 GB, free: 3.145 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004535/1.798, allocations: 1.202 MB / 1.468 GB, free: 1.941 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000123/1.798, allocations: 103.7 kB / 1.468 GB, free: 1.84 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007223/1.806, allocations: 0.5741 MB / 1.469 GB, free: 1.262 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008787/1.806, allocations: 287.9 kB / 1.469 GB, free: 0.9805 MB / 1.201 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.001778/1.808, allocations: 0.503 MB / 1.47 GB, free: 480 kB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003225/1.811, allocations: 0.849 MB / 1.47 GB, free: 15.61 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01618/1.828, allocations: 8.903 MB / 1.479 GB, free: 6.734 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01042/1.838, allocations: 6.106 MB / 1.485 GB, free: 0.543 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001166/1.838, allocations: 27.98 kB / 1.485 GB, free: 0.5156 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007993/1.846, allocations: 2.234 MB / 1.487 GB, free: 14.25 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003535/1.85, allocations: 120 kB / 1.487 GB, free: 14.13 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006952/1.857, allocations: 327.4 kB / 1.488 GB, free: 13.81 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001645/1.858, allocations: 0.6086 MB / 1.488 GB, free: 13.2 MB / 1.232 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0167/1.875, allocations: 7.477 MB / 1.496 GB, free: 5.637 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02136/1.897, allocations: 12.1 MB / 1.507 GB, free: 9.391 MB / 1.248 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005817/1.902, allocations: 3.493 MB / 1.511 GB, free: 5.867 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.01888/1.921, allocations: 7.413 MB / 1.518 GB, free: 14.49 MB / 1.264 GB Notification: Performance of Backend: time 1.152e-06/1.921, allocations: 0 / 1.518 GB, free: 14.49 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.02589/1.947, allocations: 9.437 MB / 1.527 GB, free: 4.852 MB / 1.264 GB Notification: Performance of SimCode: time 0.06143/2.009, allocations: 25.55 MB / 1.552 GB, free: 11.23 MB / 1.295 GB Notification: Performance of Templates: time 1.373/3.382, allocations: 213 MB / 1.76 GB, free: 290.2 MB / 1.311 GB make -j1 -f Buildings_9_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized.makefile (rm -f Buildings_9_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized.pipe ; mkfifo Buildings_9_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized.pipe >> ../files/Buildings_9_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized.sim & ./Buildings_9_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized.pipe 2>&1)