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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.8142/0.8142, allocations: 141.8 MB / 149.3 MB, free: 9.25 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00109/0.00109, allocations: 188.2 kB / 182.2 MB, free: 9.473 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.527/1.527, allocations: 221.5 MB / 436.4 MB, free: 13.35 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001308/0.001308, allocations: 84.06 kB / 0.5074 GB, free: 10.18 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002686/0.002686, allocations: 280.8 kB / 0.5889 GB, free: 54.67 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.072e-05/2.051e-05, allocations: 4 kB / 0.6765 GB, free: 12.83 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4891/0.4892, allocations: 82.77 MB / 0.7574 GB, free: 32 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.363/5.852, allocations: 1.831 GB / 2.589 GB, free: 187.1 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003328/5.852, allocations: 103.9 kB / 2.589 GB, free: 187 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.284/10.14, allocations: 1.078 GB / 3.667 GB, free: 181.6 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.363e-06/10.14, allocations: 0 / 3.667 GB, free: 181.6 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001889/10.14, allocations: 31.42 kB / 3.667 GB, free: 181.6 MB / 0.698 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.005254/10.14, allocations: 1.268 MB / 3.668 GB, free: 181 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.659e-05/10.14, allocations: 11.72 kB / 3.668 GB, free: 181 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001735/10.14, allocations: 193.2 kB / 3.668 GB, free: 180.9 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00516/10.15, allocations: 1.454 MB / 3.669 GB, free: 180.6 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.356e-05/10.15, allocations: 22.72 kB / 3.669 GB, free: 180.6 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002406/10.15, allocations: 39.84 kB / 3.67 GB, free: 180.6 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001369/10.15, allocations: 0.6992 MB / 3.67 GB, free: 180.6 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001388/10.15, allocations: 0.8483 MB / 3.671 GB, free: 180.4 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.299e-05/10.15, allocations: 0 / 3.671 GB, free: 180.4 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.704e-05/10.15, allocations: 7.281 kB / 3.671 GB, free: 180.4 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.479e-05/10.15, allocations: 15.09 kB / 3.671 GB, free: 180.4 MB / 0.698 GB Warning: The model contains alias variables with conflicting start and/or 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.004624/10.16, allocations: 4.58 MB / 3.676 GB, free: 177 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001769/10.16, allocations: 4.034 MB / 3.679 GB, free: 172.6 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003849/10.16, allocations: 344.1 kB / 3.68 GB, free: 172.4 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002827/10.16, allocations: 188.4 kB / 3.68 GB, free: 172.2 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003917/10.16, allocations: 297.9 kB / 3.68 GB, free: 172.1 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005106/10.16, allocations: 17.48 kB / 3.68 GB, free: 172.1 MB / 0.698 GB Notification: Performance of pre-optimization done (n=36): time 2.795e-06/10.16, allocations: 4.125 kB / 3.68 GB, free: 172.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=36): time 0.001918/10.16, allocations: 0.8543 MB / 3.681 GB, free: 171.8 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.691e-05/10.16, allocations: 80.98 kB / 3.681 GB, free: 171.7 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001212/10.16, allocations: 0.9015 MB / 3.682 GB, free: 171.4 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.315e-05/10.16, allocations: 32.48 kB / 3.682 GB, free: 171.4 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003764/10.16, allocations: 0.5329 MB / 3.683 GB, free: 171 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 9.726e-05/10.16, allocations: 115.2 kB / 3.683 GB, free: 170.9 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.519e-05/10.16, allocations: 0 / 3.683 GB, free: 170.9 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.428e-05/10.16, allocations: 332.1 kB / 3.683 GB, free: 170.6 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000258/10.16, allocations: 205.9 kB / 3.683 GB, free: 170.5 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004384/10.16, allocations: 0.5375 MB / 3.684 GB, free: 170.1 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003443/10.16, allocations: 293.4 kB / 3.684 GB, free: 170 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/10.16, allocations: 2.375 kB / 3.684 GB, free: 170 MB / 0.698 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001728/10.17, allocations: 0.9924 MB / 3.685 GB, free: 169.5 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005702/10.17, allocations: 2.219 MB / 3.687 GB, free: 167.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.842e-05/10.17, allocations: 7.25 kB / 3.687 GB, free: 167.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005203/10.17, allocations: 285 kB / 3.687 GB, free: 167.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003386/10.17, allocations: 87.44 kB / 3.688 GB, free: 167 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001417/10.17, allocations: 1.227 MB / 3.689 GB, free: 166.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001096/10.17, allocations: 94.25 kB / 3.689 GB, free: 166.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.09e-05/10.17, allocations: 23.25 kB / 3.689 GB, free: 166.1 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/10.17, allocations: 3.812 kB / 3.689 GB, free: 166.1 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001138/10.17, allocations: 0.6797 MB / 3.69 GB, free: 165.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.098e-05/10.17, allocations: 7.859 kB / 3.69 GB, free: 165.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004931/10.17, allocations: 231.4 kB / 3.69 GB, free: 165.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002953/10.17, allocations: 79.44 kB / 3.69 GB, free: 165.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003313/10.18, allocations: 2.975 MB / 3.693 GB, free: 163.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009762/10.18, allocations: 88.03 kB / 3.693 GB, free: 163.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.212e-05/10.18, allocations: 25.66 kB / 3.693 GB, free: 163.4 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse_m_flow.T_start,pulse_m_flow.T_start,$PRE.pulse_m_flow.count,pulse_m_flow.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {11 12} Notification: Performance of prepare postOptimizeDAE: time 0.0001693/10.18, allocations: 126.3 kB / 3.693 GB, free: 163.3 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001721/10.18, allocations: 103.2 kB / 3.693 GB, free: 163.3 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001191/10.18, allocations: 0.7564 MB / 3.694 GB, free: 162.8 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/10.18, allocations: 7.562 kB / 3.694 GB, free: 162.8 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/10.18, allocations: 4 kB / 3.694 GB, free: 162.8 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/10.18, allocations: 0 / 3.694 GB, free: 162.8 MB / 0.698 GB Warning: The model contains alias variables with conflicting start and/or 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.002621/10.18, allocations: 2.043 MB / 3.696 GB, free: 161.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/10.18, allocations: 0 / 3.696 GB, free: 161.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002394/10.18, allocations: 55.12 kB / 3.696 GB, free: 161.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003074/10.18, allocations: 194.8 kB / 3.696 GB, free: 161.1 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.55e-05/10.18, allocations: 11.95 kB / 3.696 GB, free: 161.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007378/10.18, allocations: 0.9497 MB / 3.697 GB, free: 160.1 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-06/10.18, allocations: 6.781 kB / 3.697 GB, free: 160.1 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009637/10.18, allocations: 0.9418 MB / 3.698 GB, free: 159.1 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003867/10.18, allocations: 227.7 kB / 3.698 GB, free: 158.8 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000163/10.18, allocations: 7.5 kB / 3.698 GB, free: 158.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000729/10.18, allocations: 76.88 kB / 3.698 GB, free: 158.8 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.657e-05/10.19, allocations: 27.95 kB / 3.698 GB, free: 158.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.586e-05/10.19, allocations: 12 kB / 3.698 GB, free: 158.7 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0007939/10.19, allocations: 0.7025 MB / 3.699 GB, free: 158 MB / 0.698 GB Notification: Performance of sort global known variables: time 8.21e-07/10.19, allocations: 2.219 kB / 3.699 GB, free: 158 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.00188/10.19, allocations: 0.5667 MB / 3.699 GB, free: 157.5 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,pulse_m_flow.T_start,pulse_m_flow.count) * Number of discrete states: 1 (pulse_m_flow.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {11 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001835/10.19, allocations: 1.272 MB / 3.701 GB, free: 156.5 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002157/10.19, allocations: 1.221 MB / 3.702 GB, free: 155.2 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/10.19, allocations: 2.375 kB / 3.702 GB, free: 155.2 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004717/10.19, allocations: 286.5 kB / 3.702 GB, free: 155 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002963/10.2, allocations: 0.5881 MB / 3.703 GB, free: 154.4 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002515/10.2, allocations: 1.424 MB / 3.704 GB, free: 153 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007517/10.2, allocations: 1.238 MB / 3.705 GB, free: 151.7 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002046/10.2, allocations: 0.7265 MB / 3.706 GB, free: 151 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001118/10.2, allocations: 51.44 kB / 3.706 GB, free: 151 MB / 0.698 GB Notification: Performance of SimCode: time 1.042e-06/10.2, allocations: 0 / 3.706 GB, free: 151 MB / 0.698 GB Notification: Performance of Templates: time 0.03918/10.24, allocations: 25.7 MB / 3.731 GB, free: 126 MB / 0.698 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)