Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT.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.Validation.PlugFlowPipes.PlugFlowAIT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10064,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT") translateModel(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10064,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008381/0.0008381, allocations: 92.78 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.006392/0.006392, allocations: 172.2 kB / 16.26 MB, free: 6.676 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.427/1.427, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.754/2.754, allocations: 473.4 MB / 0.7469 GB, free: 6.094 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004038/0.0004039, allocations: 10.22 kB / 0.9158 GB, free: 33.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3121/0.3125, allocations: 162.2 MB / 1.074 GB, free: 7.539 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT): time 0.9447/1.257, allocations: 367.4 MB / 1.433 GB, free: 12.75 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1031/1.36, allocations: 80.23 MB / 1.511 GB, free: 0.6055 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01383/1.374, allocations: 349.8 kB / 1.512 GB, free: 268 kB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0132/1.388, allocations: 3.788 MB / 1.515 GB, free: 12.45 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.0373/1.425, allocations: 12.55 MB / 1.528 GB, free: 15.86 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.02341/1.448, allocations: 8.012 MB / 1.535 GB, free: 7.898 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.04315/1.491, allocations: 34.19 MB / 1.569 GB, free: 5.621 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.013/1.504, allocations: 6.648 MB / 1.575 GB, free: 14.87 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02022/1.525, allocations: 8.442 MB / 1.583 GB, free: 6.391 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01384/1.539, allocations: 6.812 MB / 1.59 GB, free: 15.55 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.002759/1.541, allocations: 336 kB / 1.59 GB, free: 15.22 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01745/1.559, allocations: 5.979 MB / 1.596 GB, free: 9.227 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.00469/1.564, allocations: 1.613 MB / 1.598 GB, free: 7.605 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.01009/1.574, allocations: 4.482 MB / 1.602 GB, free: 3.094 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.02684/1.601, allocations: 14.74 MB / 1.617 GB, free: 4.309 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/1.601, allocations: 0 / 1.617 GB, free: 4.309 MB / 1.201 GB Notification: Performance of FrontEnd: time 2.745e-06/1.601, allocations: 0 / 1.617 GB, free: 4.309 MB / 1.201 GB Notification: Performance of Transformations before backend: time 0.0004025/1.601, allocations: 4 kB / 1.617 GB, free: 4.305 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: 1369 * Number of variables: 1369 Notification: Performance of Generate backend data structure: time 0.01842/1.619, allocations: 8.133 MB / 1.625 GB, free: 12.08 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.98e-05/1.62, allocations: 8.031 kB / 1.625 GB, free: 12.07 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005301/1.625, allocations: 1.02 MB / 1.626 GB, free: 11.04 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01617/1.641, allocations: 7.729 MB / 1.633 GB, free: 3.227 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003681/1.641, allocations: 410.6 kB / 1.634 GB, free: 2.824 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00115/1.643, allocations: 0.5389 MB / 1.634 GB, free: 2.285 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01188/1.655, allocations: 5.911 MB / 1.64 GB, free: 12.16 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001296/1.655, allocations: 23.83 kB / 1.64 GB, free: 12.14 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005189/1.655, allocations: 224 kB / 1.64 GB, free: 11.92 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001483/1.655, allocations: 155.9 kB / 1.64 GB, free: 11.77 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008189/1.664, allocations: 4.392 MB / 1.644 GB, free: 7.367 MB / 1.232 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.04361/1.707, allocations: 32.3 MB / 1.676 GB, free: 4.449 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005051/1.712, allocations: 2.866 MB / 1.679 GB, free: 1.594 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002588/1.715, allocations: 1.644 MB / 1.68 GB, free: 15.94 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005208/1.72, allocations: 7.059 MB / 1.687 GB, free: 7.312 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003234/1.723, allocations: 1.726 MB / 1.689 GB, free: 5.555 MB / 1.279 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00322/1.727, allocations: 277.1 kB / 1.689 GB, free: 5.281 MB / 1.279 GB Notification: Performance of pre-optimization done (n=347): time 9.498e-06/1.727, allocations: 0 / 1.689 GB, free: 5.281 MB / 1.279 GB Notification: Performance of matching and sorting (n=347): time 0.00879/1.735, allocations: 4.513 MB / 1.694 GB, free: 0.7227 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.264e-05/1.736, allocations: 111.8 kB / 1.694 GB, free: 0.5938 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009198/1.745, allocations: 5.744 MB / 1.699 GB, free: 10.88 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.0006439/1.745, allocations: 97.7 kB / 1.699 GB, free: 10.78 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.003091/1.749, allocations: 3.625 MB / 1.703 GB, free: 7.129 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.001726/1.75, allocations: 1.213 MB / 1.704 GB, free: 5.898 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004788/1.751, allocations: 330.7 kB / 1.705 GB, free: 5.566 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 9.665e-05/1.751, allocations: 301.1 kB / 1.705 GB, free: 5.27 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002264/1.753, allocations: 1.269 MB / 1.706 GB, free: 3.992 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002969/1.756, allocations: 2.406 MB / 1.708 GB, free: 1.09 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005759/1.762, allocations: 3.917 MB / 1.712 GB, free: 12.71 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-05/1.762, allocations: 12 kB / 1.712 GB, free: 12.7 MB / 1.311 GB Notification: Performance of matching and sorting (n=533) (initialization): time 0.008521/1.77, allocations: 4.592 MB / 1.717 GB, free: 8.078 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006677/1.771, allocations: 1.046 MB / 1.718 GB, free: 6.59 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-05/1.771, allocations: 47.98 kB / 1.718 GB, free: 6.543 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.039e-05/1.771, allocations: 52 kB / 1.718 GB, free: 6.492 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003178/1.774, allocations: 0.9049 MB / 1.719 GB, free: 5.586 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.708e-05/1.775, allocations: 75.72 kB / 1.719 GB, free: 5.512 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005647/1.78, allocations: 0.4909 MB / 1.719 GB, free: 5.02 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004529/1.781, allocations: 211.9 kB / 1.719 GB, free: 4.812 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 9.889e-06/1.781, allocations: 4 kB / 1.719 GB, free: 4.809 MB / 1.311 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006854/1.788, allocations: 3.942 MB / 1.723 GB, free: 0.8477 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.961e-05/1.788, allocations: 43.98 kB / 1.723 GB, free: 0.8047 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.562e-05/1.788, allocations: 52 kB / 1.723 GB, free: 0.7539 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003109/1.791, allocations: 0.9048 MB / 1.724 GB, free: 15.85 MB / 1.326 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.623e-05/1.791, allocations: 80.06 kB / 1.724 GB, free: 15.77 MB / 1.326 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005637/1.797, allocations: 490.8 kB / 1.725 GB, free: 15.29 MB / 1.326 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004334/1.797, allocations: 219.9 kB / 1.725 GB, free: 15.07 MB / 1.326 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 141 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.DataReader.nextTimeEvent,$whenCondition1,lessThreshold.y,DataReader.nextTimeEventScaled,$PRE.DataReader.nextTimeEventScaled,DataReader.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (521): * Single equations (assignments): 509 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.003146/1.8, allocations: 1.414 MB / 1.726 GB, free: 13.65 MB / 1.326 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001602/1.802, allocations: 0.6791 MB / 1.727 GB, free: 12.96 MB / 1.326 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01004/1.812, allocations: 5.58 MB / 1.733 GB, free: 7.465 MB / 1.326 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.338e-05/1.812, allocations: 63.89 kB / 1.733 GB, free: 7.402 MB / 1.326 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.166e-05/1.812, allocations: 4 kB / 1.733 GB, free: 7.398 MB / 1.326 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005728/1.818, allocations: 3.659 MB / 1.736 GB, free: 3.727 MB / 1.326 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 postOpt removeSimpleEquations (simulation): time 0.02107/1.839, allocations: 11.98 MB / 1.748 GB, free: 7.496 MB / 1.342 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.389e-05/1.839, allocations: 23.92 kB / 1.748 GB, free: 7.473 MB / 1.342 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002863/1.842, allocations: 0.7063 MB / 1.749 GB, free: 6.766 MB / 1.342 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.237e-05/1.842, allocations: 16 kB / 1.749 GB, free: 6.75 MB / 1.342 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002905/1.842, allocations: 123.9 kB / 1.749 GB, free: 6.629 MB / 1.342 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.88e-05/1.842, allocations: 16 kB / 1.749 GB, free: 6.613 MB / 1.342 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/1.842, allocations: 7.938 kB / 1.749 GB, free: 6.605 MB / 1.342 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 1.159/3.001, allocations: 6.864 MB / 1.755 GB, free: 490.8 MB / 1.342 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005362/3.007, allocations: 1.466 MB / 1.757 GB, free: 490.7 MB / 1.342 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002016/3.009, allocations: 83.78 kB / 1.757 GB, free: 490.7 MB / 1.342 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006547/3.015, allocations: 0.5676 MB / 1.758 GB, free: 490.7 MB / 1.342 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000736/3.016, allocations: 315.9 kB / 1.758 GB, free: 490.7 MB / 1.342 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006051/3.017, allocations: 200.2 kB / 1.758 GB, free: 490.7 MB / 1.342 GB Notification: Performance of sorting global known variables: time 0.009589/3.026, allocations: 3.814 MB / 1.762 GB, free: 490.5 MB / 1.342 GB Notification: Performance of sort global known variables: time 5.81e-07/3.026, allocations: 0 / 1.762 GB, free: 490.5 MB / 1.342 GB Notification: Performance of remove unused functions: time 0.01831/3.045, allocations: 4.442 MB / 1.766 GB, free: 490.5 MB / 1.342 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 31 (pip1.del.x,pip1.timDel.x,pip1.vol_b.dynBal.U,pip1.vol_a.dynBal.U,pip4.del.x,pip4.timDel.x,pip4.vol_b.dynBal.U,pip4.vol_a.dynBal.U,pip5.del.x,pip5.timDel.x,pip5.vol_b.dynBal.U,pip5.vol_a.dynBal.U,pip2.del.x,pip2.timDel.x,pip2.vol_b.dynBal.U,pip2.vol_a.dynBal.U,pip3.del.x,pip3.timDel.x,pip3.vol_b.dynBal.U,pip3.vol_a.dynBal.U,senTem_p3.T,senTem_p2.T,senTem_p4.T,senTem_p1.T,pip0.del.x,pip0.timDel.x,pip0.vol_b.dynBal.U,pip0.vol_a.dynBal.U,senTemIn_p2.T,splPip1.vol.dynBal.U,splPip2.vol.dynBal.U) * Number of discrete variables: 4 ($whenCondition1,DataReader.nextTimeEvent,DataReader.nextTimeEventScaled,lessThreshold.y) * Number of discrete states: 2 (DataReader.nextTimeEvent,DataReader.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (431): * Single equations (assignments): 365 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 64 * When equations: 2 * 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.006618/3.051, allocations: 2.687 MB / 1.769 GB, free: 490.3 MB / 1.342 GB Notification: Performance of simCode: created initialization part: time 0.01291/3.064, allocations: 6.512 MB / 1.775 GB, free: 487.7 MB / 1.342 GB Notification: Performance of simCode: created event and clocks part: time 1.475e-05/3.064, allocations: 5.031 kB / 1.775 GB, free: 487.7 MB / 1.342 GB Notification: Performance of simCode: created simulation system equations: time 0.004165/3.068, allocations: 2.525 MB / 1.778 GB, free: 486.5 MB / 1.342 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02328/3.092, allocations: 3.534 MB / 1.781 GB, free: 485.8 MB / 1.342 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02773/3.119, allocations: 17.1 MB / 1.798 GB, free: 476 MB / 1.342 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005233/3.125, allocations: 3.72 MB / 1.801 GB, free: 475 MB / 1.342 GB Notification: Performance of simCode: alias equations: time 0.01055/3.135, allocations: 1.887 MB / 1.803 GB, free: 474.6 MB / 1.342 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002356/3.138, allocations: 0.6446 MB / 1.804 GB, free: 474.5 MB / 1.342 GB Notification: Performance of SimCode: time 9.52e-07/3.138, allocations: 0 / 1.804 GB, free: 474.5 MB / 1.342 GB Notification: Performance of Templates: time 0.2209/3.359, allocations: 149.1 MB / 1.949 GB, free: 347 MB / 1.342 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT.sim & ./Buildings_3.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT.pipe 2>&1)