Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.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.SeriesParallelFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow") translateModel(BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7671/0.7671, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009978/0.0009979, allocations: 185.9 kB / 187.3 MB, free: 11.89 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.505/1.505, allocations: 221.3 MB / 441.4 MB, free: 4.594 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.000966/0.0009658, allocations: 93.66 kB / 0.5124 GB, free: 24.27 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001998/0.001998, allocations: 278 kB / 0.5939 GB, free: 7.965 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.98e-05/4.995e-05, allocations: 8 kB / 0.6834 GB, free: 12.24 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5014/0.5015, allocations: 82.76 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.21/5.712, allocations: 1.83 GB / 2.594 GB, free: 219.2 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000272/5.712, allocations: 91.89 kB / 2.594 GB, free: 219.1 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.217/9.929, allocations: 1.08 GB / 3.674 GB, free: 177.1 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.172e-06/9.929, allocations: 0 / 3.674 GB, free: 177.1 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001008/9.929, allocations: 32.38 kB / 3.674 GB, free: 177.1 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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.003775/9.933, allocations: 1.273 MB / 3.675 GB, free: 176.5 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.938e-05/9.933, allocations: 13.66 kB / 3.675 GB, free: 176.5 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009684/9.934, allocations: 193.3 kB / 3.675 GB, free: 176.4 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003432/9.938, allocations: 1.432 MB / 3.677 GB, free: 176.1 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.528e-05/9.938, allocations: 47.25 kB / 3.677 GB, free: 176.1 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001077/9.938, allocations: 66.91 kB / 3.677 GB, free: 176.1 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001323/9.939, allocations: 0.9254 MB / 3.678 GB, free: 175.9 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.002e-05/9.939, allocations: 3.594 kB / 3.678 GB, free: 175.9 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.219e-05/9.939, allocations: 28.75 kB / 3.678 GB, free: 175.9 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.547e-05/9.939, allocations: 14.62 kB / 3.678 GB, free: 175.9 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009138/9.94, allocations: 0.7068 MB / 3.678 GB, free: 175.9 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.004172/9.944, allocations: 4.729 MB / 3.683 GB, free: 172.7 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001697/9.946, allocations: 4.009 MB / 3.687 GB, free: 168.5 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003848/9.946, allocations: 328.4 kB / 3.687 GB, free: 168.5 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003244/9.947, allocations: 198.3 kB / 3.687 GB, free: 168.3 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004183/9.947, allocations: 311.3 kB / 3.688 GB, free: 168.2 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004337/9.948, allocations: 27.59 kB / 3.688 GB, free: 168.2 MB / 0.698 GB Notification: Performance of pre-optimization done (n=36): time 2.104e-06/9.948, allocations: 0 / 3.688 GB, free: 168.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=36): time 0.00135/9.949, allocations: 0.7363 MB / 3.688 GB, free: 168.1 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.858e-05/9.949, allocations: 84.88 kB / 3.689 GB, free: 168 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001181/9.95, allocations: 1.03 MB / 3.69 GB, free: 167.9 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.67e-05/9.95, allocations: 36.23 kB / 3.69 GB, free: 167.8 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003792/9.951, allocations: 0.5241 MB / 3.69 GB, free: 167.7 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 7.809e-05/9.951, allocations: 121.4 kB / 3.69 GB, free: 167.6 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.301e-05/9.951, allocations: 9.938 kB / 3.69 GB, free: 167.6 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.964e-05/9.951, allocations: 328.3 kB / 3.69 GB, free: 167.3 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002317/9.951, allocations: 188.1 kB / 3.691 GB, free: 167.3 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004452/9.952, allocations: 0.5271 MB / 3.691 GB, free: 166.9 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003565/9.952, allocations: 306.1 kB / 3.691 GB, free: 166.8 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/9.952, allocations: 3.969 kB / 3.691 GB, free: 166.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.00124/9.953, allocations: 0.9442 MB / 3.692 GB, free: 166.4 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005236/9.954, allocations: 2.236 MB / 3.695 GB, free: 164.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.248e-05/9.954, allocations: 7.594 kB / 3.695 GB, free: 164.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005647/9.954, allocations: 277.7 kB / 3.695 GB, free: 164 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004138/9.955, allocations: 91.58 kB / 3.695 GB, free: 164 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001423/9.956, allocations: 1.655 MB / 3.697 GB, free: 162.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001032/9.957, allocations: 104.2 kB / 3.697 GB, free: 162.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.578e-05/9.957, allocations: 31.38 kB / 3.697 GB, free: 162.8 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/9.957, allocations: 3.719 kB / 3.697 GB, free: 162.8 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001159/9.959, allocations: 0.7518 MB / 3.697 GB, free: 162.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/9.959, allocations: 7.469 kB / 3.697 GB, free: 162.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000447/9.959, allocations: 217.9 kB / 3.698 GB, free: 162.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002577/9.959, allocations: 79.41 kB / 3.698 GB, free: 162.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003057/9.962, allocations: 2.884 MB / 3.701 GB, free: 160.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009685/9.963, allocations: 104.9 kB / 3.701 GB, free: 160.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.46e-05/9.963, allocations: 33.67 kB / 3.701 GB, free: 160.6 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 (40): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {10 10} Notification: Performance of prepare postOptimizeDAE: time 0.000169/9.964, allocations: 149.1 kB / 3.701 GB, free: 160.5 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001309/9.964, allocations: 109 kB / 3.701 GB, free: 160.4 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001216/9.965, allocations: 0.7569 MB / 3.702 GB, free: 160.1 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/9.965, allocations: 3 kB / 3.702 GB, free: 160.1 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.744e-06/9.965, allocations: 0 / 3.702 GB, free: 160.1 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/9.965, allocations: 0 / 3.702 GB, free: 160.1 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.002515/9.967, allocations: 2.113 MB / 3.704 GB, free: 158.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/9.967, allocations: 0 / 3.704 GB, free: 158.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002353/9.968, allocations: 66.66 kB / 3.704 GB, free: 158.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003641/9.968, allocations: 193.3 kB / 3.704 GB, free: 158.9 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.56e-05/9.968, allocations: 11.48 kB / 3.704 GB, free: 158.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008154/9.969, allocations: 1.477 MB / 3.705 GB, free: 157.6 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/9.969, allocations: 3.344 kB / 3.705 GB, free: 157.6 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009437/9.97, allocations: 0.9383 MB / 3.706 GB, free: 157 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003474/9.97, allocations: 233.2 kB / 3.707 GB, free: 156.9 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.931e-05/9.97, allocations: 7.594 kB / 3.707 GB, free: 156.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006631/9.971, allocations: 80.78 kB / 3.707 GB, free: 156.9 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.886e-05/9.971, allocations: 38.48 kB / 3.707 GB, free: 156.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.616e-05/9.971, allocations: 14.89 kB / 3.707 GB, free: 156.8 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0009001/9.972, allocations: 0.8176 MB / 3.708 GB, free: 156.5 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/9.972, allocations: 2.438 kB / 3.708 GB, free: 156.5 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001738/9.974, allocations: 0.598 MB / 3.708 GB, free: 156.4 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 (26): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {9 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.00157/9.975, allocations: 1.071 MB / 3.709 GB, free: 156.2 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002257/9.978, allocations: 1.257 MB / 3.71 GB, free: 155.6 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/9.978, allocations: 0 / 3.71 GB, free: 155.6 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005088/9.978, allocations: 288.2 kB / 3.711 GB, free: 155.5 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003/9.981, allocations: 0.6493 MB / 3.711 GB, free: 155.4 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002038/9.983, allocations: 1.45 MB / 3.713 GB, free: 154.8 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005672/9.984, allocations: 1.244 MB / 3.714 GB, free: 153.7 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001813/9.986, allocations: 0.8081 MB / 3.715 GB, free: 152.9 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.974e-05/9.986, allocations: 47.44 kB / 3.715 GB, free: 152.9 MB / 0.698 GB Notification: Performance of SimCode: time 1.543e-06/9.986, allocations: 0 / 3.715 GB, free: 152.9 MB / 0.698 GB Notification: Performance of Templates: time 0.04922/10.04, allocations: 38.12 MB / 3.752 GB, free: 115.7 MB / 0.698 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.sim & ./BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe 2>&1)