Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.conf.json 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/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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") translateModel(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008062/0.0008062, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008236/0.0008236, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.202/1.202, allocations: 223.2 MB / 239.9 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8355/0.8355, allocations: 135.2 MB / 426.2 MB, free: 14.39 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002981/0.0002982, allocations: 8 kB / 0.5068 GB, free: 5.25 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.137/0.1373, allocations: 82.31 MB / 0.5872 GB, free: 3.105 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.3848/0.5222, allocations: 135.7 MB / 0.7197 GB, free: 11.96 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002823/0.525, allocations: 1.672 MB / 0.7213 GB, free: 10.81 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002444/0.5253, allocations: 8.656 kB / 0.7213 GB, free: 10.81 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0005523/0.5259, allocations: 181.8 kB / 0.7215 GB, free: 10.71 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001277/0.5272, allocations: 0.4978 MB / 0.722 GB, free: 10.4 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00116/0.5283, allocations: 408.5 kB / 0.7224 GB, free: 10.21 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001878/0.5302, allocations: 1.491 MB / 0.7239 GB, free: 9.473 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009306/0.5312, allocations: 0.7033 MB / 0.7245 GB, free: 9.227 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001068/0.5322, allocations: 0.696 MB / 0.7252 GB, free: 8.887 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005337/0.5328, allocations: 0.4893 MB / 0.7257 GB, free: 8.672 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.726e-05/0.5329, allocations: 34.22 kB / 0.7257 GB, free: 8.672 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008903/0.5338, allocations: 415.4 kB / 0.7261 GB, free: 8.566 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002636/0.534, allocations: 253.3 kB / 0.7264 GB, free: 8.473 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002203/0.5343, allocations: 229.6 kB / 0.7266 GB, free: 8.352 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001125/0.5354, allocations: 0.9751 MB / 0.7275 GB, free: 8.121 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.5354, allocations: 1.344 kB / 0.7275 GB, free: 8.121 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.743e-06/0.5354, allocations: 0 / 0.7275 GB, free: 8.121 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.139e-05/0.5354, allocations: 0 / 0.7275 GB, free: 8.121 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.00209/0.5375, allocations: 1.282 MB / 0.7288 GB, free: 7.246 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.337e-05/0.5376, allocations: 14.41 kB / 0.7288 GB, free: 7.242 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007068/0.5383, allocations: 184.6 kB / 0.729 GB, free: 7.176 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001469/0.5398, allocations: 0.7923 MB / 0.7298 GB, free: 6.727 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.215e-05/0.5398, allocations: 52.97 kB / 0.7298 GB, free: 6.703 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.185e-05/0.5399, allocations: 61.16 kB / 0.7299 GB, free: 6.684 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001211/0.5411, allocations: 0.7893 MB / 0.7306 GB, free: 6.273 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.695e-05/0.5411, allocations: 6.844 kB / 0.7306 GB, free: 6.27 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.922e-05/0.5412, allocations: 20.19 kB / 0.7307 GB, free: 6.254 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.411e-05/0.5412, allocations: 13.89 kB / 0.7307 GB, free: 6.254 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008659/0.5421, allocations: 0.5402 MB / 0.7312 GB, free: 6.098 MB / 0.545 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.004125/0.5462, allocations: 4.606 MB / 0.7357 GB, free: 2.199 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006326/0.5469, allocations: 433.6 kB / 0.7361 GB, free: 2.066 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 5.944e-05/0.5469, allocations: 19.8 kB / 0.7361 GB, free: 2.059 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004551/0.5474, allocations: 298.5 kB / 0.7364 GB, free: 1.93 MB / 0.545 GB Notification: Performance of pre-optimization done (n=31): time 1.703e-06/0.5474, allocations: 0 / 0.7364 GB, free: 1.93 MB / 0.545 GB Notification: Performance of matching and sorting (n=31): time 0.001227/0.5486, allocations: 0.6478 MB / 0.737 GB, free: 1.715 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.485e-05/0.5487, allocations: 119 kB / 0.7372 GB, free: 1.578 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001206/0.5499, allocations: 1.113 MB / 0.7383 GB, free: 0.8867 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.841e-05/0.55, allocations: 33.7 kB / 0.7383 GB, free: 0.8477 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003403/0.5503, allocations: 489.4 kB / 0.7387 GB, free: 412 kB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 8.282e-05/0.5504, allocations: 107.3 kB / 0.7389 GB, free: 312 kB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.2e-05/0.5504, allocations: 12 kB / 0.7389 GB, free: 300 kB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001304/0.5506, allocations: 328.5 kB / 0.7392 GB, free: 15.97 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00031/0.5509, allocations: 188.1 kB / 0.7394 GB, free: 15.83 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005316/0.5514, allocations: 0.4939 MB / 0.7398 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003993/0.5518, allocations: 287.8 kB / 0.7401 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.848e-06/0.5519, allocations: 0 / 0.7401 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0009769/0.5528, allocations: 0.6867 MB / 0.7408 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007621/0.5536, allocations: 2.128 MB / 0.7429 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/0.5536, allocations: 8 kB / 0.7429 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.319e-05/0.5537, allocations: 12.83 kB / 0.7429 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004048/0.5541, allocations: 115.8 kB / 0.743 GB, free: 12 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.131e-05/0.5541, allocations: 8 kB / 0.743 GB, free: 12 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007717/0.5549, allocations: 113.8 kB / 0.7431 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.005e-05/0.5549, allocations: 26.67 kB / 0.7431 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.646e-06/0.555, allocations: 4 kB / 0.7431 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008184/0.5558, allocations: 0.5459 MB / 0.7437 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.5558, allocations: 4 kB / 0.7437 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.746e-06/0.5558, allocations: 10.53 kB / 0.7437 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003425/0.5562, allocations: 111.8 kB / 0.7438 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.316e-06/0.5562, allocations: 8 kB / 0.7438 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005779/0.5568, allocations: 91.61 kB / 0.7439 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.66e-05/0.5568, allocations: 24 kB / 0.7439 GB, free: 11.12 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse_p.T_start,pulse_p.T_start,$PRE.pulse_p.count,pulse_p.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 52 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005746/0.5574, allocations: 472.6 kB / 0.7444 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001091/0.5575, allocations: 98.78 kB / 0.7445 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007826/0.5583, allocations: 488.5 kB / 0.7449 GB, free: 10.06 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.071e-06/0.5583, allocations: 7.938 kB / 0.7449 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.5583, allocations: 0 / 0.7449 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/0.5583, allocations: 7.984 kB / 0.7449 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001435/0.5598, allocations: 1.099 MB / 0.746 GB, free: 8.871 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.5598, allocations: 8.031 kB / 0.746 GB, free: 8.863 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002317/0.56, allocations: 63.89 kB / 0.7461 GB, free: 8.801 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.97e-06/0.56, allocations: 4 kB / 0.7461 GB, free: 8.797 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.403e-05/0.5601, allocations: 15.94 kB / 0.7461 GB, free: 8.781 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.25e-06/0.5601, allocations: 5.344 kB / 0.7461 GB, free: 8.777 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.5601, allocations: 0 / 0.7461 GB, free: 8.777 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007595/0.5608, allocations: 0.6251 MB / 0.7467 GB, free: 8.074 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003079/0.5612, allocations: 231.7 kB / 0.7469 GB, free: 7.828 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001034/0.5613, allocations: 13.11 kB / 0.7469 GB, free: 7.816 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000444/0.5617, allocations: 51.8 kB / 0.747 GB, free: 7.766 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.236e-05/0.5618, allocations: 35.89 kB / 0.747 GB, free: 7.73 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.243e-05/0.5618, allocations: 15.98 kB / 0.747 GB, free: 7.715 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0009448/0.5628, allocations: 0.7836 MB / 0.7478 GB, free: 6.922 MB / 0.5606 GB Notification: Performance of sort global known variables: time 5.71e-07/0.5628, allocations: 0 / 0.7478 GB, free: 6.922 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001093/0.5639, allocations: 411.4 kB / 0.7482 GB, free: 6.52 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,pulse_p.T_start,pulse_p.count) * Number of discrete states: 1 (pulse_p.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 29 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004158/0.5643, allocations: 180.4 kB / 0.7484 GB, free: 6.344 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001285/0.5656, allocations: 0.7973 MB / 0.7492 GB, free: 5.523 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.5656, allocations: 5.312 kB / 0.7492 GB, free: 5.52 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003463/0.566, allocations: 204.2 kB / 0.7494 GB, free: 5.32 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001774/0.5678, allocations: 454.8 kB / 0.7498 GB, free: 4.887 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002585/0.5704, allocations: 1.955 MB / 0.7517 GB, free: 2.879 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006987/0.5711, allocations: 1.201 MB / 0.7529 GB, free: 1.648 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0009961/0.5721, allocations: 431.4 kB / 0.7533 GB, free: 1.223 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001519/0.5722, allocations: 75.42 kB / 0.7533 GB, free: 1.148 MB / 0.5606 GB Notification: Performance of SimCode: time 1.483e-06/0.5722, allocations: 3.938 kB / 0.7534 GB, free: 1.145 MB / 0.5606 GB Notification: Performance of Templates: time 0.02479/0.597, allocations: 15.98 MB / 0.769 GB, free: 1.387 MB / 0.5762 GB make -j1 -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.makefile Environment - environmentSimulation: (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.sim & ./IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1) Environment - environmentSimulation: