Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized") translateModel(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.0007995/0.0007995, allocations: 91.38 kB / 15.36 MB, free: 0.7383 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.006099/0.006099, allocations: 172.1 kB / 16.26 MB, free: 6.613 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.574/1.574, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.836/2.836, allocations: 473.4 MB / 0.7469 GB, free: 6.117 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000378/0.000378, allocations: 7.469 kB / 0.9158 GB, free: 33.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3312/0.3315, allocations: 162.2 MB / 1.074 GB, free: 7.594 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized): time 0.06037/0.392, allocations: 64.98 MB / 1.138 GB, free: 6.402 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0215/0.4135, allocations: 16.65 MB / 1.154 GB, free: 5.703 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002242/0.4158, allocations: 59.62 kB / 1.154 GB, free: 5.645 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001837/0.4176, allocations: 0.6527 MB / 1.155 GB, free: 4.988 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.006212/0.4239, allocations: 2.348 MB / 1.157 GB, free: 2.633 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.004238/0.4281, allocations: 1.63 MB / 1.158 GB, free: 1.012 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.04518/0.4733, allocations: 45.58 MB / 1.203 GB, free: 3.32 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01748/0.4908, allocations: 12.19 MB / 1.215 GB, free: 7.016 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02001/0.5109, allocations: 8.389 MB / 1.223 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01878/0.5297, allocations: 8.823 MB / 1.232 GB, free: 5.727 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.003973/0.5337, allocations: 460 kB / 1.232 GB, free: 5.277 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01086/0.5446, allocations: 2.008 MB / 1.234 GB, free: 3.266 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.004763/0.5494, allocations: 2.092 MB / 1.236 GB, free: 1.164 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.01343/0.5629, allocations: 5.999 MB / 1.242 GB, free: 11.12 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.6808/1.244, allocations: 20.52 MB / 1.262 GB, free: 65.32 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/1.244, allocations: 0 / 1.262 GB, free: 65.32 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.517e-06/1.244, allocations: 0 / 1.262 GB, free: 65.32 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0009042/1.245, allocations: 1.703 kB / 1.262 GB, free: 65.32 MB / 0.9981 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.03144/1.276, allocations: 10.49 MB / 1.272 GB, free: 61.02 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.969e-05/1.276, allocations: 8.812 kB / 1.272 GB, free: 61.02 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009096/1.285, allocations: 1.288 MB / 1.273 GB, free: 60.41 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03142/1.317, allocations: 13.37 MB / 1.287 GB, free: 58.74 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007399/1.318, allocations: 0.5228 MB / 1.287 GB, free: 58.73 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004674/1.322, allocations: 0.7197 MB / 1.288 GB, free: 58.71 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03348/1.356, allocations: 11.19 MB / 1.299 GB, free: 57.76 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006063/1.356, allocations: 31.47 kB / 1.299 GB, free: 57.75 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003242/1.36, allocations: 301.8 kB / 1.299 GB, free: 57.75 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000381/1.36, allocations: 218.6 kB / 1.299 GB, free: 57.75 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02254/1.383, allocations: 9.257 MB / 1.308 GB, free: 57.68 MB / 0.9981 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.08791/1.471, allocations: 51.26 MB / 1.358 GB, free: 22.71 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01279/1.483, allocations: 4.862 MB / 1.363 GB, free: 20.13 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00701/1.491, allocations: 2.829 MB / 1.366 GB, free: 18.66 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001393/1.492, allocations: 1.726 MB / 1.368 GB, free: 16.77 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.959e-05/1.492, allocations: 89.8 kB / 1.368 GB, free: 16.69 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=420): time 7.364e-06/1.492, allocations: 0 / 1.368 GB, free: 16.69 MB / 0.9981 GB Notification: Performance of matching and sorting (n=420): time 0.01507/1.507, allocations: 7.839 MB / 1.375 GB, free: 12.69 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.832e-05/1.507, allocations: 93.61 kB / 1.375 GB, free: 12.62 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01868/1.526, allocations: 9.982 MB / 1.385 GB, free: 5.723 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.002265/1.528, allocations: 109.7 kB / 1.385 GB, free: 5.609 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.005368/1.534, allocations: 4.714 MB / 1.39 GB, free: 0.875 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.00384/1.537, allocations: 1.494 MB / 1.391 GB, free: 15.39 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001182/1.539, allocations: 445.6 kB / 1.392 GB, free: 14.95 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001154/1.539, allocations: 301.1 kB / 1.392 GB, free: 14.66 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00511/1.544, allocations: 2.634 MB / 1.395 GB, free: 12.02 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007432/1.551, allocations: 4.165 MB / 1.399 GB, free: 7.211 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01455/1.566, allocations: 7.39 MB / 1.406 GB, free: 15.36 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.722e-05/1.566, allocations: 12 kB / 1.406 GB, free: 15.34 MB / 1.029 GB Notification: Performance of matching and sorting (n=694) (initialization): time 0.01938/1.585, allocations: 7.928 MB / 1.414 GB, free: 7.672 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.001093/1.587, allocations: 1.5 MB / 1.415 GB, free: 5.547 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002112/1.587, allocations: 76.53 kB / 1.415 GB, free: 5.473 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.302e-05/1.587, allocations: 76 kB / 1.415 GB, free: 5.398 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004992/1.592, allocations: 1.206 MB / 1.416 GB, free: 4.27 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001139/1.592, allocations: 106.1 kB / 1.416 GB, free: 4.188 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01006/1.602, allocations: 1.021 MB / 1.417 GB, free: 3.16 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001251/1.603, allocations: 283.9 kB / 1.418 GB, free: 2.883 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.207e-05/1.603, allocations: 4 kB / 1.418 GB, free: 2.879 MB / 1.029 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01504/1.618, allocations: 7.156 MB / 1.425 GB, free: 12.01 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002412/1.619, allocations: 68.98 kB / 1.425 GB, free: 11.94 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.539e-05/1.619, allocations: 79.98 kB / 1.425 GB, free: 11.86 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004771/1.624, allocations: 1.211 MB / 1.426 GB, free: 10.73 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001196/1.624, allocations: 101.8 kB / 1.426 GB, free: 10.65 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01066/1.634, allocations: 0.9482 MB / 1.427 GB, free: 9.699 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001524/1.636, allocations: 283.9 kB / 1.427 GB, free: 9.422 MB / 1.045 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.009708/1.646, allocations: 4.111 MB / 1.431 GB, free: 5.379 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00355/1.649, allocations: 0.849 MB / 1.432 GB, free: 4.52 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01983/1.669, allocations: 8.93 MB / 1.441 GB, free: 11.7 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001071/1.669, allocations: 79.94 kB / 1.441 GB, free: 11.62 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.699e-05/1.669, allocations: 0 / 1.441 GB, free: 11.62 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01156/1.681, allocations: 6.113 MB / 1.447 GB, free: 5.426 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04821/1.729, allocations: 20.1 MB / 1.467 GB, free: 1.172 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001231/1.729, allocations: 35.98 kB / 1.467 GB, free: 1.137 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004039/1.733, allocations: 0.9482 MB / 1.468 GB, free: 244 kB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.782e-05/1.733, allocations: 32 kB / 1.468 GB, free: 212 kB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004741/1.734, allocations: 195.9 kB / 1.468 GB, free: 16 kB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.898e-05/1.734, allocations: 41.89 kB / 1.468 GB, free: 15.98 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.337e-05/1.734, allocations: 22.19 kB / 1.468 GB, free: 15.96 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02073/1.755, allocations: 11.64 MB / 1.479 GB, free: 3.93 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008427/1.763, allocations: 2.455 MB / 1.482 GB, free: 1.441 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004204/1.767, allocations: 144 kB / 1.482 GB, free: 1.301 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01014/1.778, allocations: 0.699 MB / 1.482 GB, free: 0.6094 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00156/1.779, allocations: 0.5243 MB / 1.483 GB, free: 100 kB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008715/1.78, allocations: 271.8 kB / 1.483 GB, free: 15.83 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.01612/1.796, allocations: 7.853 MB / 1.491 GB, free: 8.004 MB / 1.107 GB Notification: Performance of sort global known variables: time 4.6e-07/1.796, allocations: 1.406 kB / 1.491 GB, free: 8.004 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.02102/1.817, allocations: 4.849 MB / 1.496 GB, free: 3.145 MB / 1.107 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 59 * Number of states: 42 (pip.pipSeg[1].del.x,pip.pipSeg[1].timDel.x,pip.pipSeg[1].vol_b.dynBal.U,pip.pipSeg[1].vol_a.dynBal.U,pip.pipSeg[2].del.x,pip.pipSeg[2].timDel.x,pip.pipSeg[2].vol_b.dynBal.U,pip.pipSeg[2].vol_a.dynBal.U,pip.pipSeg[3].del.x,pip.pipSeg[3].timDel.x,pip.pipSeg[3].vol_b.dynBal.U,pip.pipSeg[3].vol_a.dynBal.U,pip.pipSeg[4].del.x,pip.pipSeg[4].timDel.x,pip.pipSeg[4].vol_b.dynBal.U,pip.pipSeg[4].vol_a.dynBal.U,pip.pipSeg[5].del.x,pip.pipSeg[5].timDel.x,pip.pipSeg[5].vol_b.dynBal.U,pip.pipSeg[5].vol_a.dynBal.U,pip.pipSeg[6].del.x,pip.pipSeg[6].timDel.x,pip.pipSeg[6].vol_b.dynBal.U,pip.pipSeg[6].vol_a.dynBal.U,pip.pipSeg[7].del.x,pip.pipSeg[7].timDel.x,pip.pipSeg[7].vol_b.dynBal.U,pip.pipSeg[7].vol_a.dynBal.U,pip.pipSeg[8].del.x,pip.pipSeg[8].timDel.x,pip.pipSeg[8].vol_b.dynBal.U,pip.pipSeg[8].vol_a.dynBal.U,pip.pipSeg[9].del.x,pip.pipSeg[9].timDel.x,pip.pipSeg[9].vol_b.dynBal.U,pip.pipSeg[9].vol_a.dynBal.U,pip.pipSeg[10].del.x,pip.pipSeg[10].timDel.x,pip.pipSeg[10].vol_b.dynBal.U,pip.pipSeg[10].vol_a.dynBal.U,senTemOut.T,senTemIn.T) * 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 (536): * Single equations (assignments): 450 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 86 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002766/1.82, allocations: 0.7874 MB / 1.496 GB, free: 2.457 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.02147/1.841, allocations: 11.24 MB / 1.507 GB, free: 7.293 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 3.25e-05/1.842, allocations: 8.562 kB / 1.507 GB, free: 7.285 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.01072/1.852, allocations: 6.923 MB / 1.514 GB, free: 368 kB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06128/1.914, allocations: 5.812 MB / 1.52 GB, free: 10.67 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0533/1.967, allocations: 28.32 MB / 1.547 GB, free: 14.2 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01155/1.979, allocations: 7.405 MB / 1.555 GB, free: 6.766 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0188/1.997, allocations: 5.906 MB / 1.56 GB, free: 1.008 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003518/2.001, allocations: 0.838 MB / 1.561 GB, free: 188 kB / 1.17 GB Notification: Performance of SimCode: time 6.31e-07/2.001, allocations: 0 / 1.561 GB, free: 188 kB / 1.17 GB Notification: Performance of Templates: time 1.038/3.039, allocations: 204.8 MB / 1.761 GB, free: 498.9 MB / 1.357 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized.sim & ./Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized.pipe 2>&1)