Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp,fileNamePrefix="IDEAS_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.002372/0.002371, allocations: 173.9 kB / 7.648 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 0.8065/0.8065, allocations: 133.6 MB / 141.6 MB, free: 2.887 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.538/1.538, 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.0009938/0.0009938, allocations: 99.11 kB / 478.2 MB, free: 1.297 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.193e-05/3.179e-05, allocations: 7.938 kB / 0.5536 GB, free: 8.918 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5196/0.5197, allocations: 82.29 MB / 0.6339 GB, free: 40.75 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.978/5.497, allocations: 1.834 GB / 2.468 GB, free: 205.5 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003198/5.498, allocations: 88.84 kB / 2.468 GB, free: 205.4 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.131/9.629, allocations: 1.078 GB / 3.546 GB, free: 171.5 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.224e-06/9.629, allocations: 0 / 3.546 GB, free: 171.5 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0002587/9.629, allocations: 34.28 kB / 3.546 GB, free: 171.5 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.005324/9.634, allocations: 1.266 MB / 3.547 GB, free: 170.7 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.271e-05/9.634, allocations: 10.69 kB / 3.547 GB, free: 170.7 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00181/9.636, allocations: 203.5 kB / 3.547 GB, free: 170.6 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004774/9.641, allocations: 1.451 MB / 3.549 GB, free: 169.7 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.137e-05/9.641, allocations: 23.23 kB / 3.549 GB, free: 169.7 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002117/9.641, allocations: 39.94 kB / 3.549 GB, free: 169.7 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00128/9.643, allocations: 0.6936 MB / 3.549 GB, free: 169.4 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001405/9.644, allocations: 0.8492 MB / 3.55 GB, free: 168.8 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.364e-05/9.644, allocations: 7.891 kB / 3.55 GB, free: 168.8 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.959e-05/9.644, allocations: 2.875 kB / 3.55 GB, free: 168.8 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.552e-05/9.644, allocations: 13.38 kB / 3.55 GB, free: 168.8 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.005243/9.649, allocations: 4.574 MB / 3.555 GB, free: 164.7 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001897/9.651, allocations: 4.035 MB / 3.559 GB, free: 159.8 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003905/9.652, allocations: 340.7 kB / 3.559 GB, free: 159.5 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002795/9.652, allocations: 192.8 kB / 3.559 GB, free: 159.3 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004091/9.652, allocations: 293.4 kB / 3.559 GB, free: 159 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005336/9.653, allocations: 20.2 kB / 3.559 GB, free: 159 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=36): time 3.686e-06/9.653, allocations: 0 / 3.559 GB, free: 159 MB / 0.6823 GB Notification: Performance of matching and sorting (n=36): time 0.001969/9.655, allocations: 0.8629 MB / 3.56 GB, free: 158.1 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.873e-05/9.655, allocations: 81.11 kB / 3.56 GB, free: 158 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001285/9.656, allocations: 0.8985 MB / 3.561 GB, free: 157.1 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.393e-05/9.656, allocations: 36.45 kB / 3.561 GB, free: 157.1 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003821/9.657, allocations: 0.5156 MB / 3.562 GB, free: 156.5 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 9.851e-05/9.657, allocations: 122.2 kB / 3.562 GB, free: 156.4 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.532e-05/9.657, allocations: 0 / 3.562 GB, free: 156.4 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.258e-05/9.657, allocations: 330 kB / 3.562 GB, free: 156.1 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002502/9.657, allocations: 208.8 kB / 3.562 GB, free: 155.9 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004289/9.658, allocations: 0.5303 MB / 3.563 GB, free: 155.2 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003539/9.658, allocations: 296.2 kB / 3.563 GB, free: 154.9 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.072e-06/9.658, allocations: 4 kB / 3.563 GB, free: 154.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001714/9.66, allocations: 0.988 MB / 3.564 GB, free: 154 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006215/9.66, allocations: 2.218 MB / 3.566 GB, free: 151.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.71e-05/9.66, allocations: 11.94 kB / 3.566 GB, free: 151.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005181/9.661, allocations: 281 kB / 3.567 GB, free: 151.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003272/9.661, allocations: 86.81 kB / 3.567 GB, free: 151.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001479/9.663, allocations: 1.219 MB / 3.568 GB, free: 150 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001259/9.664, allocations: 94.44 kB / 3.568 GB, free: 149.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.524e-05/9.664, allocations: 27.98 kB / 3.568 GB, free: 149.9 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/9.664, allocations: 4 kB / 3.568 GB, free: 149.9 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001173/9.665, allocations: 0.6893 MB / 3.569 GB, free: 149.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/9.665, allocations: 6.75 kB / 3.569 GB, free: 149.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005031/9.666, allocations: 228.3 kB / 3.569 GB, free: 148.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003024/9.666, allocations: 71.89 kB / 3.569 GB, free: 148.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003608/9.67, allocations: 2.977 MB / 3.572 GB, free: 145.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001186/9.671, allocations: 89.58 kB / 3.572 GB, free: 145.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.494e-05/9.671, allocations: 24 kB / 3.572 GB, free: 145.7 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.0002083/9.671, allocations: 135.2 kB / 3.572 GB, free: 145.6 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001109/9.672, allocations: 0.6977 MB / 3.573 GB, free: 144.9 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002223/9.673, allocations: 102.8 kB / 3.573 GB, free: 144.8 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001182/9.674, allocations: 0.7487 MB / 3.574 GB, free: 144 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.95e-06/9.674, allocations: 8 kB / 3.574 GB, free: 144 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/9.674, allocations: 3.031 kB / 3.574 GB, free: 144 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/9.674, allocations: 3.984 kB / 3.574 GB, free: 144 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.002867/9.677, allocations: 2.049 MB / 3.576 GB, free: 141.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.683e-06/9.677, allocations: 2.125 kB / 3.576 GB, free: 141.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002467/9.677, allocations: 51.89 kB / 3.576 GB, free: 141.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003125/9.677, allocations: 195.6 kB / 3.576 GB, free: 141.6 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.864e-05/9.677, allocations: 7.625 kB / 3.576 GB, free: 141.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008059/9.678, allocations: 0.9536 MB / 3.577 GB, free: 140.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.344e-06/9.678, allocations: 11.62 kB / 3.577 GB, free: 140.6 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00108/9.679, allocations: 0.914 MB / 3.578 GB, free: 139.6 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004854/9.68, allocations: 227.7 kB / 3.578 GB, free: 139.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002402/9.68, allocations: 11.95 kB / 3.578 GB, free: 139.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008682/9.681, allocations: 78.16 kB / 3.578 GB, free: 139.3 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001067/9.681, allocations: 27.95 kB / 3.578 GB, free: 139.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.107e-05/9.681, allocations: 16 kB / 3.578 GB, free: 139.3 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0009512/9.682, allocations: 0.7017 MB / 3.579 GB, free: 138.6 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.8e-07/9.682, allocations: 0 / 3.579 GB, free: 138.6 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002391/9.684, allocations: 0.5658 MB / 3.579 GB, free: 138 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.003113/9.688, allocations: 3.083 MB / 3.582 GB, free: 135.1 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002428/9.69, allocations: 1.226 MB / 3.583 GB, free: 133.8 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/9.69, allocations: 0 / 3.583 GB, free: 133.8 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005068/9.691, allocations: 293 kB / 3.584 GB, free: 133.6 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003375/9.694, allocations: 0.5925 MB / 3.584 GB, free: 133 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004319/9.698, allocations: 1.702 MB / 3.586 GB, free: 131.2 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001172/9.699, allocations: 1.238 MB / 3.587 GB, free: 129.9 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002506/9.702, allocations: 0.7258 MB / 3.588 GB, free: 129.2 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005859/9.703, allocations: 331.3 kB / 3.588 GB, free: 128.9 MB / 0.6823 GB Notification: Performance of SimCode: time 1.973e-06/9.703, allocations: 0 / 3.588 GB, free: 128.9 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1138/9.816, allocations: 36.88 MB / 3.624 GB, free: 92.41 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002208/9.817, allocations: 187.4 kB / 3.624 GB, free: 92.21 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.197/13.01, allocations: 3.938 kB / 3.624 GB, free: 92.21 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp.fmu > IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe 2>&1)