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: "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001955/0.001955, allocations: 174.4 kB / 7.646 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.338/1.338, allocations: 133.6 MB / 141.6 MB, free: 2.938 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.758/2.758, allocations: 221.5 MB / 395.4 MB, free: 10.8 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.001286/0.001286, allocations: 104 kB / 478.2 MB, free: 1.324 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 4.837e-05/4.838e-05, allocations: 4 kB / 0.5535 GB, free: 8.984 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9371/0.9372, allocations: 82.3 MB / 0.6339 GB, free: 40.82 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.858/9.795, allocations: 1.832 GB / 2.465 GB, free: 208.6 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005019/9.795, allocations: 88.47 kB / 2.466 GB, free: 208.5 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.634/16.43, allocations: 1.068 GB / 3.534 GB, free: 176.3 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.667e-06/16.43, allocations: 0 / 3.534 GB, free: 176.3 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0003135/16.43, allocations: 25.89 kB / 3.534 GB, free: 176.2 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.008169/16.44, allocations: 1.281 MB / 3.535 GB, free: 175.5 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 9.267e-05/16.44, allocations: 10.19 kB / 3.535 GB, free: 175.5 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002677/16.44, allocations: 199.3 kB / 3.535 GB, free: 175.4 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006798/16.45, allocations: 1.435 MB / 3.537 GB, free: 174.9 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.684e-05/16.45, allocations: 15.28 kB / 3.537 GB, free: 174.9 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002214/16.45, allocations: 41.16 kB / 3.537 GB, free: 174.9 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001999/16.45, allocations: 0.7007 MB / 3.538 GB, free: 174.7 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001926/16.45, allocations: 0.848 MB / 3.538 GB, free: 174.2 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.072e-05/16.45, allocations: 6.125 kB / 3.538 GB, free: 174.2 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.942e-05/16.45, allocations: 0 / 3.538 GB, free: 174.2 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.809e-05/16.45, allocations: 15.91 kB / 3.538 GB, free: 174.2 MB / 0.6823 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.007588/16.46, allocations: 4.591 MB / 3.543 GB, free: 170.7 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002915/16.46, allocations: 4.076 MB / 3.547 GB, free: 166.3 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006106/16.46, allocations: 346.4 kB / 3.547 GB, free: 166.1 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004374/16.46, allocations: 190.2 kB / 3.547 GB, free: 165.9 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006566/16.46, allocations: 299.9 kB / 3.548 GB, free: 165.7 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000842/16.47, allocations: 13.75 kB / 3.548 GB, free: 165.7 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=36): time 6.622e-06/16.47, allocations: 0 / 3.548 GB, free: 165.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=36): time 0.002619/16.47, allocations: 0.8238 MB / 3.549 GB, free: 165.3 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.064e-05/16.47, allocations: 84.3 kB / 3.549 GB, free: 165.2 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001766/16.47, allocations: 0.9065 MB / 3.549 GB, free: 164.7 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.501e-05/16.47, allocations: 25.7 kB / 3.55 GB, free: 164.7 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006457/16.47, allocations: 0.5315 MB / 3.55 GB, free: 164.3 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001659/16.47, allocations: 123.4 kB / 3.55 GB, free: 164.2 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.191e-05/16.47, allocations: 0 / 3.55 GB, free: 164.2 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001579/16.47, allocations: 325.2 kB / 3.55 GB, free: 163.8 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004325/16.47, allocations: 201.7 kB / 3.551 GB, free: 163.8 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007048/16.47, allocations: 0.5438 MB / 3.551 GB, free: 163.2 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000559/16.47, allocations: 283.8 kB / 3.551 GB, free: 163.1 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.586e-06/16.47, allocations: 3.125 kB / 3.551 GB, free: 163.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.002497/16.48, allocations: 0.9574 MB / 3.552 GB, free: 162.6 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008268/16.48, allocations: 2.223 MB / 3.555 GB, free: 160.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.9e-05/16.48, allocations: 7.188 kB / 3.555 GB, free: 160.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007401/16.48, allocations: 251.1 kB / 3.555 GB, free: 160.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006058/16.48, allocations: 98.41 kB / 3.555 GB, free: 160.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002517/16.48, allocations: 1.766 MB / 3.557 GB, free: 158.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001877/16.48, allocations: 87.38 kB / 3.557 GB, free: 158.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001095/16.48, allocations: 30.14 kB / 3.557 GB, free: 158.6 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/16.48, allocations: 7 kB / 3.557 GB, free: 158.6 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001683/16.48, allocations: 0.6522 MB / 3.557 GB, free: 158.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.17e-05/16.48, allocations: 11.88 kB / 3.557 GB, free: 158.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007129/16.48, allocations: 200.6 kB / 3.558 GB, free: 158.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004073/16.48, allocations: 82.84 kB / 3.558 GB, free: 158.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004819/16.49, allocations: 2.792 MB / 3.56 GB, free: 156 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001788/16.49, allocations: 91.91 kB / 3.56 GB, free: 156 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.701e-05/16.49, allocations: 27.3 kB / 3.561 GB, free: 156 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 () * 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.0003584/16.49, allocations: 131.8 kB / 3.561 GB, free: 155.9 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001551/16.49, allocations: 0.6632 MB / 3.561 GB, free: 155.5 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001738/16.49, allocations: 107.2 kB / 3.561 GB, free: 155.5 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001671/16.5, allocations: 0.71 MB / 3.562 GB, free: 155.1 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.516e-06/16.5, allocations: 7.531 kB / 3.562 GB, free: 155.1 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/16.5, allocations: 0 / 3.562 GB, free: 155.1 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.086e-05/16.5, allocations: 7.938 kB / 3.562 GB, free: 155.1 MB / 0.6823 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.003746/16.5, allocations: 2.003 MB / 3.564 GB, free: 153.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.576e-06/16.5, allocations: 4 kB / 3.564 GB, free: 153.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003631/16.5, allocations: 63.84 kB / 3.564 GB, free: 153.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004194/16.5, allocations: 157.5 kB / 3.564 GB, free: 153 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.534e-05/16.5, allocations: 7.984 kB / 3.564 GB, free: 153 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001357/16.5, allocations: 1.492 MB / 3.566 GB, free: 151.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/16.5, allocations: 0 / 3.566 GB, free: 151.4 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001485/16.5, allocations: 0.8906 MB / 3.567 GB, free: 150.5 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006374/16.5, allocations: 223.8 kB / 3.567 GB, free: 150.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001564/16.5, allocations: 4 kB / 3.567 GB, free: 150.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001086/16.5, allocations: 77.48 kB / 3.567 GB, free: 150.1 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000132/16.51, allocations: 35.53 kB / 3.567 GB, free: 150.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.012e-05/16.51, allocations: 16 kB / 3.567 GB, free: 150.1 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001302/16.51, allocations: 0.6984 MB / 3.568 GB, free: 149.4 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.11e-07/16.51, allocations: 0 / 3.568 GB, free: 149.4 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002811/16.51, allocations: 0.5614 MB / 3.568 GB, free: 148.8 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) * 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.00433/16.51, allocations: 3.022 MB / 3.571 GB, free: 146 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003675/16.52, allocations: 1.207 MB / 3.572 GB, free: 144.8 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/16.52, allocations: 0 / 3.572 GB, free: 144.8 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0007299/16.52, allocations: 282.7 kB / 3.573 GB, free: 144.5 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004804/16.52, allocations: 0.5865 MB / 3.573 GB, free: 144 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005009/16.53, allocations: 1.72 MB / 3.575 GB, free: 142.2 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001001/16.53, allocations: 1.235 MB / 3.576 GB, free: 140.9 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.003291/16.53, allocations: 0.716 MB / 3.577 GB, free: 140.3 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000575/16.53, allocations: 331.3 kB / 3.577 GB, free: 140 MB / 0.6823 GB Notification: Performance of SimCode: time 2.665e-06/16.53, allocations: 0 / 3.577 GB, free: 140 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9237/17.46, allocations: 36.3 MB / 3.612 GB, free: 104.3 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003417/17.46, allocations: 191.8 kB / 3.613 GB, free: 104.1 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.119/22.58, allocations: 0 / 3.613 GB, free: 104.1 MB / 0.6823 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlow.fmu > IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe 2>&1)