Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.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.SeriesParallelDp,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp",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.002026/0.002026, allocations: 172.9 kB / 7.647 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.223/1.223, allocations: 133.6 MB / 141.6 MB, free: 2.875 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.613/2.613, allocations: 221.5 MB / 395.5 MB, free: 10.75 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.001493/0.001493, allocations: 107.4 kB / 478.2 MB, free: 1.312 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.789e-05/3.808e-05, allocations: 4 kB / 0.5536 GB, free: 8.957 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9889/0.989, allocations: 82.3 MB / 0.6339 GB, free: 40.79 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.696/9.685, allocations: 1.834 GB / 2.468 GB, free: 205.7 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000409/9.686, allocations: 87.94 kB / 2.468 GB, free: 205.6 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.486/16.17, allocations: 1.078 GB / 3.546 GB, free: 172.1 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.693e-06/16.17, allocations: 0 / 3.546 GB, free: 172.1 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001447/16.17, allocations: 34.39 kB / 3.546 GB, free: 172 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: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.004625/16.18, allocations: 1.273 MB / 3.547 GB, free: 171.2 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.76e-05/16.18, allocations: 8.188 kB / 3.547 GB, free: 171.2 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001261/16.18, allocations: 205.6 kB / 3.547 GB, free: 171.1 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003722/16.18, allocations: 1.45 MB / 3.549 GB, free: 170.3 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.087e-05/16.18, allocations: 16.97 kB / 3.549 GB, free: 170.3 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.948e-05/16.18, allocations: 39.94 kB / 3.549 GB, free: 170.3 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009928/16.18, allocations: 0.6979 MB / 3.549 GB, free: 169.9 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001064/16.18, allocations: 0.8531 MB / 3.55 GB, free: 169.3 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.793e-05/16.18, allocations: 3.953 kB / 3.55 GB, free: 169.3 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.908e-05/16.18, allocations: 3.969 kB / 3.55 GB, free: 169.3 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.23e-05/16.18, allocations: 15 kB / 3.55 GB, free: 169.3 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.003962/16.19, allocations: 4.568 MB / 3.555 GB, free: 165.1 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001604/16.19, allocations: 4.03 MB / 3.559 GB, free: 160.2 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003522/16.19, allocations: 336.7 kB / 3.559 GB, free: 159.9 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002789/16.19, allocations: 197 kB / 3.559 GB, free: 159.7 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003777/16.19, allocations: 297.3 kB / 3.559 GB, free: 159.4 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003957/16.19, allocations: 10.02 kB / 3.559 GB, free: 159.4 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=36): time 2.305e-06/16.19, allocations: 0 / 3.559 GB, free: 159.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=36): time 0.001772/16.19, allocations: 0.8615 MB / 3.56 GB, free: 158.5 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.387e-05/16.19, allocations: 88.86 kB / 3.56 GB, free: 158.4 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009967/16.19, allocations: 0.8987 MB / 3.561 GB, free: 157.5 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.392e-05/16.19, allocations: 29.7 kB / 3.561 GB, free: 157.5 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000335/16.19, allocations: 0.5188 MB / 3.562 GB, free: 157 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 7.715e-05/16.19, allocations: 122.3 kB / 3.562 GB, free: 156.8 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.329e-05/16.19, allocations: 0 / 3.562 GB, free: 156.8 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.526e-05/16.19, allocations: 330 kB / 3.562 GB, free: 156.5 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002393/16.2, allocations: 201 kB / 3.562 GB, free: 156.3 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004134/16.2, allocations: 0.5367 MB / 3.563 GB, free: 155.6 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003174/16.2, allocations: 298.5 kB / 3.563 GB, free: 155.4 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/16.2, allocations: 7.625 kB / 3.563 GB, free: 155.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001599/16.2, allocations: 0.9914 MB / 3.564 GB, free: 154.4 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004333/16.2, allocations: 2.222 MB / 3.566 GB, free: 152 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.136e-05/16.2, allocations: 7.953 kB / 3.566 GB, free: 152 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004983/16.2, allocations: 282.7 kB / 3.567 GB, free: 151.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003301/16.2, allocations: 78.72 kB / 3.567 GB, free: 151.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001447/16.2, allocations: 1.223 MB / 3.568 GB, free: 150.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001052/16.2, allocations: 94.48 kB / 3.568 GB, free: 150.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.317e-05/16.2, allocations: 28 kB / 3.568 GB, free: 150.3 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.13e-05/16.2, allocations: 4.625 kB / 3.568 GB, free: 150.3 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001115/16.2, allocations: 0.6886 MB / 3.569 GB, free: 149.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/16.2, allocations: 7.188 kB / 3.569 GB, free: 149.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005036/16.2, allocations: 221.6 kB / 3.569 GB, free: 149.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003051/16.2, allocations: 79.61 kB / 3.569 GB, free: 149.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003339/16.21, allocations: 2.975 MB / 3.572 GB, free: 146.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001153/16.21, allocations: 90.17 kB / 3.572 GB, free: 146.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.91e-05/16.21, allocations: 24 kB / 3.572 GB, free: 146.1 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 (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.0002163/16.21, allocations: 126.4 kB / 3.572 GB, free: 146 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009533/16.21, allocations: 0.7072 MB / 3.573 GB, free: 145.3 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.92e-05/16.21, allocations: 102.8 kB / 3.573 GB, free: 145.2 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001127/16.21, allocations: 0.751 MB / 3.574 GB, free: 144.4 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/16.21, allocations: 8 kB / 3.574 GB, free: 144.4 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/16.21, allocations: 4 kB / 3.574 GB, free: 144.4 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.574e-06/16.21, allocations: 3.984 kB / 3.574 GB, free: 144.4 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.002449/16.21, allocations: 2.041 MB / 3.576 GB, free: 142.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/16.21, allocations: 0 / 3.576 GB, free: 142.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002563/16.21, allocations: 59.55 kB / 3.576 GB, free: 142.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003204/16.21, allocations: 191.6 kB / 3.576 GB, free: 142 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.485e-05/16.21, allocations: 7.984 kB / 3.576 GB, free: 142 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007423/16.21, allocations: 0.9549 MB / 3.577 GB, free: 141 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/16.21, allocations: 4 kB / 3.577 GB, free: 141 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009292/16.22, allocations: 0.9136 MB / 3.578 GB, free: 140.1 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003801/16.22, allocations: 223.7 kB / 3.578 GB, free: 139.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001162/16.22, allocations: 15.42 kB / 3.578 GB, free: 139.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007357/16.22, allocations: 78.78 kB / 3.578 GB, free: 139.7 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.908e-05/16.22, allocations: 30.7 kB / 3.578 GB, free: 139.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.782e-05/16.22, allocations: 12 kB / 3.578 GB, free: 139.7 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0007628/16.22, allocations: 0.7064 MB / 3.579 GB, free: 139 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.8e-07/16.22, allocations: 0 / 3.579 GB, free: 139 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001917/16.22, allocations: 0.5735 MB / 3.579 GB, free: 138.4 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 (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.00275/16.22, allocations: 3.076 MB / 3.582 GB, free: 135.5 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002328/16.22, allocations: 1.233 MB / 3.583 GB, free: 134.2 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/16.22, allocations: 0.75 kB / 3.583 GB, free: 134.2 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0004833/16.23, allocations: 288.8 kB / 3.584 GB, free: 133.9 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003325/16.23, allocations: 0.5844 MB / 3.584 GB, free: 133.3 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0029/16.23, allocations: 1.715 MB / 3.586 GB, free: 131.6 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005908/16.23, allocations: 1.234 MB / 3.587 GB, free: 130.3 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002316/16.23, allocations: 0.7209 MB / 3.588 GB, free: 129.6 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004363/16.23, allocations: 331.3 kB / 3.588 GB, free: 129.3 MB / 0.6823 GB Notification: Performance of SimCode: time 1.683e-06/16.23, allocations: 0 / 3.588 GB, free: 129.3 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1093/16.34, allocations: 36.91 MB / 3.624 GB, free: 92.77 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002593/16.34, allocations: 181.8 kB / 3.624 GB, free: 92.57 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.412/20.76, allocations: 4 kB / 3.624 GB, free: 92.57 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp.fmu > IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe 2>&1)