Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDp.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.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(BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDp") translateModel(BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001041/0.001041, allocations: 114.8 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.001096/0.001096, allocations: 186.6 kB / 17.35 MB, free: 5.746 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.29/1.29, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002149/0.002149, allocations: 293.3 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9353/0.9353, allocations: 169.3 MB / 0.499 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001764/0.001765, allocations: 91.84 kB / 0.6821 GB, free: 6.953 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3625/0.3643, allocations: 86.98 MB / 0.7671 GB, free: 3.922 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDp): time 0.1541/0.5184, allocations: 161.6 MB / 0.9249 GB, free: 1.695 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.004619/0.5231, allocations: 3.614 MB / 0.9284 GB, free: 14.07 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003443/0.5234, allocations: 11.88 kB / 0.9284 GB, free: 14.05 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0005294/0.524, allocations: 174.9 kB / 0.9286 GB, free: 13.88 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.001234/0.5253, allocations: 0.5406 MB / 0.9291 GB, free: 13.34 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.001137/0.5264, allocations: 441.7 kB / 0.9295 GB, free: 12.91 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.002644/0.5291, allocations: 2.545 MB / 0.932 GB, free: 10.36 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001208/0.5303, allocations: 0.945 MB / 0.9329 GB, free: 9.402 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001649/0.532, allocations: 1.051 MB / 0.934 GB, free: 8.348 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009732/0.5329, allocations: 0.7078 MB / 0.9346 GB, free: 7.637 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0001564/0.5331, allocations: 56 kB / 0.9347 GB, free: 7.582 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001301/0.5344, allocations: 0.7406 MB / 0.9354 GB, free: 6.84 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.000333/0.5348, allocations: 314.8 kB / 0.9357 GB, free: 6.531 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0006989/0.5355, allocations: 0.5362 MB / 0.9363 GB, free: 5.992 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.001546/0.537, allocations: 1.408 MB / 0.9376 GB, free: 4.582 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.537, allocations: 0 / 0.9376 GB, free: 4.582 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.182e-06/0.537, allocations: 8 kB / 0.9376 GB, free: 4.574 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 2.361e-05/0.5371, allocations: 0 / 0.9376 GB, free: 4.574 MB / 0.7012 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 0.002333/0.5394, allocations: 1.447 MB / 0.939 GB, free: 3.066 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.422e-05/0.5395, allocations: 12.03 kB / 0.9391 GB, free: 3.055 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007892/0.5403, allocations: 202.3 kB / 0.9393 GB, free: 2.855 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001426/0.5417, allocations: 0.8452 MB / 0.9401 GB, free: 1.953 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.795e-05/0.5417, allocations: 45 kB / 0.9401 GB, free: 1.906 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.618e-05/0.5418, allocations: 56 kB / 0.9402 GB, free: 1.852 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001145/0.543, allocations: 0.7926 MB / 0.9409 GB, free: 0.9883 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.542e-05/0.543, allocations: 7.938 kB / 0.941 GB, free: 0.9805 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.367e-05/0.5431, allocations: 20 kB / 0.941 GB, free: 0.9609 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.357e-05/0.5431, allocations: 16 kB / 0.941 GB, free: 0.9453 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009077/0.544, allocations: 0.5344 MB / 0.9415 GB, free: 416 kB / 0.7012 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.003941/0.548, allocations: 4.587 MB / 0.946 GB, free: 11.44 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000696/0.5487, allocations: 418.2 kB / 0.9464 GB, free: 11.02 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003784/0.549, allocations: 244.7 kB / 0.9466 GB, free: 10.78 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002731/0.5493, allocations: 194.4 kB / 0.9468 GB, free: 10.55 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004836/0.5498, allocations: 285.6 kB / 0.9471 GB, free: 10.25 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=31): time 1.943e-06/0.5498, allocations: 3.938 kB / 0.9471 GB, free: 10.25 MB / 0.7169 GB Notification: Performance of matching and sorting (n=31): time 0.004904/0.5547, allocations: 1.664 MB / 0.9487 GB, free: 8.559 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.569e-05/0.5548, allocations: 81.11 kB / 0.9488 GB, free: 8.461 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001293/0.5561, allocations: 1.122 MB / 0.9499 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.478e-05/0.5562, allocations: 33.7 kB / 0.9499 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003748/0.5565, allocations: 488.2 kB / 0.9504 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 8.447e-05/0.5566, allocations: 114.5 kB / 0.9505 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001607/0.5568, allocations: 113.9 kB / 0.9506 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001017/0.5569, allocations: 322 kB / 0.9509 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003827/0.5573, allocations: 214.4 kB / 0.9511 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005988/0.5579, allocations: 0.5251 MB / 0.9516 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008719/0.5588, allocations: 0.6286 MB / 0.9522 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.1e-06/0.5588, allocations: 4 kB / 0.9522 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002152/0.561, allocations: 1.04 MB / 0.9533 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.605e-05/0.561, allocations: 41.69 kB / 0.9533 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.561, allocations: 4 kB / 0.9533 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001267/0.5623, allocations: 383.5 kB / 0.9537 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002275/0.5625, allocations: 59.91 kB / 0.9537 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001343/0.5639, allocations: 1.089 MB / 0.9548 GB, free: 2.008 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005886/0.5645, allocations: 79.48 kB / 0.9549 GB, free: 1.93 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.78e-05/0.5646, allocations: 24 kB / 0.9549 GB, free: 1.906 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006529/0.5652, allocations: 0.5044 MB / 0.9554 GB, free: 1.398 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005348/0.5658, allocations: 489.9 kB / 0.9558 GB, free: 0.7852 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007373/0.5665, allocations: 0.5551 MB / 0.9564 GB, free: 156 kB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.715e-06/0.5665, allocations: 0 / 0.9564 GB, free: 156 kB / 0.7169 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.2881/0.8546, allocations: 0.829 MB / 0.9572 GB, free: 190.1 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.694e-05/0.8547, allocations: 36.17 kB / 0.9572 GB, free: 190.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.26e-05/0.8547, allocations: 6.172 kB / 0.9572 GB, free: 190.1 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005978/0.8553, allocations: 219.5 kB / 0.9574 GB, free: 190 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002358/0.8555, allocations: 61.33 kB / 0.9575 GB, free: 190 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003607/0.8591, allocations: 3.264 MB / 0.9607 GB, free: 188 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006751/0.8598, allocations: 67.3 kB / 0.9608 GB, free: 188 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.892e-05/0.8599, allocations: 22.56 kB / 0.9608 GB, free: 188 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 5 (pulse_p.count,$PRE.pulse_p.count,pulse_p.T_start,$PRE.pulse_p.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(9,11)} Notification: Performance of prepare postOptimizeDAE: time 0.000147/0.86, allocations: 222.4 kB / 0.961 GB, free: 187.8 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001101/0.8602, allocations: 99.36 kB / 0.9611 GB, free: 187.8 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001221/0.8614, allocations: 0.7103 MB / 0.9618 GB, free: 187.6 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.112e-06/0.8614, allocations: 1.266 kB / 0.9618 GB, free: 187.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.8614, allocations: 2.312 kB / 0.9618 GB, free: 187.6 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002846/0.8617, allocations: 208.5 kB / 0.962 GB, free: 187.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001072/0.8618, allocations: 6.938 kB / 0.962 GB, free: 187.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003729/0.8622, allocations: 24.05 kB / 0.962 GB, free: 187.4 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001053/0.8623, allocations: 47.81 kB / 0.9621 GB, free: 187.4 MB / 0.7169 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001336/0.8636, allocations: 0.7967 MB / 0.9628 GB, free: 187.1 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001075/0.8647, allocations: 0.9241 MB / 0.9637 GB, free: 186.6 MB / 0.7169 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003163/0.8651, allocations: 184 kB / 0.9639 GB, free: 186.5 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0008944/0.866, allocations: 0.7924 MB / 0.9647 GB, free: 186.3 MB / 0.7169 GB Notification: Performance of Backend: time 1.7e-07/0.866, allocations: 0 / 0.9647 GB, free: 186.3 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002973/0.869, allocations: 1.294 MB / 0.9659 GB, free: 185.7 MB / 0.7169 GB Notification: Performance of SimCode: time 0.003274/0.8722, allocations: 2.675 MB / 0.9686 GB, free: 184.4 MB / 0.7169 GB Notification: Performance of Templates: time 0.02305/0.8953, allocations: 20.34 MB / 0.9884 GB, free: 165.9 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDp.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDp.sim & ./BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDp -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe 2>&1)