Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow") translateModel(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009241/0.0009243, allocations: 94.44 kB / 16.67 MB, free: 5.859 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.001072/0.001072, allocations: 181.1 kB / 17.57 MB, free: 5.543 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.318/1.318, allocations: 223.3 MB / 241.6 MB, free: 14.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.727/0.727, allocations: 115.5 MB / 408.2 MB, free: 7.168 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003835/0.0003835, allocations: 12 kB / 496.5 MB, free: 15.66 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4315/0.4319, allocations: 77.51 MB / 0.5606 GB, free: 35.51 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow): time 0.1844/0.6163, allocations: 163.3 MB / 0.7201 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003809/0.6202, allocations: 2.203 MB / 0.7223 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003881/0.6206, allocations: 15.88 kB / 0.7223 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0007248/0.6213, allocations: 202.9 kB / 0.7225 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00163/0.623, allocations: 0.6381 MB / 0.7231 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001144/0.6241, allocations: 385.9 kB / 0.7235 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003718/0.6279, allocations: 3.795 MB / 0.7272 GB, free: 8.246 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002805/0.6307, allocations: 2.348 MB / 0.7294 GB, free: 5.879 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002441/0.6331, allocations: 1.113 MB / 0.7305 GB, free: 4.762 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001208/0.6344, allocations: 0.8674 MB / 0.7314 GB, free: 3.891 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001101/0.6345, allocations: 48 kB / 0.7314 GB, free: 3.844 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00163/0.6361, allocations: 0.8964 MB / 0.7323 GB, free: 2.945 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003291/0.6365, allocations: 326.8 kB / 0.7326 GB, free: 2.625 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0006967/0.6372, allocations: 0.6001 MB / 0.7332 GB, free: 2.016 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001205/0.6384, allocations: 1.165 MB / 0.7343 GB, free: 0.8477 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.6384, allocations: 4 kB / 0.7343 GB, free: 0.8438 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.683e-06/0.6384, allocations: 0 / 0.7343 GB, free: 0.8438 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.302e-05/0.6384, allocations: 0 / 0.7343 GB, free: 0.8438 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.00241/0.6408, allocations: 1.471 MB / 0.7358 GB, free: 15.31 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.726e-05/0.6409, allocations: 11.97 kB / 0.7358 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007882/0.6417, allocations: 202.4 kB / 0.736 GB, free: 15.1 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00123/0.6429, allocations: 0.8773 MB / 0.7368 GB, free: 14.17 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.864e-05/0.643, allocations: 49.31 kB / 0.7369 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001146/0.6431, allocations: 67.94 kB / 0.737 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001387/0.6445, allocations: 0.996 MB / 0.7379 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.834e-05/0.6445, allocations: 3.938 kB / 0.7379 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.606e-05/0.6446, allocations: 31.98 kB / 0.738 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.356e-05/0.6446, allocations: 12 kB / 0.738 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001243/0.6459, allocations: 0.8115 MB / 0.7388 GB, free: 12.12 MB / 0.5762 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.004456/0.6503, allocations: 4.808 MB / 0.7435 GB, free: 6.973 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002449/0.6528, allocations: 4.028 MB / 0.7474 GB, free: 2.121 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005064/0.6533, allocations: 346.9 kB / 0.7477 GB, free: 1.781 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002925/0.6536, allocations: 194.5 kB / 0.7479 GB, free: 1.555 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005575/0.6542, allocations: 322.3 kB / 0.7482 GB, free: 1.223 MB / 0.5762 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003536/0.6546, allocations: 31.69 kB / 0.7482 GB, free: 1.191 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=35): time 2.354e-06/0.6546, allocations: 0 / 0.7482 GB, free: 1.191 MB / 0.5762 GB Notification: Performance of matching and sorting (n=35): time 0.308/0.9625, allocations: 1.499 MB / 0.7497 GB, free: 175.2 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.752e-05/0.9626, allocations: 87.73 kB / 0.7498 GB, free: 175.1 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002133/0.9647, allocations: 1.183 MB / 0.7509 GB, free: 174.9 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.361e-05/0.9648, allocations: 36.77 kB / 0.751 GB, free: 174.8 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004416/0.9653, allocations: 0.5194 MB / 0.7515 GB, free: 174.5 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001194/0.9654, allocations: 121 kB / 0.7516 GB, free: 174.5 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.68e-05/0.9655, allocations: 47.09 kB / 0.7517 GB, free: 174.5 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.908e-05/0.9656, allocations: 326.9 kB / 0.752 GB, free: 174.2 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000439/0.966, allocations: 235.9 kB / 0.7522 GB, free: 174.1 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000623/0.9667, allocations: 0.5626 MB / 0.7527 GB, free: 173.7 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001049/0.9677, allocations: 0.6977 MB / 0.7534 GB, free: 173.2 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.731e-06/0.9677, allocations: 4.75 kB / 0.7534 GB, free: 173.2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.002617/0.9704, allocations: 1.108 MB / 0.7545 GB, free: 172.9 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001333/0.9705, allocations: 279.6 kB / 0.7548 GB, free: 172.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.314e-05/0.9705, allocations: 9.688 kB / 0.7548 GB, free: 172.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001564/0.9721, allocations: 410 kB / 0.7552 GB, free: 172.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005765/0.9727, allocations: 122.4 kB / 0.7553 GB, free: 172.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001644/0.9743, allocations: 1.658 MB / 0.7569 GB, free: 171.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001003/0.9754, allocations: 94.14 kB / 0.757 GB, free: 171.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.921e-05/0.9754, allocations: 27.5 kB / 0.757 GB, free: 171.2 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 9.148e-06/0.9754, allocations: 3.656 kB / 0.757 GB, free: 171.2 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001462/0.9769, allocations: 0.7851 MB / 0.7578 GB, free: 170.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.808e-06/0.9769, allocations: 6.469 kB / 0.7578 GB, free: 170.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005241/0.9775, allocations: 207.8 kB / 0.758 GB, free: 170.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004005/0.9779, allocations: 109.5 kB / 0.7581 GB, free: 170.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003365/0.9813, allocations: 2.923 MB / 0.761 GB, free: 169 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00104/0.9823, allocations: 96.97 kB / 0.761 GB, free: 168.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.691e-05/0.9824, allocations: 25.7 kB / 0.7611 GB, free: 168.9 MB / 0.5762 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 (38): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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 {(10,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0006321/0.983, allocations: 473.9 kB / 0.7615 GB, free: 168.7 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001378/0.9832, allocations: 112.3 kB / 0.7616 GB, free: 168.6 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001433/0.9846, allocations: 0.7905 MB / 0.7624 GB, free: 168.3 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.251e-06/0.9846, allocations: 3.688 kB / 0.7624 GB, free: 168.3 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.334e-06/0.9846, allocations: 2 kB / 0.7624 GB, free: 168.3 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.677e-06/0.9846, allocations: 2.859 kB / 0.7624 GB, free: 168.3 MB / 0.5762 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.002869/0.9875, allocations: 2.128 MB / 0.7645 GB, free: 167.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/0.9875, allocations: 3.656 kB / 0.7645 GB, free: 167.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003841/0.9879, allocations: 95.83 kB / 0.7646 GB, free: 167.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004173/0.9883, allocations: 199.2 kB / 0.7648 GB, free: 167.1 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.614e-05/0.9884, allocations: 10 kB / 0.7648 GB, free: 167.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000908/0.9893, allocations: 1.471 MB / 0.7662 GB, free: 165.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.519e-06/0.9893, allocations: 6.312 kB / 0.7662 GB, free: 165.8 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001284/0.9906, allocations: 0.8605 MB / 0.7671 GB, free: 165.4 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000367/0.991, allocations: 234.3 kB / 0.7673 GB, free: 165.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001083/0.9911, allocations: 8.5 kB / 0.7673 GB, free: 165.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006768/0.9918, allocations: 68.09 kB / 0.7674 GB, free: 165.2 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.594e-05/0.9919, allocations: 31.78 kB / 0.7674 GB, free: 165.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.774e-05/0.9919, allocations: 14.5 kB / 0.7674 GB, free: 165.2 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001243/0.9932, allocations: 0.8375 MB / 0.7682 GB, free: 164.9 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.01e-07/0.9932, allocations: 1.156 kB / 0.7682 GB, free: 164.9 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00143/0.9946, allocations: 0.4991 MB / 0.7687 GB, free: 164.9 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004593/0.9951, allocations: 194 kB / 0.7689 GB, free: 164.8 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002844/0.9979, allocations: 1.305 MB / 0.7702 GB, free: 164.2 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.606e-06/0.998, allocations: 0 / 0.7702 GB, free: 164.2 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007726/0.9987, allocations: 319.8 kB / 0.7705 GB, free: 164.1 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003825/1.003, allocations: 0.6466 MB / 0.7711 GB, free: 164 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003375/1.006, allocations: 2.354 MB / 0.7734 GB, free: 162.8 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008013/1.007, allocations: 1.216 MB / 0.7746 GB, free: 162 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001916/1.007, allocations: 77.53 kB / 0.7747 GB, free: 162 MB / 0.5762 GB Notification: Performance of SimCode: time 5.41e-07/1.007, allocations: 0 / 0.7747 GB, free: 162 MB / 0.5762 GB Notification: Performance of Templates: time 0.03534/1.042, allocations: 27.94 MB / 0.802 GB, free: 141.9 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.sim & ./IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe 2>&1)