Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") translateModel(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.0008236/0.0008236, allocations: 99.31 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.0008365/0.0008365, allocations: 177.3 kB / 15.95 MB, free: 216 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.215/1.215, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8409/0.8409, allocations: 135.2 MB / 426.2 MB, free: 14.4 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000273/0.0002731, allocations: 13.41 kB / 0.5068 GB, free: 5.266 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.139/0.1393, allocations: 82.31 MB / 0.5872 GB, free: 3.133 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.3762/0.5155, allocations: 135.7 MB / 0.7197 GB, free: 11.91 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002714/0.5183, allocations: 1.664 MB / 0.7213 GB, free: 10.76 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002232/0.5185, allocations: 9.719 kB / 0.7214 GB, free: 10.76 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0005494/0.5191, allocations: 184 kB / 0.7215 GB, free: 10.65 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001192/0.5203, allocations: 0.4966 MB / 0.722 GB, free: 10.35 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001069/0.5213, allocations: 414.9 kB / 0.7224 GB, free: 10.15 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001782/0.5231, allocations: 1.487 MB / 0.7239 GB, free: 9.414 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008929/0.524, allocations: 0.6986 MB / 0.7245 GB, free: 9.172 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001046/0.5251, allocations: 0.7017 MB / 0.7252 GB, free: 8.828 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005273/0.5256, allocations: 491.3 kB / 0.7257 GB, free: 8.621 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.823e-05/0.5257, allocations: 36.75 kB / 0.7257 GB, free: 8.621 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008404/0.5266, allocations: 409 kB / 0.7261 GB, free: 8.52 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002639/0.5268, allocations: 259.8 kB / 0.7264 GB, free: 8.418 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.000218/0.5271, allocations: 231 kB / 0.7266 GB, free: 8.297 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00102/0.5281, allocations: 0.972 MB / 0.7275 GB, free: 8.07 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.5281, allocations: 4 kB / 0.7275 GB, free: 8.066 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.373e-06/0.5281, allocations: 1.375 kB / 0.7275 GB, free: 8.066 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.587e-05/0.5281, allocations: 0 / 0.7275 GB, free: 8.066 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.002054/0.5302, allocations: 1.282 MB / 0.7288 GB, free: 7.191 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.107e-05/0.5302, allocations: 8.406 kB / 0.7288 GB, free: 7.191 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006975/0.5309, allocations: 184.5 kB / 0.729 GB, free: 7.125 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001424/0.5324, allocations: 0.7992 MB / 0.7298 GB, free: 6.672 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.58e-05/0.5324, allocations: 48.23 kB / 0.7298 GB, free: 6.648 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.339e-05/0.5325, allocations: 67 kB / 0.7299 GB, free: 6.625 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001083/0.5336, allocations: 0.7887 MB / 0.7306 GB, free: 6.215 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.556e-05/0.5336, allocations: 7.453 kB / 0.7306 GB, free: 6.211 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.687e-05/0.5337, allocations: 21.34 kB / 0.7307 GB, free: 6.195 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.167e-05/0.5337, allocations: 13.19 kB / 0.7307 GB, free: 6.195 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008226/0.5345, allocations: 0.5414 MB / 0.7312 GB, free: 6.039 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.003851/0.5384, allocations: 4.601 MB / 0.7357 GB, free: 2.145 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000647/0.539, allocations: 434.1 kB / 0.7361 GB, free: 2.012 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 6.081e-05/0.5391, allocations: 14.59 kB / 0.7361 GB, free: 2.008 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004647/0.5396, allocations: 307.1 kB / 0.7364 GB, free: 1.871 MB / 0.545 GB Notification: Performance of pre-optimization done (n=31): time 3.617e-06/0.5396, allocations: 0 / 0.7364 GB, free: 1.871 MB / 0.545 GB Notification: Performance of matching and sorting (n=31): time 0.001236/0.5408, allocations: 0.6478 MB / 0.7371 GB, free: 1.656 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.883e-05/0.5409, allocations: 107.2 kB / 0.7372 GB, free: 1.531 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001228/0.5421, allocations: 1.116 MB / 0.7382 GB, free: 0.8398 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.182e-05/0.5422, allocations: 37.64 kB / 0.7383 GB, free: 0.7969 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003475/0.5425, allocations: 485.4 kB / 0.7387 GB, free: 364 kB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.517e-05/0.5426, allocations: 113.3 kB / 0.7389 GB, free: 260 kB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.194e-05/0.5427, allocations: 8 kB / 0.7389 GB, free: 252 kB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001194/0.5428, allocations: 330.2 kB / 0.7392 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003093/0.5431, allocations: 190.4 kB / 0.7394 GB, free: 15.78 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005256/0.5436, allocations: 0.4924 MB / 0.7398 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004031/0.544, allocations: 296.2 kB / 0.7401 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/0.5441, allocations: 0 / 0.7401 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0009877/0.545, allocations: 0.6831 MB / 0.7408 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007295/0.5458, allocations: 2.124 MB / 0.7429 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/0.5458, allocations: 8 kB / 0.7429 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/0.5458, allocations: 11.95 kB / 0.7429 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004006/0.5462, allocations: 117.2 kB / 0.743 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.277e-05/0.5463, allocations: 8 kB / 0.743 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007111/0.547, allocations: 112.7 kB / 0.7431 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.069e-05/0.547, allocations: 29.58 kB / 0.7431 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.654e-06/0.5471, allocations: 4 kB / 0.7431 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007953/0.5479, allocations: 0.5424 MB / 0.7437 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.5479, allocations: 8.125 kB / 0.7437 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.746e-06/0.5479, allocations: 8 kB / 0.7437 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003416/0.5482, allocations: 110.9 kB / 0.7438 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.5483, allocations: 8 kB / 0.7438 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005547/0.5488, allocations: 90.02 kB / 0.7439 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.56e-05/0.5489, allocations: 24 kB / 0.7439 GB, free: 11.15 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.0004922/0.5494, allocations: 480.3 kB / 0.7444 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001099/0.5495, allocations: 102.8 kB / 0.7445 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007786/0.5503, allocations: 482.4 kB / 0.7449 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/0.5503, allocations: 4 kB / 0.7449 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.5503, allocations: 0 / 0.7449 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.5503, allocations: 3.984 kB / 0.7449 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001405/0.5517, allocations: 1.106 MB / 0.746 GB, free: 8.91 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.913e-06/0.5517, allocations: 7.984 kB / 0.746 GB, free: 8.902 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002313/0.552, allocations: 63.91 kB / 0.7461 GB, free: 8.84 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.021e-06/0.552, allocations: 7.984 kB / 0.7461 GB, free: 8.832 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.305e-05/0.552, allocations: 11.95 kB / 0.7461 GB, free: 8.82 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.988e-06/0.552, allocations: 4 kB / 0.7461 GB, free: 8.816 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.696e-06/0.552, allocations: 0.625 kB / 0.7461 GB, free: 8.816 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007646/0.5528, allocations: 0.6293 MB / 0.7467 GB, free: 8.109 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003156/0.5531, allocations: 227.7 kB / 0.7469 GB, free: 7.867 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001019/0.5532, allocations: 8 kB / 0.7469 GB, free: 7.859 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004286/0.5537, allocations: 59.23 kB / 0.747 GB, free: 7.805 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.407e-05/0.5537, allocations: 27.95 kB / 0.747 GB, free: 7.777 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.286e-05/0.5538, allocations: 16 kB / 0.747 GB, free: 7.762 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0008577/0.5546, allocations: 0.7836 MB / 0.7478 GB, free: 6.969 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5546, allocations: 3.938 kB / 0.7478 GB, free: 6.965 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0009734/0.5556, allocations: 415.4 kB / 0.7482 GB, free: 6.559 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.000337/0.556, allocations: 173.7 kB / 0.7484 GB, free: 6.391 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00115/0.5571, allocations: 0.8027 MB / 0.7492 GB, free: 5.566 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.5571, allocations: 0 / 0.7492 GB, free: 5.566 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003247/0.5575, allocations: 207.7 kB / 0.7494 GB, free: 5.363 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001691/0.5592, allocations: 459.5 kB / 0.7498 GB, free: 4.926 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00241/0.5616, allocations: 1.952 MB / 0.7517 GB, free: 2.922 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006424/0.5622, allocations: 1.197 MB / 0.7529 GB, free: 1.695 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00094/0.5632, allocations: 431.4 kB / 0.7533 GB, free: 1.27 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001501/0.5634, allocations: 75.42 kB / 0.7534 GB, free: 1.195 MB / 0.5606 GB Notification: Performance of SimCode: time 3.31e-07/0.5634, allocations: 4 kB / 0.7534 GB, free: 1.191 MB / 0.5606 GB Notification: Performance of Templates: time 0.02354/0.5869, allocations: 15.99 MB / 0.769 GB, free: 1.426 MB / 0.5762 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.makefile Environment - environmentSimulation: (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.sim & ./IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1) Environment - environmentSimulation: