Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.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.SeriesParallelDp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp") translateModel(BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001347/0.001347, allocations: 115.9 kB / 16.42 MB, free: 6.473 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.001575/0.001575, allocations: 186.6 kB / 17.35 MB, free: 5.75 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.425/1.425, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002164/0.002164, allocations: 295.5 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.9393/0.9393, allocations: 169.3 MB / 0.499 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001779/0.001779, allocations: 95.84 kB / 0.6821 GB, free: 6.938 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3728/0.3746, allocations: 86.97 MB / 0.7671 GB, free: 3.887 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp): time 0.1621/0.5367, allocations: 167.7 MB / 0.9309 GB, free: 11.5 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.005572/0.5423, allocations: 4.065 MB / 0.9348 GB, free: 7.414 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004897/0.5428, allocations: 23.88 kB / 0.9349 GB, free: 7.391 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0007907/0.5436, allocations: 250.5 kB / 0.9351 GB, free: 7.145 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.001813/0.5455, allocations: 0.7001 MB / 0.9358 GB, free: 6.441 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.001337/0.5468, allocations: 493.1 kB / 0.9363 GB, free: 5.965 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.002979/0.5498, allocations: 2.775 MB / 0.939 GB, free: 3.184 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002971/0.5528, allocations: 2.56 MB / 0.9415 GB, free: 0.6133 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002271/0.5551, allocations: 1.292 MB / 0.9427 GB, free: 15.32 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001292/0.5564, allocations: 0.8675 MB / 0.9436 GB, free: 14.45 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0002911/0.5567, allocations: 72 kB / 0.9436 GB, free: 14.38 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001747/0.5585, allocations: 0.8147 MB / 0.9444 GB, free: 13.56 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0005057/0.559, allocations: 374.7 kB / 0.9448 GB, free: 13.19 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001012/0.56, allocations: 0.614 MB / 0.9454 GB, free: 12.57 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002168/0.5622, allocations: 1.63 MB / 0.947 GB, free: 10.94 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.5622, allocations: 4 kB / 0.947 GB, free: 10.94 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.182e-06/0.5622, allocations: 0 / 0.947 GB, free: 10.94 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5e-05/0.5623, allocations: 4 kB / 0.947 GB, free: 10.93 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.003235/0.5655, allocations: 1.607 MB / 0.9486 GB, free: 9.262 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/0.5656, allocations: 8.031 kB / 0.9486 GB, free: 9.254 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009512/0.5665, allocations: 206.3 kB / 0.9488 GB, free: 9.051 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001802/0.5683, allocations: 0.928 MB / 0.9497 GB, free: 8.066 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.785e-05/0.5684, allocations: 49.31 kB / 0.9497 GB, free: 8.02 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001254/0.5685, allocations: 60 kB / 0.9498 GB, free: 7.961 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001623/0.5701, allocations: 0.9948 MB / 0.9508 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.606e-05/0.5702, allocations: 0 / 0.9508 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.669e-05/0.5703, allocations: 24 kB / 0.9508 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.36e-05/0.5703, allocations: 12 kB / 0.9508 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001375/0.5717, allocations: 0.7999 MB / 0.9516 GB, free: 6.059 MB / 0.7169 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.004834/0.5765, allocations: 4.765 MB / 0.9562 GB, free: 0.9492 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3474/0.9239, allocations: 4.016 MB / 0.9601 GB, free: 187.5 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007336/0.9247, allocations: 342.4 kB / 0.9605 GB, free: 187.5 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002979/0.925, allocations: 199.4 kB / 0.9607 GB, free: 187.3 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006978/0.9257, allocations: 328.6 kB / 0.961 GB, free: 187.2 MB / 0.7169 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003181/0.9261, allocations: 27.75 kB / 0.961 GB, free: 187.2 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=35): time 3.447e-06/0.9261, allocations: 0 / 0.961 GB, free: 187.2 MB / 0.7169 GB Notification: Performance of matching and sorting (n=35): time 0.005714/0.9318, allocations: 1.671 MB / 0.9626 GB, free: 186.8 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.784e-05/0.9318, allocations: 86.17 kB / 0.9627 GB, free: 186.7 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001407/0.9332, allocations: 1.186 MB / 0.9639 GB, free: 186.3 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.751e-05/0.9333, allocations: 37.73 kB / 0.9639 GB, free: 186.3 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003321/0.9336, allocations: 0.5145 MB / 0.9644 GB, free: 185.9 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 7.423e-05/0.9337, allocations: 120.9 kB / 0.9645 GB, free: 185.9 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001536/0.9339, allocations: 120.2 kB / 0.9646 GB, free: 185.8 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.803e-05/0.9339, allocations: 325.8 kB / 0.965 GB, free: 185.5 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004044/0.9343, allocations: 242 kB / 0.9652 GB, free: 185.4 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005483/0.9349, allocations: 0.5625 MB / 0.9657 GB, free: 185 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008377/0.9358, allocations: 0.6825 MB / 0.9664 GB, free: 184.6 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/0.9358, allocations: 2.312 kB / 0.9664 GB, free: 184.6 MB / 0.7169 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.002327/0.9381, allocations: 1.142 MB / 0.9675 GB, free: 184.2 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.942e-05/0.9381, allocations: 35.31 kB / 0.9675 GB, free: 184.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/0.9382, allocations: 8.062 kB / 0.9676 GB, free: 184.1 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001544/0.9397, allocations: 473 kB / 0.968 GB, free: 184.1 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003217/0.94, allocations: 66.25 kB / 0.9681 GB, free: 184 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001276/0.9413, allocations: 1.122 MB / 0.9692 GB, free: 183.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008156/0.9422, allocations: 63.45 kB / 0.9692 GB, free: 183.3 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.855e-05/0.9422, allocations: 26.64 kB / 0.9693 GB, free: 183.3 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006831/0.9429, allocations: 0.5224 MB / 0.9698 GB, free: 183.1 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004333/0.9433, allocations: 0.5252 MB / 0.9703 GB, free: 182.7 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006133/0.944, allocations: 0.5979 MB / 0.9709 GB, free: 182.3 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.715e-06/0.944, allocations: 5.25 kB / 0.9709 GB, free: 182.3 MB / 0.7169 GB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.001376/0.9454, allocations: 0.9178 MB / 0.9718 GB, free: 181.9 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.291e-05/0.9454, allocations: 33.64 kB / 0.9718 GB, free: 181.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.9454, allocations: 8.844 kB / 0.9718 GB, free: 181.9 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005035/0.9459, allocations: 246.5 kB / 0.972 GB, free: 181.9 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002929/0.9462, allocations: 71.55 kB / 0.9721 GB, free: 181.9 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003071/0.9493, allocations: 3.36 MB / 0.9754 GB, free: 178.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008057/0.9501, allocations: 71.91 kB / 0.9755 GB, free: 178.9 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.356e-05/0.9502, allocations: 20.88 kB / 0.9755 GB, free: 178.8 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_m_flow.count,$PRE.pulse_m_flow.count,pulse_m_flow.T_start,$PRE.pulse_m_flow.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 33 * 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 {(11,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0001589/0.9503, allocations: 219.3 kB / 0.9757 GB, free: 178.6 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001039/0.9504, allocations: 114.6 kB / 0.9758 GB, free: 178.5 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001201/0.9516, allocations: 0.8124 MB / 0.9766 GB, free: 177.7 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.713e-06/0.9517, allocations: 7.984 kB / 0.9766 GB, free: 177.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.9517, allocations: 3.938 kB / 0.9766 GB, free: 177.7 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003011/0.952, allocations: 227.7 kB / 0.9768 GB, free: 177.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001183/0.9521, allocations: 11.98 kB / 0.9768 GB, free: 177.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005514/0.9527, allocations: 41.77 kB / 0.9769 GB, free: 177.4 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001068/0.9528, allocations: 47.92 kB / 0.9769 GB, free: 177.3 MB / 0.7169 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001336/0.9541, allocations: 0.8618 MB / 0.9778 GB, free: 176.5 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009962/0.9551, allocations: 1.004 MB / 0.9787 GB, free: 175.5 MB / 0.7169 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002907/0.9554, allocations: 207.8 kB / 0.9789 GB, free: 175.3 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0007591/0.9562, allocations: 0.8367 MB / 0.9797 GB, free: 174.4 MB / 0.7169 GB Notification: Performance of Backend: time 5.41e-07/0.9562, allocations: 0 / 0.9797 GB, free: 174.4 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002863/0.9591, allocations: 1.38 MB / 0.9811 GB, free: 173.1 MB / 0.7169 GB Notification: Performance of SimCode: time 0.003219/0.9623, allocations: 2.901 MB / 0.9839 GB, free: 170.1 MB / 0.7169 GB Notification: Performance of Templates: time 0.02601/0.9883, allocations: 22.04 MB / 1.005 GB, free: 148.4 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.sim & ./BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe 2>&1)