Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.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.PlugFlowULg,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg") translateModel(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001108/0.001108, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001217/0.001217, allocations: 196.6 kB / 16.14 MB, free: 6.695 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.413/1.413, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.774/2.774, allocations: 472.6 MB / 0.7447 GB, free: 5.016 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 64.33 kB / 0.9114 GB, free: 33.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3262/0.3274, allocations: 159.9 MB / 1.068 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg): time 0.07908/0.4066, allocations: 76.38 MB / 1.142 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.03149/0.4381, allocations: 20.1 MB / 1.162 GB, free: 10.12 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003695/0.4419, allocations: 79.5 kB / 1.162 GB, free: 10.05 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.003638/0.4456, allocations: 0.8042 MB / 1.163 GB, free: 9.238 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0123/0.4579, allocations: 2.644 MB / 1.165 GB, free: 6.586 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.007109/0.465, allocations: 1.897 MB / 1.167 GB, free: 4.699 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.009219/0.4742, allocations: 6.71 MB / 1.174 GB, free: 13.97 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002916/0.4772, allocations: 1.387 MB / 1.175 GB, free: 12.55 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00446/0.4817, allocations: 1.816 MB / 1.177 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002975/0.4847, allocations: 1.474 MB / 1.178 GB, free: 9.242 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0006861/0.4854, allocations: 92 kB / 1.178 GB, free: 9.152 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004955/0.4903, allocations: 1.817 MB / 1.18 GB, free: 7.332 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0008151/0.4912, allocations: 390.2 kB / 1.18 GB, free: 6.949 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.002417/0.4936, allocations: 1.002 MB / 1.181 GB, free: 5.941 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.006872/0.5005, allocations: 3.389 MB / 1.185 GB, free: 2.543 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.5005, allocations: 0 / 1.185 GB, free: 2.543 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.132e-06/0.5005, allocations: 4 kB / 1.185 GB, free: 2.539 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 0.0001142/0.5006, allocations: 0 / 1.185 GB, free: 2.539 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 312 * Number of variables: 312 Notification: Performance of Generate backend data structure: time 0.006384/0.507, allocations: 2.505 MB / 1.187 GB, free: 15.97 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/0.5071, allocations: 8.031 kB / 1.187 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0022/0.5093, allocations: 401.1 kB / 1.188 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004012/0.5133, allocations: 1.777 MB / 1.189 GB, free: 13.74 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.793e-05/0.5134, allocations: 94.44 kB / 1.189 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002531/0.5137, allocations: 128 kB / 1.189 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003262/0.5169, allocations: 1.436 MB / 1.191 GB, free: 11.98 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.096e-05/0.517, allocations: 7.844 kB / 1.191 GB, free: 11.97 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001615/0.5172, allocations: 59.94 kB / 1.191 GB, free: 11.91 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.632e-05/0.5172, allocations: 32 kB / 1.191 GB, free: 11.88 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002687/0.5199, allocations: 1.07 MB / 1.192 GB, free: 10.8 MB / 0.9512 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.01036/0.5303, allocations: 7.851 MB / 1.2 GB, free: 2.336 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003613/0.5339, allocations: 0.9875 MB / 1.201 GB, free: 1.34 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008974/0.5348, allocations: 435.8 kB / 1.201 GB, free: 0.9102 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001741/0.5366, allocations: 1.86 MB / 1.203 GB, free: 14.64 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001122/0.5377, allocations: 0.4984 MB / 1.203 GB, free: 14.14 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=84): time 3.446e-06/0.5377, allocations: 0 / 1.203 GB, free: 14.14 MB / 0.9669 GB Notification: Performance of matching and sorting (n=84): time 0.003096/0.5408, allocations: 1.261 MB / 1.205 GB, free: 12.87 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.345e-05/0.5409, allocations: 85.77 kB / 1.205 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002251/0.5432, allocations: 1.379 MB / 1.206 GB, free: 11.38 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 8.179e-05/0.5433, allocations: 45.7 kB / 1.206 GB, free: 11.33 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007182/0.544, allocations: 0.8217 MB / 1.207 GB, free: 10.5 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003054/0.5443, allocations: 303.7 kB / 1.207 GB, free: 10.2 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003331/0.5447, allocations: 202.8 kB / 1.207 GB, free: 9.988 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001299/0.5448, allocations: 341.9 kB / 1.208 GB, free: 9.648 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008769/0.5457, allocations: 377.8 kB / 1.208 GB, free: 9.277 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001135/0.5468, allocations: 0.6715 MB / 1.209 GB, free: 8.473 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001978/0.5488, allocations: 1.052 MB / 1.21 GB, free: 7.297 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.795e-06/0.5488, allocations: 3.938 kB / 1.21 GB, free: 7.293 MB / 0.9669 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002751/0.5516, allocations: 1.245 MB / 1.211 GB, free: 6.039 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.5516, allocations: 12 kB / 1.211 GB, free: 6.027 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.837e-05/0.5517, allocations: 11.98 kB / 1.211 GB, free: 6.016 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.083e-05/0.5517, allocations: 16 kB / 1.211 GB, free: 6 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009719/0.5527, allocations: 248.1 kB / 1.211 GB, free: 5.758 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.846e-05/0.5527, allocations: 23.92 kB / 1.211 GB, free: 5.734 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001418/0.5541, allocations: 174.9 kB / 1.211 GB, free: 5.562 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001236/0.5543, allocations: 59.97 kB / 1.211 GB, free: 5.504 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001317/0.5556, allocations: 0.6353 MB / 1.212 GB, free: 4.863 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00111/0.5567, allocations: 0.6714 MB / 1.213 GB, free: 4.055 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001976/0.5587, allocations: 1.056 MB / 1.214 GB, free: 2.879 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.927e-06/0.5587, allocations: 4 kB / 1.214 GB, free: 2.875 MB / 0.9669 GB Notification: Performance of matching and sorting (n=130) (initialization_lambda0): time 0.00273/0.5615, allocations: 1.249 MB / 1.215 GB, free: 1.621 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.832e-05/0.5615, allocations: 9.562 kB / 1.215 GB, free: 1.613 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.17e-05/0.5615, allocations: 12 kB / 1.215 GB, free: 1.602 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.5615, allocations: 12 kB / 1.215 GB, free: 1.59 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009441/0.5625, allocations: 247.6 kB / 1.215 GB, free: 1.348 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.032e-05/0.5625, allocations: 19.92 kB / 1.215 GB, free: 1.328 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001323/0.5638, allocations: 159.3 kB / 1.215 GB, free: 1.172 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001049/0.564, allocations: 51.98 kB / 1.215 GB, free: 1.121 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.DataReader.nextTimeEvent,$whenCondition1,DataReader.nextTimeEventScaled,$PRE.DataReader.nextTimeEventScaled,DataReader.nextTimeEvent,eneLosInt.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (128): * Single equations (assignments): 126 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0003143/0.5643, allocations: 262.3 kB / 1.216 GB, free: 0.8594 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003957/0.5647, allocations: 165.9 kB / 1.216 GB, free: 0.6953 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003271/0.568, allocations: 1.455 MB / 1.217 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.852e-05/0.568, allocations: 16 kB / 1.217 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.568, allocations: 0 / 1.217 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002129/0.5702, allocations: 1.101 MB / 1.218 GB, free: 14.1 MB / 0.9825 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.005583/0.5758, allocations: 2.915 MB / 1.221 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.55e-05/0.5758, allocations: 4.094 kB / 1.221 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008098/0.5766, allocations: 183.8 kB / 1.221 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.308e-05/0.5766, allocations: 4 kB / 1.221 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.627e-05/0.5767, allocations: 27.98 kB / 1.221 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.227e-06/0.5767, allocations: 8 kB / 1.221 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.5767, allocations: 3.938 kB / 1.221 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003695/0.5804, allocations: 1.891 MB / 1.223 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007335/0.5812, allocations: 378.6 kB / 1.224 GB, free: 8.574 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003317/0.5815, allocations: 20 kB / 1.224 GB, free: 8.555 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001293/0.5828, allocations: 127.7 kB / 1.224 GB, free: 8.43 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001597/0.583, allocations: 80.83 kB / 1.224 GB, free: 8.352 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001139/0.5831, allocations: 39.97 kB / 1.224 GB, free: 8.312 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001704/0.5848, allocations: 0.9318 MB / 1.225 GB, free: 7.387 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.91e-07/0.5848, allocations: 0 / 1.225 GB, free: 7.387 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.003174/0.588, allocations: 0.9822 MB / 1.226 GB, free: 6.402 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 5 (pipe.del.x,pipe.timDel.x,pipe.vol_b.dynBal.U,pipe.vol_a.dynBal.U,eneLosInt.y) * Number of discrete variables: 3 ($whenCondition1,DataReader.nextTimeEvent,DataReader.nextTimeEventScaled) * Number of discrete states: 2 (DataReader.nextTimeEvent,DataReader.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (102): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 15 * 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.002507/0.5905, allocations: 0.9696 MB / 1.227 GB, free: 5.609 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.003718/0.5943, allocations: 1.68 MB / 1.228 GB, free: 3.906 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 6.161e-06/0.5943, allocations: 4 kB / 1.228 GB, free: 3.902 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.001208/0.5955, allocations: 0.611 MB / 1.229 GB, free: 3.281 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00375/0.5992, allocations: 0.7389 MB / 1.23 GB, free: 2.555 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007869/0.6071, allocations: 3.884 MB / 1.234 GB, free: 14.63 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001144/0.6083, allocations: 1.33 MB / 1.235 GB, free: 13.27 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001933/0.6102, allocations: 446.8 kB / 1.235 GB, free: 12.86 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004656/0.6107, allocations: 163.3 kB / 1.235 GB, free: 12.7 MB / 0.9981 GB Notification: Performance of SimCode: time 4.61e-07/0.6107, allocations: 0 / 1.235 GB, free: 12.7 MB / 0.9981 GB Notification: Performance of Templates: time 0.6075/1.218, allocations: 33.77 MB / 1.268 GB, free: 169.4 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.makefile (rm -f Buildings_1.6_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.pipe >> ../files/Buildings_1.6_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.sim & ./Buildings_1.6_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.pipe 2>&1)