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.001121/0.001121, allocations: 105.7 kB / 16.41 MB, free: 6.496 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.001068/0.001068, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.336/1.336, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7918/0.7918, allocations: 135.1 MB / 426.3 MB, free: 4.113 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 67.39 kB / 0.5863 GB, free: 21.63 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1437/0.1449, allocations: 80.91 MB / 0.6653 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised): time 0.5989/0.7438, allocations: 161.6 MB / 0.8231 GB, free: 4.559 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.005182/0.7491, allocations: 3.628 MB / 0.8267 GB, free: 1.629 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004847/0.7496, allocations: 12.03 kB / 0.8267 GB, free: 1.625 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.000689/0.7503, allocations: 156.2 kB / 0.8268 GB, free: 1.496 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001638/0.752, allocations: 0.5317 MB / 0.8274 GB, free: 1.09 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001419/0.7534, allocations: 439.5 kB / 0.8278 GB, free: 0.7891 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002949/0.7564, allocations: 2.534 MB / 0.8303 GB, free: 15.38 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001417/0.7578, allocations: 0.9428 MB / 0.8312 GB, free: 14.85 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001986/0.7598, allocations: 1.037 MB / 0.8322 GB, free: 14.3 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001304/0.7611, allocations: 0.7024 MB / 0.8329 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002333/0.7614, allocations: 55.75 kB / 0.8329 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001706/0.7631, allocations: 0.7402 MB / 0.8336 GB, free: 13.51 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004227/0.7635, allocations: 313.2 kB / 0.8339 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0008318/0.7644, allocations: 0.5398 MB / 0.8345 GB, free: 12.97 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001746/0.7661, allocations: 1.41 MB / 0.8359 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.7661, allocations: 0 / 0.8359 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.743e-06/0.7662, allocations: 0 / 0.8359 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.521e-05/0.7662, allocations: 0 / 0.8359 GB, free: 12.14 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: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 0.002168/0.7683, allocations: 1.45 MB / 0.8373 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.7684, allocations: 11.05 kB / 0.8373 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000747/0.7692, allocations: 188.9 kB / 0.8375 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001166/0.7703, allocations: 0.8544 MB / 0.8383 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.423e-05/0.7704, allocations: 50.06 kB / 0.8383 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.813e-05/0.7705, allocations: 62.06 kB / 0.8384 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001084/0.7716, allocations: 0.7893 MB / 0.8392 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.759e-05/0.7716, allocations: 10.62 kB / 0.8392 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.151e-05/0.7716, allocations: 21.28 kB / 0.8392 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.536e-05/0.7717, allocations: 18.66 kB / 0.8392 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000838/0.7725, allocations: 0.5282 MB / 0.8397 GB, free: 9.406 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.003765/0.7763, allocations: 4.584 MB / 0.8442 GB, free: 5.105 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006742/0.777, allocations: 421.5 kB / 0.8446 GB, free: 4.895 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003578/0.7773, allocations: 240.8 kB / 0.8448 GB, free: 4.781 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002918/0.7776, allocations: 193.3 kB / 0.845 GB, free: 4.578 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004913/0.7782, allocations: 306.4 kB / 0.8453 GB, free: 4.375 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=31): time 2.044e-06/0.7782, allocations: 0 / 0.8453 GB, free: 4.375 MB / 0.6075 GB Notification: Performance of matching and sorting (n=31): time 0.003644/0.7818, allocations: 1.315 MB / 0.8466 GB, free: 3.645 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.399e-05/0.7819, allocations: 79.77 kB / 0.8467 GB, free: 3.551 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001297/0.7832, allocations: 1.122 MB / 0.8478 GB, free: 2.953 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.131e-05/0.7832, allocations: 38.7 kB / 0.8478 GB, free: 2.914 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003927/0.7836, allocations: 494.6 kB / 0.8483 GB, free: 2.496 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 8.429e-05/0.7837, allocations: 105.9 kB / 0.8484 GB, free: 2.406 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001486/0.7839, allocations: 114 kB / 0.8485 GB, free: 2.34 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001136/0.784, allocations: 331.7 kB / 0.8488 GB, free: 2.016 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003396/0.7844, allocations: 214.3 kB / 0.849 GB, free: 1.906 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005563/0.7849, allocations: 0.5158 MB / 0.8495 GB, free: 1.414 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008072/0.7858, allocations: 0.6211 MB / 0.8501 GB, free: 0.9531 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.7858, allocations: 0 / 0.8501 GB, free: 0.9531 MB / 0.6075 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002234/0.788, allocations: 1.054 MB / 0.8512 GB, free: 36 kB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.524e-05/0.7881, allocations: 39.88 kB / 0.8512 GB, free: 15.99 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/0.7881, allocations: 4 kB / 0.8512 GB, free: 15.99 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001347/0.7895, allocations: 362.9 kB / 0.8515 GB, free: 15.63 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002329/0.7897, allocations: 59.91 kB / 0.8516 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001011/0.7907, allocations: 1.013 MB / 0.8526 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006686/0.7914, allocations: 67.5 kB / 0.8527 GB, free: 14.47 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.196e-05/0.7915, allocations: 31.92 kB / 0.8527 GB, free: 14.44 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007433/0.7922, allocations: 0.4928 MB / 0.8532 GB, free: 13.94 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005424/0.7928, allocations: 494 kB / 0.8536 GB, free: 13.32 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007232/0.7935, allocations: 0.5608 MB / 0.8542 GB, free: 12.68 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.405e-06/0.7935, allocations: 0 / 0.8542 GB, free: 12.68 MB / 0.6231 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.001479/0.795, allocations: 0.8303 MB / 0.855 GB, free: 11.83 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.226e-05/0.795, allocations: 33.7 kB / 0.855 GB, free: 11.79 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.363e-06/0.7951, allocations: 7.938 kB / 0.855 GB, free: 11.79 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004857/0.7956, allocations: 208.9 kB / 0.8552 GB, free: 11.58 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002054/0.7958, allocations: 55.91 kB / 0.8553 GB, free: 11.52 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003669/0.7994, allocations: 3.34 MB / 0.8585 GB, free: 8.023 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007118/0.8002, allocations: 71.95 kB / 0.8586 GB, free: 7.953 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.915e-05/0.8002, allocations: 24 kB / 0.8586 GB, free: 7.93 MB / 0.6231 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.0002092/0.8004, allocations: 216.3 kB / 0.8588 GB, free: 7.711 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001286/0.8006, allocations: 110.7 kB / 0.859 GB, free: 7.602 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001286/0.8019, allocations: 0.6986 MB / 0.8596 GB, free: 6.887 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.8019, allocations: 4 kB / 0.8596 GB, free: 6.883 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.8019, allocations: 4 kB / 0.8596 GB, free: 6.879 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.461e-06/0.8019, allocations: 0 / 0.8596 GB, free: 6.879 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002269/0.8042, allocations: 1.599 MB / 0.8612 GB, free: 5.199 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.705e-06/0.8042, allocations: 7.938 kB / 0.8612 GB, free: 5.191 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000111/0.8043, allocations: 27.86 kB / 0.8612 GB, free: 5.164 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004439/0.8048, allocations: 220.9 kB / 0.8614 GB, free: 4.945 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.589e-05/0.8048, allocations: 12 kB / 0.8615 GB, free: 4.934 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008556/0.8057, allocations: 0.9762 MB / 0.8624 GB, free: 3.934 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/0.8057, allocations: 4.031 kB / 0.8624 GB, free: 3.93 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001187/0.8069, allocations: 0.8291 MB / 0.8632 GB, free: 3.059 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003116/0.8072, allocations: 215.8 kB / 0.8634 GB, free: 2.828 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001056/0.8073, allocations: 11.94 kB / 0.8634 GB, free: 2.816 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004023/0.8077, allocations: 19.97 kB / 0.8635 GB, free: 2.797 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.466e-05/0.8078, allocations: 35.91 kB / 0.8635 GB, free: 2.762 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.503e-05/0.8078, allocations: 15.98 kB / 0.8635 GB, free: 2.746 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0009738/0.8088, allocations: 0.7916 MB / 0.8643 GB, free: 1.945 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.4e-07/0.8088, allocations: 0 / 0.8643 GB, free: 1.945 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001147/0.81, allocations: 427.4 kB / 0.8647 GB, free: 1.527 MB / 0.6231 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.0004195/0.8104, allocations: 186 kB / 0.8649 GB, free: 1.348 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001928/0.8123, allocations: 1.075 MB / 0.8659 GB, free: 244 kB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.8124, allocations: 0 / 0.8659 GB, free: 244 kB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0004641/0.8128, allocations: 226.6 kB / 0.8661 GB, free: 16 kB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001889/0.8147, allocations: 455.6 kB / 0.8666 GB, free: 15.57 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00272/0.8175, allocations: 1.791 MB / 0.8683 GB, free: 13.71 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007285/0.8182, allocations: 1.188 MB / 0.8695 GB, free: 12.5 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001498/0.8184, allocations: 63.44 kB / 0.8695 GB, free: 12.43 MB / 0.6387 GB Notification: Performance of SimCode: time 9.72e-07/0.8184, allocations: 0 / 0.8695 GB, free: 12.43 MB / 0.6387 GB Notification: Performance of Templates: time 0.02644/0.8448, allocations: 20.43 MB / 0.8895 GB, free: 8.086 MB / 0.6544 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)