Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.SeriesDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised") translateModel(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001399/0.001399, allocations: 105.7 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.001611/0.001611, allocations: 189.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.32/1.32, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8115/0.8115, allocations: 132.2 MB / 423.3 MB, free: 6.617 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002216/0.002216, allocations: 59.91 kB / 0.5032 GB, free: 10.96 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3652/0.3674, allocations: 80.19 MB / 0.5815 GB, free: 27.58 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised): time 0.1553/0.5228, allocations: 161.6 MB / 0.7393 GB, free: 12.06 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004693/0.5276, allocations: 3.626 MB / 0.7429 GB, free: 8.43 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002933/0.5279, allocations: 11.88 kB / 0.7429 GB, free: 8.418 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005913/0.5285, allocations: 162.9 kB / 0.743 GB, free: 8.258 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001269/0.5298, allocations: 0.5211 MB / 0.7435 GB, free: 7.734 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001149/0.531, allocations: 432.7 kB / 0.744 GB, free: 7.316 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002501/0.5335, allocations: 2.547 MB / 0.7464 GB, free: 4.758 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001083/0.5346, allocations: 0.9372 MB / 0.7474 GB, free: 3.809 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001599/0.5362, allocations: 1.032 MB / 0.7484 GB, free: 2.773 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000812/0.537, allocations: 0.7078 MB / 0.7491 GB, free: 2.062 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001026/0.5371, allocations: 59.94 kB / 0.7491 GB, free: 2.004 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00126/0.5384, allocations: 0.7406 MB / 0.7498 GB, free: 1.262 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002945/0.5387, allocations: 306.9 kB / 0.7501 GB, free: 0.9609 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005798/0.5393, allocations: 0.5439 MB / 0.7507 GB, free: 424 kB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.3539/0.8933, allocations: 1.397 MB / 0.752 GB, free: 6.098 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 8.055e-06/0.8933, allocations: 0 / 0.752 GB, free: 6.098 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.857e-06/0.8933, allocations: 0 / 0.752 GB, free: 6.098 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.173e-05/0.8933, allocations: 2.094 kB / 0.752 GB, free: 6.098 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: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 0.002539/0.8959, allocations: 1.452 MB / 0.7534 GB, free: 5.266 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.8959, allocations: 11.53 kB / 0.7535 GB, free: 5.266 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007973/0.8967, allocations: 184.1 kB / 0.7536 GB, free: 5.207 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001394/0.8982, allocations: 0.8564 MB / 0.7545 GB, free: 4.844 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.185e-05/0.8982, allocations: 41.84 kB / 0.7545 GB, free: 4.844 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.597e-05/0.8983, allocations: 61.34 kB / 0.7546 GB, free: 4.844 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001078/0.8994, allocations: 0.788 MB / 0.7553 GB, free: 4.629 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2e-05/0.8994, allocations: 6.312 kB / 0.7553 GB, free: 4.625 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.113e-05/0.8995, allocations: 19.84 kB / 0.7554 GB, free: 4.625 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.327e-05/0.8995, allocations: 18.12 kB / 0.7554 GB, free: 4.625 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008546/0.9003, allocations: 0.5359 MB / 0.7559 GB, free: 4.621 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.004303/0.9047, allocations: 4.584 MB / 0.7604 GB, free: 17.2 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008783/0.9055, allocations: 418.6 kB / 0.7608 GB, free: 17.17 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004753/0.906, allocations: 245.3 kB / 0.761 GB, free: 17.16 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003408/0.9064, allocations: 198.9 kB / 0.7612 GB, free: 16.98 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005605/0.907, allocations: 292.6 kB / 0.7615 GB, free: 16.91 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=31): time 2.965e-06/0.907, allocations: 0.5625 kB / 0.7615 GB, free: 16.91 MB / 0.5919 GB Notification: Performance of matching and sorting (n=31): time 0.004376/0.9114, allocations: 1.305 MB / 0.7628 GB, free: 16.7 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.033e-05/0.9114, allocations: 81.27 kB / 0.7628 GB, free: 16.61 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001591/0.913, allocations: 1.12 MB / 0.7639 GB, free: 16.45 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.585e-05/0.9131, allocations: 37.52 kB / 0.764 GB, free: 16.42 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003869/0.9135, allocations: 495 kB / 0.7644 GB, free: 16.25 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 8.444e-05/0.9136, allocations: 109.5 kB / 0.7645 GB, free: 16.18 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001612/0.9138, allocations: 114.9 kB / 0.7646 GB, free: 16.16 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001224/0.9139, allocations: 328.7 kB / 0.765 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003345/0.9142, allocations: 216.9 kB / 0.7652 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004719/0.9147, allocations: 0.5165 MB / 0.7657 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000868/0.9156, allocations: 0.6295 MB / 0.7663 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.482e-06/0.9156, allocations: 2.75 kB / 0.7663 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002354/0.918, allocations: 1.042 MB / 0.7673 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.105e-05/0.918, allocations: 34.23 kB / 0.7673 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.202e-05/0.918, allocations: 8.812 kB / 0.7673 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00131/0.9194, allocations: 356 kB / 0.7677 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002319/0.9196, allocations: 58.77 kB / 0.7677 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009964/0.9206, allocations: 1.015 MB / 0.7687 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007987/0.9214, allocations: 75.77 kB / 0.7688 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.327e-05/0.9215, allocations: 30.97 kB / 0.7688 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008221/0.9223, allocations: 0.4935 MB / 0.7693 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004971/0.9228, allocations: 495.1 kB / 0.7698 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007087/0.9235, allocations: 0.5539 MB / 0.7703 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.576e-06/0.9236, allocations: 3.375 kB / 0.7703 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.001557/0.9251, allocations: 0.8321 MB / 0.7711 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.781e-05/0.9252, allocations: 36.67 kB / 0.7712 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/0.9252, allocations: 10.81 kB / 0.7712 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005279/0.9257, allocations: 202.1 kB / 0.7714 GB, free: 13.67 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002014/0.9259, allocations: 65.12 kB / 0.7714 GB, free: 13.67 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003574/0.9295, allocations: 3.337 MB / 0.7747 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008205/0.9304, allocations: 71.56 kB / 0.7748 GB, free: 12 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.423e-05/0.9304, allocations: 25.78 kB / 0.7748 GB, free: 12 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.0002673/0.9307, allocations: 214.9 kB / 0.775 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000129/0.9308, allocations: 103.3 kB / 0.7751 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001276/0.9321, allocations: 0.7013 MB / 0.7758 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.9321, allocations: 3.188 kB / 0.7758 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-06/0.9321, allocations: 2 kB / 0.7758 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.9321, allocations: 4.516 kB / 0.7758 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002416/0.9346, allocations: 1.607 MB / 0.7774 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.56e-06/0.9346, allocations: 3.062 kB / 0.7774 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001054/0.9347, allocations: 22.09 kB / 0.7774 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004235/0.9351, allocations: 223 kB / 0.7776 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.607e-05/0.9352, allocations: 9.438 kB / 0.7776 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008024/0.936, allocations: 0.975 MB / 0.7786 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.835e-06/0.936, allocations: 9.938 kB / 0.7786 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001134/0.9371, allocations: 0.8273 MB / 0.7794 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004124/0.9375, allocations: 216.5 kB / 0.7796 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001092/0.9377, allocations: 5.438 kB / 0.7796 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003993/0.9381, allocations: 26.48 kB / 0.7796 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.338e-05/0.9382, allocations: 24.31 kB / 0.7796 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.416e-05/0.9382, allocations: 13 kB / 0.7797 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0009579/0.9392, allocations: 0.7938 MB / 0.7804 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9.62e-07/0.9392, allocations: 0 / 0.7804 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001406/0.9406, allocations: 439.2 kB / 0.7808 GB, free: 10.06 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.0004167/0.941, allocations: 176.8 kB / 0.781 GB, free: 9.961 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001806/0.9428, allocations: 1.082 MB / 0.7821 GB, free: 9.691 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.9428, allocations: 0.875 kB / 0.7821 GB, free: 9.691 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0004622/0.9433, allocations: 230.2 kB / 0.7823 GB, free: 9.688 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001766/0.9451, allocations: 456.5 kB / 0.7827 GB, free: 9.637 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00259/0.9477, allocations: 1.754 MB / 0.7844 GB, free: 8.984 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007024/0.9484, allocations: 1.183 MB / 0.7856 GB, free: 8.277 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0007402/0.9491, allocations: 315.5 kB / 0.7859 GB, free: 8.258 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001155/0.9493, allocations: 64.19 kB / 0.786 GB, free: 8.25 MB / 0.5919 GB Notification: Performance of SimCode: time 1.333e-06/0.9493, allocations: 0 / 0.786 GB, free: 8.25 MB / 0.5919 GB Notification: Performance of Templates: time 0.03117/0.9805, allocations: 19.62 MB / 0.8051 GB, free: 3.348 MB / 0.5919 GB make -j1 -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.makefile (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.sim & ./IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe 2>&1)