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.001172/0.001172, allocations: 107.4 kB / 16.41 MB, free: 6.457 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.001205/0.001205, allocations: 192.3 kB / 17.35 MB, free: 5.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.173/1.173, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7079/0.7079, allocations: 135.1 MB / 426.4 MB, free: 4.129 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001091/0.001091, allocations: 66.45 kB / 0.5863 GB, free: 21.64 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.1181, allocations: 80.92 MB / 0.6653 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.4084/0.5266, allocations: 161.6 MB / 0.8232 GB, free: 4.582 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.002571/0.5292, allocations: 1.756 MB / 0.8249 GB, free: 3.164 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002716/0.5294, allocations: 9.062 kB / 0.8249 GB, free: 3.16 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0004685/0.5299, allocations: 164 kB / 0.825 GB, free: 3.027 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001088/0.5311, allocations: 0.5456 MB / 0.8256 GB, free: 2.617 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009335/0.532, allocations: 402.9 kB / 0.826 GB, free: 2.336 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002128/0.5341, allocations: 2.528 MB / 0.8284 GB, free: 0.9414 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001044/0.5352, allocations: 0.929 MB / 0.8293 GB, free: 432 kB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00143/0.5366, allocations: 1.04 MB / 0.8303 GB, free: 15.87 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008716/0.5375, allocations: 0.7116 MB / 0.831 GB, free: 15.46 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001386/0.5377, allocations: 55.5 kB / 0.8311 GB, free: 15.46 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001201/0.5389, allocations: 0.7424 MB / 0.8318 GB, free: 15.06 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000296/0.5392, allocations: 303.8 kB / 0.8321 GB, free: 14.86 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0006089/0.5398, allocations: 0.5461 MB / 0.8326 GB, free: 14.53 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001332/0.5411, allocations: 1.406 MB / 0.834 GB, free: 13.7 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.5411, allocations: 0 / 0.834 GB, free: 13.7 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.082e-06/0.5412, allocations: 0 / 0.834 GB, free: 13.7 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.788e-05/0.5412, allocations: 0 / 0.834 GB, free: 13.7 MB / 0.6075 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.002145/0.5433, allocations: 1.449 MB / 0.8354 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.119e-05/0.5434, allocations: 11.17 kB / 0.8354 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007357/0.5441, allocations: 186.2 kB / 0.8356 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001274/0.5454, allocations: 0.8559 MB / 0.8365 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.221e-05/0.5454, allocations: 43.91 kB / 0.8365 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.289e-05/0.5455, allocations: 57.81 kB / 0.8365 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001018/0.5465, allocations: 0.793 MB / 0.8373 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.471e-05/0.5466, allocations: 2.531 kB / 0.8373 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.748e-05/0.5466, allocations: 21.38 kB / 0.8373 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.019e-05/0.5466, allocations: 12.56 kB / 0.8374 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008048/0.5474, allocations: 0.534 MB / 0.8379 GB, free: 10.98 MB / 0.6075 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.003502/0.551, allocations: 4.592 MB / 0.8424 GB, free: 6.672 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006182/0.5516, allocations: 421.8 kB / 0.8428 GB, free: 6.461 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003309/0.5519, allocations: 242.7 kB / 0.843 GB, free: 6.344 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002476/0.5522, allocations: 194.9 kB / 0.8432 GB, free: 6.141 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004182/0.5526, allocations: 294.8 kB / 0.8435 GB, free: 5.945 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=31): time 1.863e-06/0.5526, allocations: 3.938 kB / 0.8435 GB, free: 5.941 MB / 0.6075 GB Notification: Performance of matching and sorting (n=31): time 0.001175/0.5538, allocations: 0.6349 MB / 0.8441 GB, free: 5.625 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.571e-05/0.5538, allocations: 87.58 kB / 0.8442 GB, free: 5.523 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00113/0.555, allocations: 1.112 MB / 0.8453 GB, free: 4.934 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.214e-05/0.555, allocations: 38.58 kB / 0.8453 GB, free: 4.895 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003472/0.5554, allocations: 492.2 kB / 0.8458 GB, free: 4.477 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 7.622e-05/0.5555, allocations: 107.4 kB / 0.8459 GB, free: 4.387 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001492/0.5556, allocations: 115.1 kB / 0.846 GB, free: 4.32 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001034/0.5557, allocations: 334.6 kB / 0.8463 GB, free: 3.992 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003319/0.5561, allocations: 215.5 kB / 0.8465 GB, free: 3.883 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005306/0.5566, allocations: 0.5164 MB / 0.847 GB, free: 3.391 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007687/0.5574, allocations: 0.6286 MB / 0.8476 GB, free: 2.922 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.576e-06/0.5574, allocations: 0 / 0.8476 GB, free: 2.922 MB / 0.6075 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001023/0.5584, allocations: 0.7212 MB / 0.8483 GB, free: 2.535 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.086e-05/0.5585, allocations: 37.73 kB / 0.8484 GB, free: 2.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.5585, allocations: 9.281 kB / 0.8484 GB, free: 2.496 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.5585, allocations: 7.594 kB / 0.8484 GB, free: 2.496 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003738/0.5589, allocations: 113.1 kB / 0.8485 GB, free: 2.465 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.685e-05/0.5589, allocations: 13.98 kB / 0.8485 GB, free: 2.461 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005493/0.5595, allocations: 73.89 kB / 0.8486 GB, free: 2.418 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.128e-05/0.5595, allocations: 21.78 kB / 0.8486 GB, free: 2.414 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005783/0.5601, allocations: 0.5084 MB / 0.8491 GB, free: 2.109 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004777/0.5606, allocations: 486.3 kB / 0.8495 GB, free: 1.621 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006899/0.5613, allocations: 0.5608 MB / 0.8501 GB, free: 0.9805 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.777e-06/0.5613, allocations: 4 kB / 0.8501 GB, free: 0.9766 MB / 0.6075 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.0009335/0.5622, allocations: 0.6342 MB / 0.8507 GB, free: 336 kB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.28e-05/0.5623, allocations: 33.7 kB / 0.8508 GB, free: 296 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.5623, allocations: 8.109 kB / 0.8508 GB, free: 288 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.835e-06/0.5623, allocations: 12.59 kB / 0.8508 GB, free: 276 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003366/0.5626, allocations: 107.8 kB / 0.8509 GB, free: 168 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/0.5627, allocations: 15.92 kB / 0.8509 GB, free: 152 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005472/0.5632, allocations: 64.03 kB / 0.851 GB, free: 88 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.288e-05/0.5632, allocations: 24 kB / 0.851 GB, free: 64 kB / 0.6075 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 (pulse_p.count,$PRE.pulse_p.count,pulse_p.T_start,$PRE.pulse_p.T_start,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001611/0.5634, allocations: 216.1 kB / 0.8512 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001141/0.5635, allocations: 110.7 kB / 0.8513 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008204/0.5644, allocations: 0.489 MB / 0.8518 GB, free: 15.24 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.895e-06/0.5644, allocations: 7.969 kB / 0.8518 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.5644, allocations: 0 / 0.8518 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002938/0.5647, allocations: 207.9 kB / 0.852 GB, free: 15.01 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001098/0.5648, allocations: 11.94 kB / 0.852 GB, free: 15 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000333/0.5651, allocations: 15.98 kB / 0.852 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.285e-05/0.5652, allocations: 31.95 kB / 0.852 GB, free: 14.95 MB / 0.6231 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008387/0.5661, allocations: 0.5584 MB / 0.8526 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007576/0.5668, allocations: 0.7048 MB / 0.8533 GB, free: 13.66 MB / 0.6231 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002812/0.5671, allocations: 171.9 kB / 0.8534 GB, free: 13.49 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.000875/0.568, allocations: 0.7914 MB / 0.8542 GB, free: 12.69 MB / 0.6231 GB Notification: Performance of Backend: time 4.61e-07/0.568, allocations: 0 / 0.8542 GB, free: 12.69 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001863/0.5699, allocations: 0.9009 MB / 0.8551 GB, free: 11.77 MB / 0.6231 GB Notification: Performance of SimCode: time 0.003356/0.5733, allocations: 2.446 MB / 0.8575 GB, free: 9.277 MB / 0.6231 GB Notification: Performance of Templates: time 0.02615/0.5994, allocations: 18.9 MB / 0.8759 GB, free: 6.555 MB / 0.6387 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.makefile (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)