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.001087/0.001088, allocations: 104.1 kB / 16.35 MB, free: 5.824 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.001057/0.001057, allocations: 190.4 kB / 17.29 MB, free: 5.48 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.328/1.328, 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.8103/0.8103, allocations: 135.1 MB / 426.3 MB, free: 4.109 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001194/0.001194, allocations: 63.89 kB / 0.5067 GB, free: 7.645 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3368/0.3381, allocations: 80.91 MB / 0.5858 GB, free: 25.54 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.1592/0.4973, allocations: 161.6 MB / 0.7436 GB, free: 8.383 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003185/0.5005, allocations: 1.756 MB / 0.7453 GB, free: 6.625 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004447/0.501, allocations: 11.94 kB / 0.7453 GB, free: 6.613 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006418/0.5016, allocations: 158.9 kB / 0.7455 GB, free: 6.457 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001454/0.5032, allocations: 0.5328 MB / 0.746 GB, free: 5.922 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001266/0.5045, allocations: 396 kB / 0.7464 GB, free: 5.539 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002798/0.5073, allocations: 2.533 MB / 0.7488 GB, free: 3 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001361/0.5086, allocations: 0.9215 MB / 0.7497 GB, free: 2.066 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001827/0.5105, allocations: 1.036 MB / 0.7508 GB, free: 1.027 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001118/0.5116, allocations: 0.7 MB / 0.7514 GB, free: 332 kB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001818/0.5118, allocations: 56 kB / 0.7515 GB, free: 276 kB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.324/0.8358, allocations: 0.7296 MB / 0.7522 GB, free: 3.891 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005391/0.8364, allocations: 312 kB / 0.7525 GB, free: 3.891 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0009188/0.8373, allocations: 0.5424 MB / 0.753 GB, free: 3.891 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001625/0.839, allocations: 1.408 MB / 0.7544 GB, free: 3.84 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.839, allocations: 0 / 0.7544 GB, free: 3.84 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.743e-06/0.839, allocations: 0 / 0.7544 GB, free: 3.84 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.281e-05/0.839, allocations: 0.5625 kB / 0.7544 GB, free: 3.84 MB / 0.5762 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.002126/0.8411, allocations: 1.442 MB / 0.7558 GB, free: 3 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/0.8412, allocations: 12.3 kB / 0.7558 GB, free: 3 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007736/0.842, allocations: 189.2 kB / 0.756 GB, free: 2.941 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001328/0.8433, allocations: 0.847 MB / 0.7568 GB, free: 2.582 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.68e-05/0.8434, allocations: 39.25 kB / 0.7569 GB, free: 2.582 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.791e-05/0.8435, allocations: 62.81 kB / 0.7569 GB, free: 2.582 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001054/0.8445, allocations: 0.7887 MB / 0.7577 GB, free: 2.363 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.829e-05/0.8445, allocations: 5.844 kB / 0.7577 GB, free: 2.363 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.088e-05/0.8446, allocations: 28.88 kB / 0.7577 GB, free: 2.359 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.338e-05/0.8446, allocations: 13.41 kB / 0.7577 GB, free: 2.359 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008947/0.8455, allocations: 0.5332 MB / 0.7583 GB, free: 2.359 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.004703/0.8502, allocations: 4.588 MB / 0.7627 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007919/0.851, allocations: 414.6 kB / 0.7631 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004626/0.8515, allocations: 246.7 kB / 0.7634 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003257/0.8518, allocations: 194.7 kB / 0.7636 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005218/0.8524, allocations: 295.6 kB / 0.7638 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=31): time 1.823e-06/0.8524, allocations: 0.8125 kB / 0.7638 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of matching and sorting (n=31): time 0.001504/0.8539, allocations: 0.6313 MB / 0.7645 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.986e-05/0.854, allocations: 90.31 kB / 0.7645 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001617/0.8556, allocations: 1.116 MB / 0.7656 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.013e-05/0.8557, allocations: 36.11 kB / 0.7657 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000347/0.856, allocations: 494.1 kB / 0.7661 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 6.856e-05/0.8561, allocations: 105 kB / 0.7662 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001476/0.8562, allocations: 110.4 kB / 0.7663 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001038/0.8564, allocations: 328.4 kB / 0.7667 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003236/0.8567, allocations: 213.1 kB / 0.7669 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006206/0.8573, allocations: 0.5182 MB / 0.7674 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000956/0.8583, allocations: 0.6376 MB / 0.768 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.067e-06/0.8583, allocations: 0.625 kB / 0.768 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001091/0.8594, allocations: 0.72 MB / 0.7687 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.871e-05/0.8594, allocations: 33.98 kB / 0.7687 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/0.8595, allocations: 12.19 kB / 0.7687 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.936e-05/0.8595, allocations: 5.688 kB / 0.7687 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004033/0.8599, allocations: 118.1 kB / 0.7689 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.316e-05/0.8599, allocations: 9.203 kB / 0.7689 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006655/0.8606, allocations: 76.48 kB / 0.7689 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.81e-05/0.8606, allocations: 27.97 kB / 0.769 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006465/0.8613, allocations: 0.4948 MB / 0.7695 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004483/0.8618, allocations: 488.9 kB / 0.7699 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007928/0.8626, allocations: 0.5528 MB / 0.7705 GB, free: 12.31 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.148e-06/0.8626, allocations: 1.812 kB / 0.7705 GB, free: 12.31 MB / 0.5919 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.001094/0.8637, allocations: 0.6512 MB / 0.7711 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.383e-05/0.8637, allocations: 37.62 kB / 0.7711 GB, free: 12.15 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/0.8637, allocations: 6.219 kB / 0.7711 GB, free: 12.15 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.8638, allocations: 7.125 kB / 0.7711 GB, free: 12.15 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003912/0.8641, allocations: 108 kB / 0.7712 GB, free: 12.15 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.386e-05/0.8642, allocations: 15.59 kB / 0.7713 GB, free: 12.15 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000652/0.8648, allocations: 68.91 kB / 0.7713 GB, free: 12.13 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.552e-05/0.8649, allocations: 26.19 kB / 0.7714 GB, free: 12.13 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.0001842/0.8651, allocations: 221.7 kB / 0.7716 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001288/0.8652, allocations: 105.6 kB / 0.7717 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008276/0.866, allocations: 488.7 kB / 0.7721 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.965e-06/0.8661, allocations: 9.875 kB / 0.7721 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.8661, allocations: 0 / 0.7721 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.8661, allocations: 3.703 kB / 0.7721 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001986/0.8681, allocations: 1.386 MB / 0.7735 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.055e-06/0.8681, allocations: 1.094 kB / 0.7735 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002317/0.8683, allocations: 65.98 kB / 0.7736 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.08e-06/0.8683, allocations: 3.406 kB / 0.7736 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.207e-05/0.8684, allocations: 8.062 kB / 0.7736 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.609e-06/0.8684, allocations: 5.812 kB / 0.7736 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.8684, allocations: 3.219 kB / 0.7736 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007811/0.8692, allocations: 0.5987 MB / 0.7742 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003462/0.8695, allocations: 206.3 kB / 0.7744 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001075/0.8696, allocations: 12.39 kB / 0.7744 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000381/0.87, allocations: 20.58 kB / 0.7744 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.91e-05/0.8701, allocations: 38.41 kB / 0.7744 GB, free: 11.01 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.178e-05/0.8702, allocations: 8.031 kB / 0.7744 GB, free: 11.01 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0008522/0.871, allocations: 0.7892 MB / 0.7752 GB, free: 10.9 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/0.871, allocations: 0 / 0.7752 GB, free: 10.9 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001072/0.8721, allocations: 416.3 kB / 0.7756 GB, free: 10.87 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.0003937/0.8725, allocations: 184.3 kB / 0.7758 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001257/0.8738, allocations: 0.819 MB / 0.7766 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.8738, allocations: 0 / 0.7766 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003208/0.8741, allocations: 207.5 kB / 0.7768 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001658/0.8758, allocations: 447.8 kB / 0.7772 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002472/0.8783, allocations: 1.726 MB / 0.7789 GB, free: 9.945 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006432/0.8789, allocations: 1.185 MB / 0.78 GB, free: 9.238 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.000935/0.8799, allocations: 413.6 kB / 0.7804 GB, free: 9.211 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001663/0.88, allocations: 75.88 kB / 0.7805 GB, free: 9.207 MB / 0.5919 GB Notification: Performance of SimCode: time 7.31e-07/0.88, allocations: 0 / 0.7805 GB, free: 9.207 MB / 0.5919 GB Notification: Performance of Templates: time 0.02799/0.908, allocations: 17.05 MB / 0.7972 GB, free: 6.621 MB / 0.5919 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 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1)