Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.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.SeriesDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised") translateModel(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009749/0.000975, allocations: 98.88 kB / 16.02 MB, free: 76 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.001796/0.001797, allocations: 185.9 kB / 16.92 MB, free: 6.766 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.379/1.379, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9492/0.9492, allocations: 135.3 MB / 427.4 MB, free: 14.32 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003577/0.0003579, allocations: 9.438 kB / 0.5082 GB, free: 4.766 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1604/0.1608, allocations: 82.31 MB / 0.5886 GB, free: 2.621 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised): time 0.4502/0.611, allocations: 157.3 MB / 0.7422 GB, free: 9.777 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005572/0.6167, allocations: 3.596 MB / 0.7457 GB, free: 7.23 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005508/0.6173, allocations: 14.34 kB / 0.7457 GB, free: 7.223 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006597/0.6179, allocations: 136.2 kB / 0.7459 GB, free: 7.145 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001687/0.6197, allocations: 0.4949 MB / 0.7463 GB, free: 6.887 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001404/0.6211, allocations: 384.8 kB / 0.7467 GB, free: 6.707 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003931/0.625, allocations: 3.496 MB / 0.7501 GB, free: 5.215 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001304/0.6264, allocations: 0.7444 MB / 0.7509 GB, free: 4.805 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002077/0.6284, allocations: 0.9077 MB / 0.7517 GB, free: 4.324 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001356/0.6298, allocations: 0.7193 MB / 0.7524 GB, free: 3.922 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002094/0.63, allocations: 35.62 kB / 0.7525 GB, free: 3.922 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001969/0.632, allocations: 0.7966 MB / 0.7533 GB, free: 3.469 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004864/0.6325, allocations: 280.2 kB / 0.7535 GB, free: 3.285 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001014/0.6336, allocations: 0.531 MB / 0.754 GB, free: 2.953 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001457/0.635, allocations: 1.01 MB / 0.755 GB, free: 2.113 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.635, allocations: 4 kB / 0.755 GB, free: 2.109 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.364e-06/0.635, allocations: 0 / 0.755 GB, free: 2.109 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.631e-05/0.6351, allocations: 0 / 0.755 GB, free: 2.109 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 0.002363/0.6375, allocations: 1.26 MB / 0.7563 GB, free: 0.793 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/0.6375, allocations: 12.03 kB / 0.7563 GB, free: 0.7812 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009251/0.6385, allocations: 190.4 kB / 0.7565 GB, free: 0.5938 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001411/0.6399, allocations: 0.7982 MB / 0.7572 GB, free: 15.74 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.282e-05/0.6399, allocations: 48.98 kB / 0.7573 GB, free: 15.69 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001023/0.6401, allocations: 60 kB / 0.7573 GB, free: 15.63 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001192/0.6413, allocations: 0.7927 MB / 0.7581 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.845e-05/0.6413, allocations: 3.938 kB / 0.7581 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.596e-05/0.6413, allocations: 28 kB / 0.7581 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.786e-05/0.6414, allocations: 15.94 kB / 0.7582 GB, free: 14.72 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009161/0.6423, allocations: 0.5383 MB / 0.7587 GB, free: 14.18 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.004338/0.6466, allocations: 4.607 MB / 0.7632 GB, free: 9.191 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007422/0.6474, allocations: 427.1 kB / 0.7636 GB, free: 8.766 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003941/0.6478, allocations: 258.1 kB / 0.7638 GB, free: 8.516 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002887/0.6481, allocations: 190.2 kB / 0.764 GB, free: 8.293 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004995/0.6486, allocations: 307.2 kB / 0.7643 GB, free: 7.977 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=31): time 2.144e-06/0.6486, allocations: 0 / 0.7643 GB, free: 7.977 MB / 0.5762 GB Notification: Performance of matching and sorting (n=31): time 0.004009/0.6527, allocations: 1.345 MB / 0.7656 GB, free: 6.613 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.595e-05/0.6527, allocations: 89.11 kB / 0.7657 GB, free: 6.508 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001702/0.6545, allocations: 1.114 MB / 0.7668 GB, free: 5.375 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.179e-05/0.6545, allocations: 37.7 kB / 0.7668 GB, free: 5.332 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004526/0.655, allocations: 489.1 kB / 0.7673 GB, free: 4.848 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.00011/0.6551, allocations: 114.5 kB / 0.7674 GB, free: 4.734 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.296e-05/0.6552, allocations: 41.7 kB / 0.7674 GB, free: 4.688 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001139/0.6553, allocations: 322 kB / 0.7678 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004113/0.6557, allocations: 216.7 kB / 0.768 GB, free: 4.156 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006018/0.6563, allocations: 0.5252 MB / 0.7685 GB, free: 3.496 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008979/0.6572, allocations: 0.6386 MB / 0.7691 GB, free: 2.781 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.641e-06/0.6573, allocations: 4 kB / 0.7691 GB, free: 2.777 MB / 0.5762 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002427/0.6597, allocations: 1.05 MB / 0.7701 GB, free: 1.711 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001864/0.6599, allocations: 276.3 kB / 0.7704 GB, free: 1.359 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.306e-05/0.6599, allocations: 4 kB / 0.7704 GB, free: 1.355 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001362/0.6613, allocations: 366.2 kB / 0.7707 GB, free: 0.9961 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002424/0.6615, allocations: 67.91 kB / 0.7708 GB, free: 0.9297 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001049/0.6626, allocations: 1.012 MB / 0.7718 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000897/0.6635, allocations: 99.53 kB / 0.7719 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.849e-05/0.6636, allocations: 23.94 kB / 0.7719 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 9.769e-06/0.6636, allocations: 6.656 kB / 0.7719 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001377/0.665, allocations: 0.7332 MB / 0.7726 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/0.665, allocations: 4 kB / 0.7726 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005193/0.6655, allocations: 219.2 kB / 0.7728 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002142/0.6658, allocations: 63.91 kB / 0.7729 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003637/0.6694, allocations: 3.074 MB / 0.7759 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008957/0.6703, allocations: 95.56 kB / 0.776 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.816e-05/0.6704, allocations: 20 kB / 0.776 GB, free: 11.41 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 (34): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,19)} Notification: Performance of prepare postOptimizeDAE: time 0.0006385/0.671, allocations: 471.6 kB / 0.7765 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002386/0.6713, allocations: 102.8 kB / 0.7766 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0014/0.6727, allocations: 0.7335 MB / 0.7773 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/0.6727, allocations: 4 kB / 0.7773 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.6727, allocations: 0 / 0.7773 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.6727, allocations: 0 / 0.7773 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002621/0.6754, allocations: 1.617 MB / 0.7789 GB, free: 8.391 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-06/0.6754, allocations: 8.219 kB / 0.7789 GB, free: 8.383 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001175/0.6755, allocations: 23.92 kB / 0.7789 GB, free: 8.359 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000454/0.676, allocations: 220.7 kB / 0.7791 GB, free: 8.141 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.456e-05/0.676, allocations: 8 kB / 0.7791 GB, free: 8.133 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008765/0.6769, allocations: 0.9854 MB / 0.7801 GB, free: 7.121 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/0.6769, allocations: 4.031 kB / 0.7801 GB, free: 7.117 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001244/0.6782, allocations: 0.8369 MB / 0.7809 GB, free: 6.238 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004381/0.6786, allocations: 223.7 kB / 0.7811 GB, free: 6 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001735/0.6788, allocations: 8 kB / 0.7811 GB, free: 5.992 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000564/0.6794, allocations: 55.88 kB / 0.7812 GB, free: 5.938 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.111e-05/0.6795, allocations: 27.91 kB / 0.7812 GB, free: 5.91 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.576e-05/0.6795, allocations: 12 kB / 0.7812 GB, free: 5.898 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001129/0.6806, allocations: 0.7955 MB / 0.782 GB, free: 5.094 MB / 0.5919 GB Notification: Performance of sort global known variables: time 3.61e-07/0.6806, allocations: 0 / 0.782 GB, free: 5.094 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001435/0.6821, allocations: 439.4 kB / 0.7824 GB, free: 4.664 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 (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,19)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004803/0.6826, allocations: 177.8 kB / 0.7826 GB, free: 4.484 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001977/0.6846, allocations: 1.088 MB / 0.7836 GB, free: 3.359 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.6846, allocations: 0 / 0.7836 GB, free: 3.359 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.000477/0.6851, allocations: 229.8 kB / 0.7839 GB, free: 3.137 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00245/0.6875, allocations: 457 kB / 0.7843 GB, free: 2.703 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003113/0.6906, allocations: 2.123 MB / 0.7864 GB, free: 0.5156 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007767/0.6914, allocations: 1.189 MB / 0.7875 GB, free: 15.3 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000151/0.6916, allocations: 59.44 kB / 0.7876 GB, free: 15.24 MB / 0.6075 GB Notification: Performance of SimCode: time 8.52e-07/0.6916, allocations: 0 / 0.7876 GB, free: 15.24 MB / 0.6075 GB Notification: Performance of Templates: time 0.02857/0.7202, allocations: 20.22 MB / 0.8073 GB, free: 11.12 MB / 0.6231 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.sim & ./IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe 2>&1)