Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.Performance.Example2.conf.json 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/IDEAS 3.0.0/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) Running command: translateModel(IDEAS.Fluid.Examples.Performance.Example2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.Example2") translateModel(IDEAS.Fluid.Examples.Performance.Example2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.Example2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001343/0.001343, allocations: 169 kB / 7.645 MB, free: 1.434 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7399/0.7399, allocations: 130.7 MB / 138.7 MB, free: 3.508 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.397/1.397, allocations: 221.5 MB / 391.8 MB, free: 14.16 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000925/0.0009249, allocations: 101 kB / 473.9 MB, free: 4.457 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.867e-05/1.877e-05, allocations: 4 kB / 0.5485 GB, free: 13.05 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5476/0.5476, allocations: 81.57 MB / 0.6282 GB, free: 42.95 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8572/1.405, allocations: 363.7 MB / 0.9833 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002788/1.405, allocations: 91.33 kB / 0.9834 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 1.912/3.318, allocations: 486.1 MB / 1.458 GB, free: 101.5 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.773e-06/3.318, allocations: 0 / 1.458 GB, free: 101.5 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0003206/3.318, allocations: 43.48 kB / 1.458 GB, free: 101.5 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.004431/3.323, allocations: 1.519 MB / 1.46 GB, free: 99.93 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.546e-05/3.323, allocations: 14.34 kB / 1.46 GB, free: 99.91 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001523/3.324, allocations: 236 kB / 1.46 GB, free: 99.69 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005103/3.329, allocations: 1.951 MB / 1.462 GB, free: 97.72 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.667e-05/3.329, allocations: 27.98 kB / 1.462 GB, free: 97.7 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002761/3.33, allocations: 52 kB / 1.462 GB, free: 97.64 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001311/3.331, allocations: 0.6169 MB / 1.462 GB, free: 97.03 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001387/3.332, allocations: 0.8125 MB / 1.463 GB, free: 96.16 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.883e-05/3.332, allocations: 4 kB / 1.463 GB, free: 96.16 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.197e-05/3.333, allocations: 3.953 kB / 1.463 GB, free: 96.15 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.55e-05/3.333, allocations: 20 kB / 1.463 GB, free: 96.13 MB / 0.6667 GB Warning: The model contains alias variables with conflicting start and/or 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.00578/3.338, allocations: 4.447 MB / 1.468 GB, free: 91.46 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007552/3.339, allocations: 0.5679 MB / 1.468 GB, free: 90.88 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003807/3.339, allocations: 294.1 kB / 1.468 GB, free: 90.59 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002613/3.342, allocations: 1.672 MB / 1.47 GB, free: 88.8 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003979/3.343, allocations: 292.3 kB / 1.47 GB, free: 88.51 MB / 0.6667 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005986/3.343, allocations: 91.45 kB / 1.47 GB, free: 88.42 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=46): time 4.027e-06/3.343, allocations: 0 / 1.47 GB, free: 88.42 MB / 0.6667 GB Notification: Performance of matching and sorting (n=46): time 0.001681/3.345, allocations: 0.7118 MB / 1.471 GB, free: 87.7 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.231e-05/3.345, allocations: 63.36 kB / 1.471 GB, free: 87.63 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001352/3.346, allocations: 1.007 MB / 1.472 GB, free: 86.61 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 5.972e-05/3.346, allocations: 25.7 kB / 1.472 GB, free: 86.58 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004578/3.347, allocations: 0.637 MB / 1.473 GB, free: 85.93 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001244/3.347, allocations: 161.7 kB / 1.473 GB, free: 85.77 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.169e-05/3.347, allocations: 0 / 1.473 GB, free: 85.77 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 8.225e-05/3.347, allocations: 330 kB / 1.473 GB, free: 85.45 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002737/3.347, allocations: 205.5 kB / 1.474 GB, free: 85.25 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003947/3.348, allocations: 0.5401 MB / 1.474 GB, free: 84.54 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000858/3.349, allocations: 342.6 kB / 1.474 GB, free: 84.21 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.145e-06/3.349, allocations: 0 / 1.474 GB, free: 84.21 MB / 0.6667 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001913/3.351, allocations: 0.9374 MB / 1.475 GB, free: 83.27 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006863/3.351, allocations: 3.044 MB / 1.478 GB, free: 80.03 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.113e-05/3.351, allocations: 7.953 kB / 1.478 GB, free: 80.02 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002836/3.352, allocations: 116.8 kB / 1.478 GB, free: 79.91 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000539/3.352, allocations: 147.8 kB / 1.479 GB, free: 79.76 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000581/3.353, allocations: 0.7864 MB / 1.479 GB, free: 78.95 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001027/3.354, allocations: 67.78 kB / 1.479 GB, free: 78.88 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.158e-05/3.354, allocations: 43.61 kB / 1.479 GB, free: 78.84 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.069e-05/3.354, allocations: 4 kB / 1.479 GB, free: 78.84 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001447/3.355, allocations: 0.7903 MB / 1.48 GB, free: 78.03 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.337e-05/3.355, allocations: 11.94 kB / 1.48 GB, free: 78.02 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001682/3.356, allocations: 103.9 kB / 1.48 GB, free: 77.91 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004619/3.356, allocations: 144.1 kB / 1.48 GB, free: 77.77 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001622/3.358, allocations: 2.116 MB / 1.482 GB, free: 75.52 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009149/3.359, allocations: 63.86 kB / 1.483 GB, free: 75.46 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-05/3.359, allocations: 39.98 kB / 1.483 GB, free: 75.42 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,from_dp.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 70 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 7} Notification: Performance of prepare postOptimizeDAE: time 0.0001892/3.359, allocations: 136.7 kB / 1.483 GB, free: 75.28 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002048/3.359, allocations: 122.5 kB / 1.483 GB, free: 75.16 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001593/3.361, allocations: 0.7895 MB / 1.484 GB, free: 74.37 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.057e-06/3.361, allocations: 8 kB / 1.484 GB, free: 74.36 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/3.361, allocations: 0 / 1.484 GB, free: 74.36 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001019/3.362, allocations: 0.8125 MB / 1.484 GB, free: 73.48 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002815/3.365, allocations: 1.687 MB / 1.486 GB, free: 71.74 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.253e-06/3.365, allocations: 6.438 kB / 1.486 GB, free: 71.74 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004006/3.365, allocations: 83.88 kB / 1.486 GB, free: 71.66 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001819/3.365, allocations: 98.22 kB / 1.486 GB, free: 71.56 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.845e-05/3.365, allocations: 4 kB / 1.486 GB, free: 71.55 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004668/3.366, allocations: 0.7544 MB / 1.487 GB, free: 70.78 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/3.366, allocations: 0 / 1.487 GB, free: 70.78 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001441/3.367, allocations: 1.12 MB / 1.488 GB, free: 69.62 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005072/3.368, allocations: 279 kB / 1.488 GB, free: 69.34 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002194/3.368, allocations: 4 kB / 1.488 GB, free: 69.33 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007241/3.369, allocations: 60 kB / 1.488 GB, free: 69.27 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.507e-05/3.369, allocations: 40.38 kB / 1.488 GB, free: 69.23 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.941e-05/3.369, allocations: 19.98 kB / 1.488 GB, free: 69.21 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0009969/3.37, allocations: 0.7674 MB / 1.489 GB, free: 68.45 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.41e-07/3.37, allocations: 0 / 1.489 GB, free: 68.45 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.002639/3.372, allocations: 0.6977 MB / 1.49 GB, free: 67.75 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (pump_dp.vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.001662/3.374, allocations: 0.7386 MB / 1.491 GB, free: 67.08 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.002073/3.376, allocations: 1.202 MB / 1.492 GB, free: 65.85 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/3.376, allocations: 0 / 1.492 GB, free: 65.85 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0004827/3.377, allocations: 287.3 kB / 1.492 GB, free: 65.57 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00251/3.379, allocations: 0.5036 MB / 1.493 GB, free: 65.09 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003451/3.383, allocations: 1.675 MB / 1.494 GB, free: 63.37 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009032/3.384, allocations: 1.3 MB / 1.495 GB, free: 62.04 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.002138/3.386, allocations: 0.5507 MB / 1.496 GB, free: 61.51 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002065/3.386, allocations: 79.41 kB / 1.496 GB, free: 61.43 MB / 0.6667 GB Notification: Performance of SimCode: time 9.72e-07/3.386, allocations: 0 / 1.496 GB, free: 61.43 MB / 0.6667 GB Notification: Performance of Templates: time 0.04237/3.428, allocations: 25.7 MB / 1.521 GB, free: 36.19 MB / 0.6667 GB make -j1 -f IDEAS_IDEAS.Fluid.Examples.Performance.Example2.makefile (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.Example2.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.Example2.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.Example2.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.Example2.sim & ./IDEAS_IDEAS.Fluid.Examples.Performance.Example2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Examples.Performance.Example2.pipe 2>&1)