Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.Performance.Example3.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.Example3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.Example3") translateModel(IDEAS.Fluid.Examples.Performance.Example3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.Example3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001347/0.001347, allocations: 108.1 kB / 16.41 MB, free: 6.492 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.001172/0.001173, allocations: 183 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.338/1.338, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7917/0.7917, allocations: 132.2 MB / 423.4 MB, free: 6.562 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 70.45 kB / 0.582 GB, free: 23.73 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1645/0.1658, allocations: 80.22 MB / 0.6603 GB, free: 10.25 MB / 0.4981 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter pump.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example3): time 0.03296/0.1987, allocations: 32.73 MB / 0.6923 GB, free: 9.398 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01554/0.2143, allocations: 10.49 MB / 0.7025 GB, free: 14.88 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002168/0.2165, allocations: 51.69 kB / 0.7026 GB, free: 14.83 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002679/0.2192, allocations: 0.7302 MB / 0.7033 GB, free: 14.1 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.005027/0.2243, allocations: 1.559 MB / 0.7048 GB, free: 12.53 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.004105/0.2284, allocations: 1.411 MB / 0.7062 GB, free: 11.13 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.006789/0.2352, allocations: 4.884 MB / 0.711 GB, free: 6.234 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003454/0.2387, allocations: 2.074 MB / 0.713 GB, free: 4.129 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005105/0.2438, allocations: 1.942 MB / 0.7149 GB, free: 2.184 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002833/0.2467, allocations: 1.357 MB / 0.7162 GB, free: 0.8203 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0006719/0.2474, allocations: 140 kB / 0.7163 GB, free: 0.6836 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003515/0.2509, allocations: 1.174 MB / 0.7175 GB, free: 15.51 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0009254/0.2518, allocations: 466.3 kB / 0.7179 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.002258/0.2541, allocations: 1.007 MB / 0.7189 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00568/0.2598, allocations: 2.94 MB / 0.7218 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.163e-06/0.2598, allocations: 0 / 0.7218 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.914e-06/0.2599, allocations: 4 kB / 0.7218 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0001135/0.26, allocations: 4 kB / 0.7218 GB, free: 11.08 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: 235 * Number of variables: 235 Notification: Performance of Generate backend data structure: time 0.005692/0.2657, allocations: 2.388 MB / 0.7241 GB, free: 8.625 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.2657, allocations: 12.03 kB / 0.7241 GB, free: 8.613 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001488/0.2672, allocations: 298.2 kB / 0.7244 GB, free: 8.32 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003757/0.271, allocations: 1.691 MB / 0.7261 GB, free: 6.582 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.828e-05/0.2711, allocations: 81.98 kB / 0.7261 GB, free: 6.5 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002729/0.2714, allocations: 108 kB / 0.7263 GB, free: 6.395 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002576/0.274, allocations: 1.283 MB / 0.7275 GB, free: 5.035 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.772e-05/0.274, allocations: 0 / 0.7275 GB, free: 5.035 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001184/0.2741, allocations: 44 kB / 0.7275 GB, free: 4.992 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.144e-05/0.2742, allocations: 24 kB / 0.7276 GB, free: 4.969 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002006/0.2762, allocations: 0.9717 MB / 0.7285 GB, free: 3.992 MB / 0.5606 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.01023/0.2864, allocations: 6.502 MB / 0.7349 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001313/0.2878, allocations: 0.5817 MB / 0.7354 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006924/0.2885, allocations: 385.9 kB / 0.7358 GB, free: 12.1 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002981/0.2915, allocations: 1.692 MB / 0.7375 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007502/0.2923, allocations: 363.2 kB / 0.7378 GB, free: 9.902 MB / 0.5762 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006012/0.2929, allocations: 79.34 kB / 0.7379 GB, free: 9.824 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=45): time 4.047e-06/0.2929, allocations: 0 / 0.7379 GB, free: 9.824 MB / 0.5762 GB Notification: Performance of matching and sorting (n=45): time 0.003539/0.2964, allocations: 1.313 MB / 0.7392 GB, free: 8.48 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.116e-05/0.2965, allocations: 59.41 kB / 0.7392 GB, free: 8.41 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002914/0.2994, allocations: 1.789 MB / 0.741 GB, free: 6.578 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 9.73e-05/0.2995, allocations: 41.7 kB / 0.741 GB, free: 6.531 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008362/0.3004, allocations: 0.8539 MB / 0.7418 GB, free: 5.668 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001753/0.3006, allocations: 161.7 kB / 0.742 GB, free: 5.508 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002945/0.3009, allocations: 194.4 kB / 0.7422 GB, free: 5.309 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001212/0.301, allocations: 334 kB / 0.7425 GB, free: 4.977 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000651/0.3017, allocations: 320.6 kB / 0.7428 GB, free: 4.66 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00097/0.3026, allocations: 0.7518 MB / 0.7435 GB, free: 3.707 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001595/0.3043, allocations: 0.9798 MB / 0.7445 GB, free: 2.578 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.31e-05/0.3043, allocations: 4 kB / 0.7445 GB, free: 2.574 MB / 0.5762 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002959/0.3072, allocations: 1.305 MB / 0.7458 GB, free: 1.25 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 5.614e-05/0.3073, allocations: 37.83 kB / 0.7458 GB, free: 1.207 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.311e-05/0.3073, allocations: 12 kB / 0.7458 GB, free: 1.195 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000689/0.308, allocations: 184.6 kB / 0.746 GB, free: 1.012 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006682/0.3087, allocations: 175.7 kB / 0.7462 GB, free: 0.8398 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006661/0.3094, allocations: 0.7583 MB / 0.7469 GB, free: 60 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001077/0.3105, allocations: 52.53 kB / 0.747 GB, free: 8 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.4306/0.7411, allocations: 43.53 kB / 0.747 GB, free: 82.06 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001605/0.7428, allocations: 0.7115 MB / 0.7477 GB, free: 81.98 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008494/0.7437, allocations: 0.7095 MB / 0.7484 GB, free: 81.44 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00129/0.745, allocations: 0.9222 MB / 0.7493 GB, free: 81.05 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.532e-06/0.745, allocations: 2.875 kB / 0.7493 GB, free: 81.05 MB / 0.5762 GB Notification: Performance of matching and sorting (n=98) (initialization_lambda0): time 0.002412/0.7474, allocations: 1.269 MB / 0.7505 GB, free: 80.81 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.778e-05/0.7474, allocations: 37.19 kB / 0.7506 GB, free: 80.78 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.442e-05/0.7475, allocations: 13.31 kB / 0.7506 GB, free: 80.78 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002398/0.7477, allocations: 121.9 kB / 0.7507 GB, free: 80.77 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005659/0.7483, allocations: 161.8 kB / 0.7508 GB, free: 80.76 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00197/0.7503, allocations: 2.325 MB / 0.7531 GB, free: 79.17 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001061/0.7513, allocations: 52.02 kB / 0.7532 GB, free: 79.16 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.547e-05/0.7514, allocations: 46.73 kB / 0.7532 GB, free: 79.15 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 8 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,nRes.y,from_dp.y,mergeDp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (84): * Single equations (assignments): 81 * Array equations: 1 * 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,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0002952/0.7517, allocations: 244.7 kB / 0.7534 GB, free: 78.93 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002625/0.752, allocations: 168.5 kB / 0.7536 GB, free: 78.93 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002349/0.7544, allocations: 0.9962 MB / 0.7546 GB, free: 78.58 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-05/0.7544, allocations: 6.094 kB / 0.7546 GB, free: 78.58 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.357e-06/0.7544, allocations: 1.469 kB / 0.7546 GB, free: 78.58 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001551/0.756, allocations: 0.9469 MB / 0.7555 GB, free: 78.02 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004083/0.76, allocations: 2.109 MB / 0.7576 GB, free: 77.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.78e-06/0.7601, allocations: 1.156 kB / 0.7576 GB, free: 77.07 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005046/0.7606, allocations: 93.59 kB / 0.7577 GB, free: 77.06 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003454/0.7609, allocations: 118.1 kB / 0.7578 GB, free: 77.03 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.009e-05/0.761, allocations: 18.05 kB / 0.7578 GB, free: 77.02 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006094/0.7616, allocations: 0.73 MB / 0.7585 GB, free: 76.44 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.7616, allocations: 3.969 kB / 0.7585 GB, free: 76.44 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002782/0.7644, allocations: 1.349 MB / 0.7598 GB, free: 75.86 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005416/0.765, allocations: 302.1 kB / 0.7601 GB, free: 75.63 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001729/0.7652, allocations: 11.09 kB / 0.7601 GB, free: 75.62 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005885/0.7657, allocations: 31.86 kB / 0.7602 GB, free: 75.62 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001248/0.7659, allocations: 40.42 kB / 0.7602 GB, free: 75.61 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.305e-05/0.7659, allocations: 23.77 kB / 0.7602 GB, free: 75.61 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001896/0.7678, allocations: 1.247 MB / 0.7614 GB, free: 75.14 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7679, allocations: 0 / 0.7614 GB, free: 75.14 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002271/0.7701, allocations: 0.7826 MB / 0.7622 GB, free: 75.06 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (pump.vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009305/0.7711, allocations: 384.8 kB / 0.7626 GB, free: 74.95 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00302/0.7741, allocations: 1.466 MB / 0.764 GB, free: 74.33 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.199e-06/0.7741, allocations: 0.5312 kB / 0.764 GB, free: 74.33 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008316/0.775, allocations: 335.8 kB / 0.7643 GB, free: 74.23 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00334/0.7783, allocations: 0.7838 MB / 0.7651 GB, free: 74.02 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005071/0.7834, allocations: 2.916 MB / 0.7679 GB, free: 72.69 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001441/0.7849, allocations: 1.48 MB / 0.7694 GB, free: 71.89 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005378/0.7854, allocations: 133.8 kB / 0.7695 GB, free: 71.88 MB / 0.5762 GB Notification: Performance of SimCode: time 1.192e-06/0.7854, allocations: 0 / 0.7695 GB, free: 71.88 MB / 0.5762 GB Notification: Performance of Templates: time 0.04677/0.8322, allocations: 37.46 MB / 0.8061 GB, free: 42.27 MB / 0.5762 GB make -j1 -f IDEAS_IDEAS.Fluid.Examples.Performance.Example3.makefile (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.Example3.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.Example3.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.Example3.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.Example3.sim & ./IDEAS_IDEAS.Fluid.Examples.Performance.Example3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Examples.Performance.Example3.pipe 2>&1)