Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg") translateModel(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.001416/0.001416, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001731/0.001731, allocations: 195.7 kB / 16.14 MB, free: 6.711 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.409/1.409, allocations: 222.9 MB / 239.8 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.839/2.839, allocations: 472.6 MB / 0.7447 GB, free: 4.965 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 65.42 kB / 0.9113 GB, free: 33.7 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3475/0.3488, allocations: 159.9 MB / 1.068 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg): time 0.07088/0.4197, allocations: 76.38 MB / 1.142 GB, free: 14.31 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.03066/0.4504, allocations: 20.12 MB / 1.162 GB, free: 10.13 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004681/0.4552, allocations: 71.56 kB / 1.162 GB, free: 10.06 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.003954/0.4592, allocations: 0.808 MB / 1.163 GB, free: 9.25 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.009487/0.4687, allocations: 2.636 MB / 1.165 GB, free: 6.605 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.006585/0.4753, allocations: 1.895 MB / 1.167 GB, free: 4.719 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.00912/0.4844, allocations: 6.719 MB / 1.174 GB, free: 13.98 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00314/0.4876, allocations: 1.387 MB / 1.175 GB, free: 12.56 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004579/0.4922, allocations: 1.804 MB / 1.177 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003444/0.4957, allocations: 1.49 MB / 1.178 GB, free: 9.25 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0006892/0.4964, allocations: 92 kB / 1.178 GB, free: 9.16 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005434/0.5018, allocations: 1.809 MB / 1.18 GB, free: 7.348 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0009114/0.5028, allocations: 390.2 kB / 1.18 GB, free: 6.965 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.002657/0.5055, allocations: 1.002 MB / 1.181 GB, free: 5.957 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.00748/0.513, allocations: 3.4 MB / 1.185 GB, free: 2.547 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.513, allocations: 0 / 1.185 GB, free: 2.547 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.333e-06/0.513, allocations: 0 / 1.185 GB, free: 2.547 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 0.0001142/0.5131, allocations: 0 / 1.185 GB, free: 2.547 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.006941/0.5201, allocations: 2.502 MB / 1.187 GB, free: 15.98 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.051e-05/0.5201, allocations: 8.031 kB / 1.187 GB, free: 15.98 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002414/0.5226, allocations: 401.1 kB / 1.188 GB, free: 15.58 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003851/0.5264, allocations: 1.781 MB / 1.189 GB, free: 13.75 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.45e-05/0.5265, allocations: 94.38 kB / 1.189 GB, free: 13.65 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002515/0.5268, allocations: 128 kB / 1.189 GB, free: 13.53 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002658/0.5294, allocations: 1.433 MB / 1.191 GB, free: 11.99 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.682e-05/0.5295, allocations: 15.84 kB / 1.191 GB, free: 11.97 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001186/0.5296, allocations: 51.94 kB / 1.191 GB, free: 11.92 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.467e-05/0.5297, allocations: 32 kB / 1.191 GB, free: 11.89 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002295/0.532, allocations: 1.082 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.009597/0.5416, allocations: 7.844 MB / 1.2 GB, free: 2.344 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003637/0.5452, allocations: 0.9838 MB / 1.201 GB, free: 1.352 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008856/0.5461, allocations: 443.8 kB / 1.201 GB, free: 0.9141 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0022/0.5484, allocations: 1.856 MB / 1.203 GB, free: 14.65 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001148/0.5495, allocations: 0.4944 MB / 1.203 GB, free: 14.15 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=84): time 5.37e-06/0.5495, allocations: 0 / 1.203 GB, free: 14.15 MB / 0.9669 GB Notification: Performance of matching and sorting (n=84): time 0.003439/0.553, allocations: 1.265 MB / 1.205 GB, free: 12.88 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.76e-05/0.5531, allocations: 93.7 kB / 1.205 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002175/0.5553, allocations: 1.375 MB / 1.206 GB, free: 11.38 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 9.581e-05/0.5554, allocations: 49.7 kB / 1.206 GB, free: 11.33 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008118/0.5562, allocations: 0.8178 MB / 1.207 GB, free: 10.5 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003145/0.5565, allocations: 295.7 kB / 1.207 GB, free: 10.21 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003269/0.5569, allocations: 206.8 kB / 1.207 GB, free: 9.996 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000151/0.557, allocations: 349.9 kB / 1.208 GB, free: 9.648 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008345/0.5579, allocations: 365.9 kB / 1.208 GB, free: 9.289 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001106/0.559, allocations: 0.6637 MB / 1.209 GB, free: 8.492 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001934/0.5609, allocations: 1.063 MB / 1.21 GB, free: 7.305 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.478e-06/0.5609, allocations: 7.938 kB / 1.21 GB, free: 7.297 MB / 0.9669 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002837/0.5638, allocations: 1.242 MB / 1.211 GB, free: 6.047 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.564e-05/0.5638, allocations: 9.719 kB / 1.211 GB, free: 6.039 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.229e-05/0.5639, allocations: 12 kB / 1.211 GB, free: 6.027 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.995e-05/0.5639, allocations: 12 kB / 1.211 GB, free: 6.016 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009647/0.5649, allocations: 251.6 kB / 1.211 GB, free: 5.77 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.249e-05/0.5649, allocations: 19.94 kB / 1.211 GB, free: 5.75 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001528/0.5664, allocations: 179 kB / 1.211 GB, free: 5.574 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001013/0.5665, allocations: 55.98 kB / 1.211 GB, free: 5.52 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001456/0.568, allocations: 0.6359 MB / 1.212 GB, free: 4.879 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00108/0.5691, allocations: 0.6792 MB / 1.213 GB, free: 4.062 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00193/0.571, allocations: 1.052 MB / 1.214 GB, free: 2.891 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.342e-06/0.5711, allocations: 4.156 kB / 1.214 GB, free: 2.887 MB / 0.9669 GB Notification: Performance of matching and sorting (n=130) (initialization_lambda0): time 0.002716/0.5738, allocations: 1.245 MB / 1.215 GB, free: 1.637 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.714e-05/0.5738, allocations: 8 kB / 1.215 GB, free: 1.629 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.192e-05/0.5738, allocations: 12.81 kB / 1.215 GB, free: 1.617 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.5739, allocations: 16 kB / 1.215 GB, free: 1.602 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009584/0.5748, allocations: 251.6 kB / 1.215 GB, free: 1.355 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.38e-05/0.5749, allocations: 19.94 kB / 1.215 GB, free: 1.336 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001445/0.5763, allocations: 155.3 kB / 1.215 GB, free: 1.184 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001075/0.5764, allocations: 51.98 kB / 1.215 GB, free: 1.133 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.0003769/0.5768, allocations: 255.8 kB / 1.216 GB, free: 0.875 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003099/0.5771, allocations: 169.9 kB / 1.216 GB, free: 0.707 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003246/0.5804, allocations: 1.455 MB / 1.217 GB, free: 15.26 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-05/0.5804, allocations: 23.92 kB / 1.217 GB, free: 15.24 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.345e-06/0.5805, allocations: 0 / 1.217 GB, free: 15.24 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002088/0.5825, allocations: 1.09 MB / 1.218 GB, free: 14.12 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.00546/0.588, allocations: 2.911 MB / 1.221 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.22e-05/0.5881, allocations: 7.984 kB / 1.221 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000886/0.589, allocations: 183.9 kB / 1.221 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.008e-05/0.589, allocations: 4 kB / 1.221 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.712e-05/0.5891, allocations: 31.97 kB / 1.221 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.945e-06/0.5891, allocations: 4 kB / 1.221 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.051e-06/0.5891, allocations: 7.938 kB / 1.221 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003688/0.5928, allocations: 1.891 MB / 1.223 GB, free: 8.977 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000776/0.5936, allocations: 382.6 kB / 1.224 GB, free: 8.582 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002167/0.5938, allocations: 16 kB / 1.224 GB, free: 8.566 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001124/0.5949, allocations: 131.7 kB / 1.224 GB, free: 8.438 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001523/0.5951, allocations: 72.83 kB / 1.224 GB, free: 8.367 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.421e-05/0.5952, allocations: 47.97 kB / 1.224 GB, free: 8.32 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001492/0.5967, allocations: 0.9279 MB / 1.225 GB, free: 7.398 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.8e-07/0.5967, allocations: 4 kB / 1.225 GB, free: 7.395 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.002959/0.5997, allocations: 0.9783 MB / 1.226 GB, free: 6.414 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.002249/0.6019, allocations: 0.9767 MB / 1.227 GB, free: 5.613 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.003655/0.6056, allocations: 1.673 MB / 1.228 GB, free: 3.918 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.379e-06/0.6056, allocations: 256 / 1.228 GB, free: 3.918 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.001138/0.6068, allocations: 0.6102 MB / 1.229 GB, free: 3.297 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003523/0.6103, allocations: 0.7383 MB / 1.23 GB, free: 2.57 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007573/0.6179, allocations: 3.892 MB / 1.234 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009122/0.6188, allocations: 1.319 MB / 1.235 GB, free: 13.29 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001781/0.6206, allocations: 455.5 kB / 1.235 GB, free: 12.87 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004064/0.621, allocations: 163.3 kB / 1.235 GB, free: 12.71 MB / 0.9981 GB Notification: Performance of SimCode: time 8.11e-07/0.621, allocations: 0 / 1.235 GB, free: 12.71 MB / 0.9981 GB Notification: Performance of Templates: time 0.5605/1.181, allocations: 33.76 MB / 1.268 GB, free: 169.4 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.sim & ./Buildings_3.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.pipe 2>&1)