Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.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/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.PlugFlowPipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTemIn.T|senTemInNoMix.T|senTemOutNoMix.T|senTemOut.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe") translateModel(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTemIn.T|senTemInNoMix.T|senTemOutNoMix.T|senTemOut.T",fileNamePrefix="Buildings_latest_Buildings.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.001605/0.001605, allocations: 109.2 kB / 16.42 MB, free: 6.488 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.001622/0.001622, allocations: 185.7 kB / 17.35 MB, free: 5.762 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.407/1.407, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.801/2.801, allocations: 469.4 MB / 0.7428 GB, free: 3.477 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001534/0.001534, allocations: 67.89 kB / 1.065 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9134/0.915, allocations: 159.1 MB / 1.221 GB, free: 2.355 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe): time 0.114/1.029, allocations: 115.2 MB / 1.333 GB, free: 14.78 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.03698/1.066, allocations: 26.56 MB / 1.359 GB, free: 4.16 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004449/1.07, allocations: 115.4 kB / 1.359 GB, free: 4.047 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.00365/1.074, allocations: 1.176 MB / 1.361 GB, free: 2.863 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.009881/1.084, allocations: 3.596 MB / 1.364 GB, free: 15.25 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.006551/1.091, allocations: 2.363 MB / 1.366 GB, free: 12.89 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.008982/1.1, allocations: 6.206 MB / 1.372 GB, free: 6.668 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003247/1.103, allocations: 1.937 MB / 1.374 GB, free: 4.703 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006219/1.109, allocations: 2.695 MB / 1.377 GB, free: 2.004 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003011/1.112, allocations: 1.77 MB / 1.379 GB, free: 232 kB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0007637/1.113, allocations: 220 kB / 1.379 GB, free: 12 kB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005656/1.119, allocations: 2.344 MB / 1.381 GB, free: 13.66 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0008963/1.12, allocations: 0.5292 MB / 1.382 GB, free: 13.13 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.002348/1.122, allocations: 1.291 MB / 1.383 GB, free: 11.84 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.007433/1.129, allocations: 4.103 MB / 1.387 GB, free: 7.723 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 7.193e-06/1.129, allocations: 0 / 1.387 GB, free: 7.723 MB / 1.107 GB Notification: Performance of FrontEnd: time 2.044e-06/1.129, allocations: 0 / 1.387 GB, free: 7.723 MB / 1.107 GB Notification: Performance of Transformations before backend: time 5.377e-05/1.13, allocations: 0 / 1.387 GB, free: 7.723 MB / 1.107 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.005652/1.135, allocations: 2.838 MB / 1.39 GB, free: 4.824 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/1.135, allocations: 8.031 kB / 1.39 GB, free: 4.816 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007067/1.136, allocations: 253.1 kB / 1.39 GB, free: 4.566 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004302/1.14, allocations: 2.142 MB / 1.392 GB, free: 2.371 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.26e-05/1.14, allocations: 102.7 kB / 1.392 GB, free: 2.27 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002013/1.141, allocations: 143.9 kB / 1.392 GB, free: 2.129 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002487/1.143, allocations: 1.457 MB / 1.394 GB, free: 0.5938 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.593e-05/1.143, allocations: 11.98 kB / 1.394 GB, free: 0.582 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001196/1.143, allocations: 52 kB / 1.394 GB, free: 0.5312 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.163e-05/1.143, allocations: 40 kB / 1.394 GB, free: 0.4922 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001869/1.145, allocations: 1.021 MB / 1.395 GB, free: 15.46 MB / 1.123 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.009056/1.154, allocations: 8.113 MB / 1.403 GB, free: 6.652 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00155/1.156, allocations: 0.8498 MB / 1.404 GB, free: 5.781 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006052/1.156, allocations: 382.8 kB / 1.404 GB, free: 5.41 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002104/1.159, allocations: 2.803 MB / 1.407 GB, free: 1.98 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.444e-05/1.159, allocations: 43.22 kB / 1.407 GB, free: 1.926 MB / 1.123 GB Notification: Performance of pre-optimization done (n=85): time 3.587e-06/1.159, allocations: 4 kB / 1.407 GB, free: 1.922 MB / 1.123 GB Notification: Performance of matching and sorting (n=85): time 0.002453/1.161, allocations: 1.124 MB / 1.408 GB, free: 0.7969 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.636e-05/1.161, allocations: 60.06 kB / 1.408 GB, free: 0.7266 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002383/1.164, allocations: 1.625 MB / 1.409 GB, free: 15.05 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0001026/1.164, allocations: 41.7 kB / 1.41 GB, free: 15.01 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007219/1.164, allocations: 0.9314 MB / 1.41 GB, free: 14.07 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003084/1.165, allocations: 311.6 kB / 1.411 GB, free: 13.76 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003283/1.165, allocations: 234.6 kB / 1.411 GB, free: 13.52 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001418/1.165, allocations: 345.9 kB / 1.411 GB, free: 13.18 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005922/1.166, allocations: 325.9 kB / 1.412 GB, free: 12.86 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009668/1.167, allocations: 0.7111 MB / 1.412 GB, free: 11.97 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001528/1.168, allocations: 1.085 MB / 1.413 GB, free: 10.73 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.123e-06/1.168, allocations: 4 kB / 1.413 GB, free: 10.72 MB / 1.139 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002464/1.171, allocations: 1.253 MB / 1.415 GB, free: 9.465 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.442e-05/1.171, allocations: 8 kB / 1.415 GB, free: 9.457 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.784e-05/1.171, allocations: 16 kB / 1.415 GB, free: 9.441 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.199e-05/1.171, allocations: 16 kB / 1.415 GB, free: 9.426 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008493/1.172, allocations: 264.2 kB / 1.415 GB, free: 9.168 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.447e-05/1.172, allocations: 27.86 kB / 1.415 GB, free: 9.141 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001177/1.173, allocations: 138.6 kB / 1.415 GB, free: 9.004 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001246/1.173, allocations: 63.97 kB / 1.415 GB, free: 8.941 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001208/1.174, allocations: 0.6197 MB / 1.416 GB, free: 8.316 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009145/1.175, allocations: 0.7033 MB / 1.416 GB, free: 7.449 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001616/1.177, allocations: 1.077 MB / 1.417 GB, free: 6.211 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.666e-06/1.177, allocations: 4 kB / 1.417 GB, free: 6.207 MB / 1.139 GB Notification: Performance of matching and sorting (n=144) (initialization_lambda0): time 0.00277/1.18, allocations: 1.245 MB / 1.419 GB, free: 4.953 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/1.18, allocations: 8.906 kB / 1.419 GB, free: 4.945 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.64e-05/1.18, allocations: 16 kB / 1.419 GB, free: 4.93 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.039e-05/1.18, allocations: 23.98 kB / 1.419 GB, free: 4.906 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008487/1.181, allocations: 263.5 kB / 1.419 GB, free: 4.648 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.69e-05/1.181, allocations: 20.09 kB / 1.419 GB, free: 4.629 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001296/1.182, allocations: 111 kB / 1.419 GB, free: 4.52 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001186/1.182, allocations: 67.95 kB / 1.419 GB, free: 4.453 MB / 1.139 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.0003424/1.182, allocations: 255.9 kB / 1.419 GB, free: 4.195 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004879/1.183, allocations: 189.7 kB / 1.42 GB, free: 4.008 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00343/1.186, allocations: 1.74 MB / 1.421 GB, free: 2.258 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001737/1.188, allocations: 1.138 MB / 1.422 GB, free: 1.086 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.441e-05/1.188, allocations: 7.984 kB / 1.422 GB, free: 1.078 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008864/1.189, allocations: 430 kB / 1.423 GB, free: 0.6367 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003834/1.189, allocations: 20 kB / 1.423 GB, free: 0.6172 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009024/1.19, allocations: 39.97 kB / 1.423 GB, free: 0.5781 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000185/1.191, allocations: 88.88 kB / 1.423 GB, free: 500 kB / 1.139 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002464/1.193, allocations: 1.323 MB / 1.424 GB, free: 15.16 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003279/1.196, allocations: 2.118 MB / 1.426 GB, free: 13.02 MB / 1.154 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008843/1.197, allocations: 0.5625 MB / 1.427 GB, free: 12.46 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.002016/1.199, allocations: 1.091 MB / 1.428 GB, free: 11.35 MB / 1.154 GB Notification: Performance of Backend: time 6.71e-07/1.199, allocations: 0 / 1.428 GB, free: 11.35 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.00579/1.205, allocations: 2.166 MB / 1.43 GB, free: 9.141 MB / 1.154 GB Notification: Performance of SimCode: time 0.00862/1.214, allocations: 4.321 MB / 1.434 GB, free: 4.738 MB / 1.154 GB Notification: Performance of Templates: time 0.07523/1.289, allocations: 45.14 MB / 1.478 GB, free: 8.051 MB / 1.201 GB make -j1 -f Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.makefile (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.sim & ./Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe 2>&1)