Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Taps.Examples.DHW_example.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.Taps.Examples.DHW_example,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Taps.Examples.DHW_example") translateModel(IDEAS.Fluid.Taps.Examples.DHW_example,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Taps.Examples.DHW_example") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007759/0.007764, allocations: 170.6 kB / 15.11 MB, free: 5.992 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8284/0.8284, allocations: 132.3 MB / 148.1 MB, free: 244 kB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.522/1.522, allocations: 223.2 MB / 403.2 MB, free: 6.77 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.001294/0.001294, allocations: 90.09 kB / 485.5 MB, free: 14.16 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003957/0.0003958, allocations: 8 kB / 0.5641 GB, free: 2.148 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4829/0.4833, allocations: 81.58 MB / 0.6437 GB, free: 39.35 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8196/1.303, allocations: 345.4 MB / 0.9811 GB, free: 2.555 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002967/1.303, allocations: 102.9 kB / 0.9812 GB, free: 2.496 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 1.747/3.05, allocations: 438.2 MB / 1.409 GB, free: 140.2 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.322e-06/3.05, allocations: 2.969 kB / 1.409 GB, free: 140.2 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.547e-05/3.05, allocations: 29.88 kB / 1.409 GB, free: 140.2 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.002736/3.053, allocations: 1.473 MB / 1.411 GB, free: 139.5 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/3.053, allocations: 11.81 kB / 1.411 GB, free: 139.5 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001464/3.055, allocations: 334.1 kB / 1.411 GB, free: 139.4 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002128/3.057, allocations: 1.102 MB / 1.412 GB, free: 139.1 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.151e-05/3.057, allocations: 61.03 kB / 1.412 GB, free: 139.1 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001198/3.057, allocations: 76.25 kB / 1.412 GB, free: 139.1 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001858/3.059, allocations: 1.039 MB / 1.413 GB, free: 138.9 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2e-05/3.059, allocations: 1.688 kB / 1.413 GB, free: 138.9 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.904e-05/3.059, allocations: 33.31 kB / 1.413 GB, free: 138.9 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.533e-05/3.059, allocations: 25.38 kB / 1.413 GB, free: 138.9 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001978/3.061, allocations: 0.8679 MB / 1.414 GB, free: 138.9 MB / 0.6823 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.004863/3.066, allocations: 3.856 MB / 1.418 GB, free: 137.1 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001578/3.067, allocations: 0.6326 MB / 1.418 GB, free: 137 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007159/3.068, allocations: 0.932 MB / 1.419 GB, free: 136 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000939/3.069, allocations: 442.2 kB / 1.42 GB, free: 135.9 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=47): time 2.826e-06/3.069, allocations: 1.344 kB / 1.42 GB, free: 135.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=47): time 0.002732/3.072, allocations: 1.012 MB / 1.421 GB, free: 135.8 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.185e-05/3.072, allocations: 112.8 kB / 1.421 GB, free: 135.7 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009845/3.073, allocations: 0.7744 MB / 1.422 GB, free: 135.6 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.836e-05/3.073, allocations: 37.55 kB / 1.422 GB, free: 135.5 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003269/3.073, allocations: 482.1 kB / 1.422 GB, free: 135.4 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001312/3.074, allocations: 168.4 kB / 1.422 GB, free: 135.2 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.396e-05/3.074, allocations: 11.69 kB / 1.422 GB, free: 135.2 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.852e-05/3.074, allocations: 337.5 kB / 1.423 GB, free: 134.9 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007746/3.074, allocations: 300 kB / 1.423 GB, free: 134.9 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008819/3.075, allocations: 479.9 kB / 1.423 GB, free: 134.7 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008253/3.076, allocations: 367.8 kB / 1.424 GB, free: 134.7 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/3.076, allocations: 3 kB / 1.424 GB, free: 134.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002141/3.078, allocations: 0.9167 MB / 1.425 GB, free: 134.6 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.598e-05/3.078, allocations: 33.36 kB / 1.425 GB, free: 134.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/3.078, allocations: 7.844 kB / 1.425 GB, free: 134.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.192e-05/3.078, allocations: 7.875 kB / 1.425 GB, free: 134.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009641/3.079, allocations: 209.6 kB / 1.425 GB, free: 134.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.237e-05/3.079, allocations: 10.69 kB / 1.425 GB, free: 134.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001097/3.081, allocations: 156.9 kB / 1.425 GB, free: 134.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.151e-05/3.081, allocations: 41.05 kB / 1.425 GB, free: 134.5 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.mDHW60C.T_start,mDHW60C.T_start,$PRE.mDHW60C.count,mDHW60C.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005032/3.081, allocations: 263.8 kB / 1.425 GB, free: 134.4 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001367/3.081, allocations: 98.62 kB / 1.425 GB, free: 134.3 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002427/3.084, allocations: 1.111 MB / 1.426 GB, free: 134.3 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.632e-05/3.084, allocations: 8.062 kB / 1.426 GB, free: 134.3 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/3.084, allocations: 0 / 1.426 GB, free: 134.3 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.447e-06/3.084, allocations: 3.797 kB / 1.426 GB, free: 134.3 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003511/3.087, allocations: 2.175 MB / 1.429 GB, free: 133.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.159e-06/3.087, allocations: 0 / 1.429 GB, free: 133.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008181/3.088, allocations: 167.8 kB / 1.429 GB, free: 133.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.678e-06/3.088, allocations: 3.812 kB / 1.429 GB, free: 133.7 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.074e-05/3.088, allocations: 23.14 kB / 1.429 GB, free: 133.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.801e-06/3.088, allocations: 3.094 kB / 1.429 GB, free: 133.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/3.088, allocations: 3.906 kB / 1.429 GB, free: 133.7 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002872/3.091, allocations: 1.547 MB / 1.43 GB, free: 133.3 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005195/3.092, allocations: 280.3 kB / 1.431 GB, free: 133.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001246/3.092, allocations: 9.562 kB / 1.431 GB, free: 133.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008702/3.093, allocations: 118 kB / 1.431 GB, free: 133.1 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000114/3.093, allocations: 55.64 kB / 1.431 GB, free: 133.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.684e-05/3.093, allocations: 26.23 kB / 1.431 GB, free: 133.1 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0008396/3.094, allocations: 0.6218 MB / 1.431 GB, free: 133 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2e-07/3.094, allocations: 0 / 1.431 GB, free: 133 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001316/3.095, allocations: 406.9 kB / 1.432 GB, free: 133 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (dHW_RealInput.THot.T,dHW_ProfileReader.THot.T) * Number of discrete variables: 3 ($whenCondition1,mDHW60C.T_start,mDHW60C.count) * Number of discrete states: 1 (mDHW60C.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (59): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001648/3.097, allocations: 0.8887 MB / 1.433 GB, free: 132.8 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002028/3.099, allocations: 0.8219 MB / 1.433 GB, free: 132.6 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/3.099, allocations: 2 kB / 1.433 GB, free: 132.6 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.000962/3.1, allocations: 424.8 kB / 1.434 GB, free: 132.4 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002221/3.102, allocations: 448.3 kB / 1.434 GB, free: 132.4 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008494/3.11, allocations: 2.906 MB / 1.437 GB, free: 131.1 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004708/3.111, allocations: 1.062 MB / 1.438 GB, free: 130.4 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001066/3.112, allocations: 197 kB / 1.438 GB, free: 130.4 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002591/3.112, allocations: 96.14 kB / 1.438 GB, free: 130.4 MB / 0.6823 GB Notification: Performance of SimCode: time 1.122e-06/3.112, allocations: 0 / 1.438 GB, free: 130.4 MB / 0.6823 GB Notification: Performance of Templates: time 0.03532/3.148, allocations: 21.84 MB / 1.46 GB, free: 123.5 MB / 0.6823 GB make -j1 -f IDEAS_IDEAS.Fluid.Taps.Examples.DHW_example.makefile (rm -f IDEAS_IDEAS.Fluid.Taps.Examples.DHW_example.pipe ; mkfifo IDEAS_IDEAS.Fluid.Taps.Examples.DHW_example.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Taps.Examples.DHW_example.pipe >> ../files/IDEAS_IDEAS.Fluid.Taps.Examples.DHW_example.sim & ./IDEAS_IDEAS.Fluid.Taps.Examples.DHW_example -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Taps.Examples.DHW_example.pipe 2>&1)