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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.001342/0.001342, allocations: 105.6 kB / 16.41 MB, free: 6.512 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.001449/0.001449, allocations: 187 kB / 17.34 MB, free: 5.742 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.323/1.323, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.813/0.813, allocations: 132.2 MB / 423.4 MB, free: 6.574 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 62.44 kB / 0.582 GB, free: 23.84 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1688/0.1701, allocations: 80.21 MB / 0.6603 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.6313/0.8014, allocations: 161.6 MB / 0.8182 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.003512/0.805, allocations: 1.754 MB / 0.8199 GB, free: 9.012 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005135/0.8055, allocations: 15.62 kB / 0.8199 GB, free: 9.004 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0006691/0.8063, allocations: 160.5 kB / 0.8201 GB, free: 8.871 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0016/0.8079, allocations: 0.5201 MB / 0.8206 GB, free: 8.477 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001285/0.8092, allocations: 398 kB / 0.8209 GB, free: 8.199 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0026/0.8118, allocations: 2.521 MB / 0.8234 GB, free: 6.805 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001223/0.813, allocations: 0.9341 MB / 0.8243 GB, free: 6.277 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001957/0.815, allocations: 1.034 MB / 0.8253 GB, free: 5.73 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001081/0.8161, allocations: 0.7062 MB / 0.826 GB, free: 5.328 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001236/0.8162, allocations: 54.78 kB / 0.8261 GB, free: 5.328 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001704/0.8179, allocations: 0.7474 MB / 0.8268 GB, free: 4.926 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003517/0.8183, allocations: 308.8 kB / 0.8271 GB, free: 4.719 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0007434/0.8191, allocations: 0.539 MB / 0.8276 GB, free: 4.391 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00187/0.8209, allocations: 1.41 MB / 0.829 GB, free: 3.551 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.574e-06/0.821, allocations: 0 / 0.829 GB, free: 3.551 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.645e-06/0.821, allocations: 0 / 0.829 GB, free: 3.551 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.882e-05/0.821, allocations: 0 / 0.829 GB, free: 3.551 MB / 0.5919 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.002419/0.8234, allocations: 1.449 MB / 0.8304 GB, free: 2.434 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/0.8235, allocations: 10.09 kB / 0.8304 GB, free: 2.434 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007707/0.8242, allocations: 184.7 kB / 0.8306 GB, free: 2.348 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00145/0.8257, allocations: 0.8498 MB / 0.8314 GB, free: 1.723 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.779e-05/0.8258, allocations: 42.19 kB / 0.8315 GB, free: 1.707 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.209e-05/0.8259, allocations: 63.19 kB / 0.8315 GB, free: 1.688 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001102/0.827, allocations: 0.7889 MB / 0.8323 GB, free: 1.121 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.859e-05/0.827, allocations: 10.2 kB / 0.8323 GB, free: 1.113 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.989e-05/0.827, allocations: 19.66 kB / 0.8323 GB, free: 1.102 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.389e-05/0.8271, allocations: 16.84 kB / 0.8323 GB, free: 1.098 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008308/0.8279, allocations: 0.5319 MB / 0.8329 GB, free: 0.8359 MB / 0.5919 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.004023/0.8319, allocations: 4.591 MB / 0.8373 GB, free: 12.53 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006868/0.8326, allocations: 420.9 kB / 0.8377 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003605/0.833, allocations: 247.5 kB / 0.838 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002882/0.8333, allocations: 191.4 kB / 0.8382 GB, free: 12 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004648/0.8338, allocations: 290.3 kB / 0.8384 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=31): time 1.934e-06/0.8338, allocations: 0 / 0.8384 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of matching and sorting (n=31): time 0.001326/0.8351, allocations: 0.6342 MB / 0.8391 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.553e-05/0.8352, allocations: 89.8 kB / 0.8391 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001257/0.8365, allocations: 1.119 MB / 0.8402 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.307e-05/0.8365, allocations: 34.73 kB / 0.8403 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004032/0.8369, allocations: 487.7 kB / 0.8407 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 8.776e-05/0.837, allocations: 115.9 kB / 0.8409 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001629/0.8372, allocations: 108.9 kB / 0.841 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000123/0.8373, allocations: 328.6 kB / 0.8413 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003666/0.8377, allocations: 214.2 kB / 0.8415 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005855/0.8383, allocations: 0.529 MB / 0.842 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008412/0.8391, allocations: 0.6245 MB / 0.8426 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.069e-06/0.8392, allocations: 6.469 kB / 0.8426 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001115/0.8403, allocations: 0.7275 MB / 0.8433 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.524e-05/0.8403, allocations: 37.12 kB / 0.8434 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/0.8403, allocations: 5.281 kB / 0.8434 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.297e-05/0.8404, allocations: 10.34 kB / 0.8434 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004169/0.8408, allocations: 106 kB / 0.8435 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.409e-05/0.8408, allocations: 18.41 kB / 0.8435 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000631/0.8415, allocations: 66.91 kB / 0.8435 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.122e-05/0.8415, allocations: 31.8 kB / 0.8436 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006532/0.8422, allocations: 0.491 MB / 0.8441 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005156/0.8427, allocations: 487.7 kB / 0.8445 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007039/0.8434, allocations: 0.5615 MB / 0.8451 GB, free: 7.062 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.465e-06/0.8434, allocations: 4 kB / 0.8451 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.0009735/0.8444, allocations: 0.6534 MB / 0.8457 GB, free: 6.703 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.05e-05/0.8445, allocations: 32.92 kB / 0.8457 GB, free: 6.672 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.8445, allocations: 5.875 kB / 0.8458 GB, free: 6.672 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.175e-06/0.8445, allocations: 7.531 kB / 0.8458 GB, free: 6.672 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003445/0.8448, allocations: 103 kB / 0.8459 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.8448, allocations: 7.75 kB / 0.8459 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006169/0.8455, allocations: 73.14 kB / 0.8459 GB, free: 6.605 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.613e-05/0.8455, allocations: 25.09 kB / 0.846 GB, free: 6.598 MB / 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.0001935/0.8457, allocations: 224.8 kB / 0.8462 GB, free: 6.383 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000127/0.8458, allocations: 98.62 kB / 0.8463 GB, free: 6.332 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008797/0.8467, allocations: 0.4915 MB / 0.8467 GB, free: 6.059 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.8467, allocations: 6.906 kB / 0.8468 GB, free: 6.055 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.8468, allocations: 0 / 0.8468 GB, free: 6.055 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.8468, allocations: 2.875 kB / 0.8468 GB, free: 6.055 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002021/0.8488, allocations: 1.381 MB / 0.8481 GB, free: 4.633 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-06/0.8488, allocations: 7.938 kB / 0.8481 GB, free: 4.625 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002306/0.849, allocations: 59.89 kB / 0.8482 GB, free: 4.566 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.232e-06/0.8491, allocations: 4 kB / 0.8482 GB, free: 4.562 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.408e-05/0.8491, allocations: 8 kB / 0.8482 GB, free: 4.555 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.39e-06/0.8491, allocations: 7.984 kB / 0.8482 GB, free: 4.547 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.8491, allocations: 4 kB / 0.8482 GB, free: 4.543 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008125/0.8499, allocations: 0.5985 MB / 0.8488 GB, free: 3.906 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003301/0.8503, allocations: 215.8 kB / 0.849 GB, free: 3.676 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001051/0.8504, allocations: 8 kB / 0.849 GB, free: 3.668 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003783/0.8508, allocations: 23.97 kB / 0.849 GB, free: 3.645 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.176e-05/0.8509, allocations: 27.91 kB / 0.849 GB, free: 3.617 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.242e-05/0.8509, allocations: 12 kB / 0.8491 GB, free: 3.605 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0009604/0.8519, allocations: 0.7953 MB / 0.8498 GB, free: 2.801 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8519, allocations: 0 / 0.8498 GB, free: 2.801 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001201/0.8531, allocations: 407.4 kB / 0.8502 GB, free: 2.402 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000467/0.8535, allocations: 180.4 kB / 0.8504 GB, free: 2.23 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001379/0.8549, allocations: 0.8241 MB / 0.8512 GB, free: 1.387 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.8549, allocations: 0 / 0.8512 GB, free: 1.387 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003334/0.8553, allocations: 196.3 kB / 0.8514 GB, free: 1.195 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001786/0.8571, allocations: 448.7 kB / 0.8518 GB, free: 0.7695 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00298/0.8601, allocations: 1.781 MB / 0.8535 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008085/0.8609, allocations: 1.18 MB / 0.8547 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002093/0.8611, allocations: 75.42 kB / 0.8548 GB, free: 13.64 MB / 0.6231 GB Notification: Performance of SimCode: time 9.42e-07/0.8611, allocations: 4 kB / 0.8548 GB, free: 13.64 MB / 0.6231 GB Notification: Performance of Templates: time 0.02627/0.8874, allocations: 16.09 MB / 0.8705 GB, free: 13.69 MB / 0.6387 GB make -j1 -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.makefile (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)