Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.conf.json 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/IDEAS 3.0.0-master/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) 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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: translateModel(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow") translateModel(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.01141/0.01141, allocations: 171.9 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7977/0.7977, allocations: 135.2 MB / 151.1 MB, free: 13.84 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.734/1.734, allocations: 223.2 MB / 406.9 MB, free: 3.234 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.000936/0.000936, allocations: 87.78 kB / 489.9 MB, free: 10.95 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000388/0.000388, allocations: 11.94 kB / 0.5691 GB, free: 14.19 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4823/0.4827, allocations: 82.29 MB / 0.6495 GB, free: 36.19 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.954/5.437, allocations: 1.832 GB / 2.482 GB, free: 105.1 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002726/5.437, allocations: 91.78 kB / 2.482 GB, free: 105.1 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.015/9.452, allocations: 1.081 GB / 3.562 GB, free: 64.32 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.435e-06/9.452, allocations: 0 / 3.562 GB, free: 64.32 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001089/9.452, allocations: 31.98 kB / 3.562 GB, free: 64.29 MB / 0.6823 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.004916/9.457, allocations: 1.581 MB / 3.564 GB, free: 62.65 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.776e-05/9.457, allocations: 8.031 kB / 3.564 GB, free: 62.64 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009851/9.458, allocations: 194.4 kB / 3.564 GB, free: 62.45 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00372/9.461, allocations: 1.453 MB / 3.566 GB, free: 60.94 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.989e-05/9.461, allocations: 45.31 kB / 3.566 GB, free: 60.89 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001006/9.462, allocations: 71.94 kB / 3.566 GB, free: 60.82 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001238/9.463, allocations: 0.9487 MB / 3.567 GB, free: 59.8 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.824e-05/9.463, allocations: 7.938 kB / 3.567 GB, free: 59.79 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.025e-05/9.463, allocations: 20 kB / 3.567 GB, free: 59.77 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.421e-05/9.463, allocations: 16 kB / 3.567 GB, free: 59.75 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001021/9.464, allocations: 0.7532 MB / 3.567 GB, free: 59 MB / 0.6823 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.003925/9.468, allocations: 4.731 MB / 3.572 GB, free: 53.95 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00162/9.47, allocations: 4.051 MB / 3.576 GB, free: 49.07 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002854/9.47, allocations: 206.1 kB / 3.576 GB, free: 48.83 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004495/9.47, allocations: 330.6 kB / 3.576 GB, free: 48.49 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000498/9.471, allocations: 31.69 kB / 3.576 GB, free: 48.46 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=36): time 2.815e-06/9.471, allocations: 0 / 3.576 GB, free: 48.46 MB / 0.6823 GB Notification: Performance of matching and sorting (n=36): time 0.002975/9.474, allocations: 1.307 MB / 3.578 GB, free: 47.12 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.03e-05/9.474, allocations: 85.05 kB / 3.578 GB, free: 47.02 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001144/9.475, allocations: 1.042 MB / 3.579 GB, free: 45.96 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.777e-05/9.475, allocations: 37.7 kB / 3.579 GB, free: 45.92 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003178/9.475, allocations: 0.5166 MB / 3.579 GB, free: 45.4 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 8.106e-05/9.475, allocations: 134.1 kB / 3.58 GB, free: 45.27 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.265e-05/9.476, allocations: 8 kB / 3.58 GB, free: 45.26 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.716e-05/9.476, allocations: 330 kB / 3.58 GB, free: 44.93 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003045/9.476, allocations: 209 kB / 3.58 GB, free: 44.72 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004852/9.476, allocations: 0.5521 MB / 3.581 GB, free: 44.02 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004135/9.477, allocations: 319.8 kB / 3.581 GB, free: 43.71 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.748e-06/9.477, allocations: 4 kB / 3.581 GB, free: 43.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001359/9.478, allocations: 0.9706 MB / 3.582 GB, free: 42.71 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004637/9.479, allocations: 2.233 MB / 3.584 GB, free: 40.32 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.12e-05/9.479, allocations: 4 kB / 3.584 GB, free: 40.31 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005313/9.479, allocations: 282 kB / 3.584 GB, free: 40.04 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003527/9.48, allocations: 99.77 kB / 3.584 GB, free: 39.94 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001399/9.481, allocations: 1.647 MB / 3.586 GB, free: 38.24 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001204/9.482, allocations: 107.8 kB / 3.586 GB, free: 38.14 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.792e-05/9.482, allocations: 31.98 kB / 3.586 GB, free: 38.11 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/9.482, allocations: 4.625 kB / 3.586 GB, free: 38.1 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001283/9.484, allocations: 0.8063 MB / 3.587 GB, free: 37.29 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/9.484, allocations: 4 kB / 3.587 GB, free: 37.28 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004475/9.484, allocations: 213.3 kB / 3.587 GB, free: 37.07 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002567/9.484, allocations: 83.75 kB / 3.587 GB, free: 36.99 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003255/9.488, allocations: 2.974 MB / 3.59 GB, free: 33.89 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001226/9.489, allocations: 99.8 kB / 3.59 GB, free: 33.79 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.879e-05/9.489, allocations: 24 kB / 3.59 GB, free: 33.77 MB / 0.6823 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 () * Number of clocked 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.0007526/9.49, allocations: 477 kB / 3.591 GB, free: 33.29 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001308/9.49, allocations: 110.7 kB / 3.591 GB, free: 33.18 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001235/9.491, allocations: 0.7866 MB / 3.592 GB, free: 32.38 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/9.491, allocations: 4 kB / 3.592 GB, free: 32.38 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.886e-06/9.491, allocations: 11.92 kB / 3.592 GB, free: 32.36 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/9.491, allocations: 0 / 3.592 GB, free: 32.36 MB / 0.6823 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.002585/9.494, allocations: 2.14 MB / 3.594 GB, free: 30.08 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.062e-06/9.494, allocations: 4 kB / 3.594 GB, free: 30.08 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002408/9.494, allocations: 68.14 kB / 3.594 GB, free: 30.01 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003911/9.494, allocations: 196.6 kB / 3.594 GB, free: 29.82 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.654e-05/9.494, allocations: 8 kB / 3.594 GB, free: 29.81 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000813/9.495, allocations: 1.466 MB / 3.595 GB, free: 28.29 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/9.495, allocations: 8.031 kB / 3.595 GB, free: 28.29 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001105/9.496, allocations: 0.9592 MB / 3.596 GB, free: 27.24 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004808/9.497, allocations: 231.7 kB / 3.597 GB, free: 26.99 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001079/9.497, allocations: 16.03 kB / 3.597 GB, free: 26.98 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006391/9.498, allocations: 79.77 kB / 3.597 GB, free: 26.9 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001105/9.498, allocations: 43.94 kB / 3.597 GB, free: 26.86 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.395e-05/9.498, allocations: 8 kB / 3.597 GB, free: 26.85 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0009856/9.499, allocations: 0.8288 MB / 3.597 GB, free: 26.01 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.3e-07/9.499, allocations: 0 / 3.597 GB, free: 26.01 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002051/9.501, allocations: 0.6049 MB / 3.598 GB, free: 25.41 MB / 0.6823 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) * Number of clocked states: 0 () * 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.001714/9.503, allocations: 1.074 MB / 3.599 GB, free: 24.33 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002572/9.505, allocations: 1.284 MB / 3.6 GB, free: 23.01 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/9.505, allocations: 0 / 3.6 GB, free: 23.01 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005809/9.506, allocations: 315.9 kB / 3.601 GB, free: 22.7 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002812/9.509, allocations: 0.6405 MB / 3.601 GB, free: 22.07 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00279/9.511, allocations: 2.226 MB / 3.603 GB, free: 19.79 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005161/9.512, allocations: 1.236 MB / 3.605 GB, free: 18.52 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001049/9.513, allocations: 388.5 kB / 3.605 GB, free: 18.14 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00013/9.513, allocations: 71.44 kB / 3.605 GB, free: 18.07 MB / 0.6823 GB Notification: Performance of SimCode: time 9.31e-07/9.513, allocations: 0 / 3.605 GB, free: 18.07 MB / 0.6823 GB Notification: Performance of Templates: time 0.47/9.983, allocations: 33.18 MB / 3.638 GB, free: 166.5 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.sim & ./IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe 2>&1)