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.001473/0.001479, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001664/0.001664, allocations: 194.6 kB / 16.53 MB, free: 6.699 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.37/1.37, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9098/0.9098, allocations: 135.1 MB / 425.5 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001386/0.001387, allocations: 64.17 kB / 0.5053 GB, free: 5.336 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1597/0.1611, allocations: 80.92 MB / 0.5844 GB, free: 4.578 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.4307/0.5919, allocations: 161.6 MB / 0.7422 GB, free: 7.594 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002947/0.5948, allocations: 1.753 MB / 0.7439 GB, free: 6.371 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000301/0.5952, allocations: 12.69 kB / 0.7439 GB, free: 6.367 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005188/0.5957, allocations: 161 kB / 0.7441 GB, free: 6.266 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001237/0.597, allocations: 0.5307 MB / 0.7446 GB, free: 5.887 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009674/0.598, allocations: 388.5 kB / 0.7449 GB, free: 5.617 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002325/0.6003, allocations: 2.528 MB / 0.7474 GB, free: 4.238 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009943/0.6013, allocations: 0.9284 MB / 0.7483 GB, free: 3.723 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00153/0.6028, allocations: 1.011 MB / 0.7493 GB, free: 3.207 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007484/0.6036, allocations: 0.7136 MB / 0.75 GB, free: 2.797 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.000102/0.6037, allocations: 54.78 kB / 0.7501 GB, free: 2.797 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001331/0.605, allocations: 0.7383 MB / 0.7508 GB, free: 2.402 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002749/0.6053, allocations: 304.9 kB / 0.7511 GB, free: 2.199 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005949/0.6059, allocations: 0.5415 MB / 0.7516 GB, free: 1.742 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001587/0.6075, allocations: 1.391 MB / 0.753 GB, free: 356 kB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.6075, allocations: 7.938 kB / 0.753 GB, free: 348 kB / 0.5606 GB Notification: Performance of FrontEnd: time 2.024e-06/0.6076, allocations: 0 / 0.753 GB, free: 348 kB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.753e-05/0.6076, allocations: 0 / 0.753 GB, free: 348 kB / 0.5606 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.002176/0.6098, allocations: 1.439 MB / 0.7544 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.6098, allocations: 12.03 kB / 0.7544 GB, free: 14.83 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007694/0.6106, allocations: 190.4 kB / 0.7546 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001192/0.6118, allocations: 0.8 MB / 0.7553 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.903e-05/0.6118, allocations: 49 kB / 0.7554 GB, free: 13.74 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.899e-05/0.6119, allocations: 56 kB / 0.7554 GB, free: 13.69 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001075/0.613, allocations: 0.7888 MB / 0.7562 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.647e-05/0.613, allocations: 7.938 kB / 0.7562 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.182e-05/0.6131, allocations: 27.98 kB / 0.7562 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.298e-05/0.6131, allocations: 12 kB / 0.7563 GB, free: 12.78 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008644/0.614, allocations: 0.5305 MB / 0.7568 GB, free: 12.25 MB / 0.5762 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.003974/0.618, allocations: 4.61 MB / 0.7613 GB, free: 7.254 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006967/0.6187, allocations: 410.9 kB / 0.7617 GB, free: 6.844 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004271/0.6191, allocations: 250.4 kB / 0.7619 GB, free: 6.598 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003488/0.6195, allocations: 194.4 kB / 0.7621 GB, free: 6.371 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004818/0.62, allocations: 291.4 kB / 0.7624 GB, free: 6.07 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=31): time 3.767e-06/0.62, allocations: 7.922 kB / 0.7624 GB, free: 6.062 MB / 0.5762 GB Notification: Performance of matching and sorting (n=31): time 0.001325/0.6213, allocations: 0.6353 MB / 0.763 GB, free: 5.422 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.413e-05/0.6214, allocations: 89.03 kB / 0.7631 GB, free: 5.316 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0012/0.6226, allocations: 1.118 MB / 0.7642 GB, free: 4.18 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.251e-05/0.6227, allocations: 37.7 kB / 0.7642 GB, free: 4.137 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004177/0.6231, allocations: 495 kB / 0.7647 GB, free: 3.652 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.723e-05/0.6232, allocations: 114.5 kB / 0.7648 GB, free: 3.539 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002321/0.6234, allocations: 117.9 kB / 0.7649 GB, free: 3.418 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001124/0.6235, allocations: 321.9 kB / 0.7652 GB, free: 3.098 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003625/0.6239, allocations: 214.4 kB / 0.7654 GB, free: 2.883 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005919/0.6245, allocations: 0.5213 MB / 0.7659 GB, free: 2.227 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008715/0.6254, allocations: 0.6271 MB / 0.7665 GB, free: 1.523 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.6254, allocations: 4 kB / 0.7665 GB, free: 1.52 MB / 0.5762 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001217/0.6266, allocations: 0.7206 MB / 0.7672 GB, free: 0.7852 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.818e-05/0.6267, allocations: 40.17 kB / 0.7673 GB, free: 0.7422 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.164e-05/0.6267, allocations: 7.984 kB / 0.7673 GB, free: 0.7344 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.993e-05/0.6267, allocations: 8 kB / 0.7673 GB, free: 0.7266 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004394/0.6272, allocations: 107.8 kB / 0.7674 GB, free: 0.6211 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.831e-05/0.6272, allocations: 15.92 kB / 0.7674 GB, free: 0.6055 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005895/0.6278, allocations: 79.34 kB / 0.7675 GB, free: 0.5273 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.237e-05/0.6279, allocations: 27.98 kB / 0.7675 GB, free: 0.5 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007695/0.6286, allocations: 0.4967 MB / 0.768 GB, free: 0 / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007106/0.6294, allocations: 492.5 kB / 0.7685 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007426/0.6301, allocations: 0.5487 MB / 0.769 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.11e-06/0.6301, allocations: 4 kB / 0.769 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.001231/0.6314, allocations: 0.6423 MB / 0.7696 GB, free: 14.1 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.961e-05/0.6314, allocations: 33.7 kB / 0.7697 GB, free: 14.06 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.235e-05/0.6314, allocations: 9.344 kB / 0.7697 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.6314, allocations: 8 kB / 0.7697 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003812/0.6318, allocations: 107.8 kB / 0.7698 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.321e-05/0.6319, allocations: 11.94 kB / 0.7698 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006835/0.6325, allocations: 68.05 kB / 0.7699 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.91e-05/0.6326, allocations: 26.81 kB / 0.7699 GB, free: 13.84 MB / 0.5919 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.0002293/0.6328, allocations: 224.9 kB / 0.7701 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001484/0.633, allocations: 102.7 kB / 0.7702 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008921/0.6339, allocations: 494.8 kB / 0.7707 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.6339, allocations: 0 / 0.7707 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.6339, allocations: 4 kB / 0.7707 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.6339, allocations: 3.938 kB / 0.7707 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001912/0.6358, allocations: 1.379 MB / 0.772 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/0.6359, allocations: 4 kB / 0.772 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002456/0.6361, allocations: 67.89 kB / 0.7721 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.501e-06/0.6361, allocations: 0 / 0.7721 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.288e-05/0.6362, allocations: 12 kB / 0.7721 GB, free: 11.47 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.548e-06/0.6362, allocations: 7.875 kB / 0.7721 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/0.6362, allocations: 7.984 kB / 0.7721 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008499/0.637, allocations: 0.5983 MB / 0.7727 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002816/0.6373, allocations: 211.8 kB / 0.7729 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001069/0.6374, allocations: 12 kB / 0.7729 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003957/0.6378, allocations: 23.97 kB / 0.7729 GB, free: 10.56 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.649e-05/0.6379, allocations: 31.97 kB / 0.773 GB, free: 10.53 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.956e-05/0.638, allocations: 8 kB / 0.773 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001072/0.6391, allocations: 0.7914 MB / 0.7738 GB, free: 9.719 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6391, allocations: 0 / 0.7738 GB, free: 9.719 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001318/0.6404, allocations: 407.5 kB / 0.7741 GB, free: 9.32 MB / 0.5919 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.0004969/0.6409, allocations: 173.9 kB / 0.7743 GB, free: 9.152 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001491/0.6424, allocations: 0.8601 MB / 0.7752 GB, free: 8.27 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.6424, allocations: 0 / 0.7752 GB, free: 8.27 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003825/0.6428, allocations: 197.1 kB / 0.7753 GB, free: 8.078 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001958/0.6448, allocations: 460.3 kB / 0.7758 GB, free: 7.656 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002729/0.6475, allocations: 1.771 MB / 0.7775 GB, free: 5.828 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006769/0.6482, allocations: 1.18 MB / 0.7787 GB, free: 4.617 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001013/0.6492, allocations: 407.7 kB / 0.7791 GB, free: 4.215 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001572/0.6494, allocations: 71.44 kB / 0.7791 GB, free: 4.145 MB / 0.5919 GB Notification: Performance of SimCode: time 9.62e-07/0.6494, allocations: 0 / 0.7791 GB, free: 4.145 MB / 0.5919 GB Notification: Performance of Templates: time 0.02742/0.6768, allocations: 17.04 MB / 0.7958 GB, free: 3.332 MB / 0.6075 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)