Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example.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.Taps.Examples.DHW_example,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example") translateModel(IDEAS.Fluid.Taps.Examples.DHW_example,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001285/0.001285, allocations: 104.2 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.001311/0.001312, allocations: 193.4 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.257/1.257, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7541/0.7541, allocations: 135.1 MB / 426.3 MB, free: 4.145 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001186/0.001186, allocations: 65.56 kB / 0.5862 GB, free: 21.74 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1386/0.1398, allocations: 80.92 MB / 0.6653 GB, free: 5.852 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.DHW_example): time 0.03883/0.1786, allocations: 41.98 MB / 0.7063 GB, free: 11.73 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01476/0.1934, allocations: 10.92 MB / 0.7169 GB, free: 0.7734 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001942/0.1954, allocations: 47.75 kB / 0.717 GB, free: 0.7266 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001798/0.1972, allocations: 0.5547 MB / 0.7175 GB, free: 172 kB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004175/0.2015, allocations: 1.407 MB / 0.7189 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003469/0.205, allocations: 1.293 MB / 0.7202 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003726/0.2087, allocations: 2.675 MB / 0.7228 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001671/0.2104, allocations: 1.092 MB / 0.7238 GB, free: 9.68 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002866/0.2133, allocations: 1.153 MB / 0.725 GB, free: 8.527 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001341/0.2146, allocations: 0.805 MB / 0.7257 GB, free: 7.719 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002913/0.2149, allocations: 116 kB / 0.7259 GB, free: 7.605 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001892/0.2168, allocations: 0.6865 MB / 0.7265 GB, free: 6.918 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000362/0.2172, allocations: 267 kB / 0.7268 GB, free: 6.656 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001015/0.2182, allocations: 0.6181 MB / 0.7274 GB, free: 6.035 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003026/0.2213, allocations: 1.85 MB / 0.7292 GB, free: 4.18 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/0.2213, allocations: 4 kB / 0.7292 GB, free: 4.176 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.382e-06/0.2213, allocations: 0 / 0.7292 GB, free: 4.176 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.552e-05/0.2214, allocations: 0 / 0.7292 GB, free: 4.176 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: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.002944/0.2243, allocations: 1.499 MB / 0.7307 GB, free: 2.617 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/0.2244, allocations: 13.11 kB / 0.7307 GB, free: 2.605 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001704/0.2261, allocations: 331.1 kB / 0.731 GB, free: 2.281 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0018/0.2279, allocations: 0.9643 MB / 0.7319 GB, free: 1.273 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.809e-05/0.2279, allocations: 61.98 kB / 0.732 GB, free: 1.211 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001379/0.2281, allocations: 76 kB / 0.7321 GB, free: 1.137 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002052/0.2301, allocations: 1.005 MB / 0.733 GB, free: 80 kB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.163e-05/0.2302, allocations: 3.938 kB / 0.733 GB, free: 76 kB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.765e-05/0.2303, allocations: 32 kB / 0.7331 GB, free: 44 kB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.334e-05/0.2303, allocations: 20 kB / 0.7331 GB, free: 24 kB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002233/0.2325, allocations: 0.8195 MB / 0.7339 GB, free: 15.2 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.00552/0.2381, allocations: 4.009 MB / 0.7378 GB, free: 11 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0017/0.2398, allocations: 0.613 MB / 0.7384 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007948/0.2406, allocations: 317.1 kB / 0.7387 GB, free: 10.06 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008985/0.2415, allocations: 0.9379 MB / 0.7396 GB, free: 8.922 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001028/0.2425, allocations: 439.1 kB / 0.74 GB, free: 8.48 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=47): time 2.966e-06/0.2426, allocations: 0 / 0.74 GB, free: 8.48 MB / 0.5762 GB Notification: Performance of matching and sorting (n=47): time 0.002856/0.2454, allocations: 0.9684 MB / 0.741 GB, free: 7.504 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.982e-05/0.2455, allocations: 114.8 kB / 0.7411 GB, free: 7.367 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001259/0.2468, allocations: 0.8747 MB / 0.742 GB, free: 6.469 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.74e-05/0.2469, allocations: 37.7 kB / 0.742 GB, free: 6.426 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003792/0.2472, allocations: 487.6 kB / 0.7425 GB, free: 5.945 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001667/0.2474, allocations: 169.6 kB / 0.7426 GB, free: 5.777 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002169/0.2476, allocations: 134.2 kB / 0.7427 GB, free: 5.641 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001109/0.2478, allocations: 326 kB / 0.7431 GB, free: 5.316 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008262/0.2486, allocations: 301.1 kB / 0.7433 GB, free: 5.023 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009583/0.2496, allocations: 488.1 kB / 0.7438 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001747/0.2513, allocations: 0.7897 MB / 0.7446 GB, free: 3.594 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.621e-06/0.2513, allocations: 0 / 0.7446 GB, free: 3.594 MB / 0.5762 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002291/0.2536, allocations: 0.9216 MB / 0.7455 GB, free: 2.66 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.694e-05/0.2537, allocations: 44.48 kB / 0.7455 GB, free: 2.613 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.297e-05/0.2537, allocations: 4 kB / 0.7455 GB, free: 2.609 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.112e-05/0.2537, allocations: 12 kB / 0.7455 GB, free: 2.598 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009145/0.2547, allocations: 195.7 kB / 0.7457 GB, free: 2.406 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.975e-05/0.2547, allocations: 15.92 kB / 0.7457 GB, free: 2.391 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008806/0.2556, allocations: 119.1 kB / 0.7459 GB, free: 2.273 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.482e-05/0.2557, allocations: 35.98 kB / 0.7459 GB, free: 2.238 MB / 0.5762 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 (mDHW60C.count,$PRE.mDHW60C.count,mDHW60C.T_start,$PRE.mDHW60C.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004529/0.2561, allocations: 261.7 kB / 0.7461 GB, free: 1.973 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002271/0.2564, allocations: 102.7 kB / 0.7462 GB, free: 1.871 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002589/0.259, allocations: 1.089 MB / 0.7473 GB, free: 0.7695 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.651e-05/0.259, allocations: 4 kB / 0.7473 GB, free: 0.7656 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.195e-06/0.259, allocations: 4.281 kB / 0.7473 GB, free: 0.7617 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.548e-06/0.259, allocations: 3.984 kB / 0.7473 GB, free: 0.7578 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3039/0.5629, allocations: 2.151 MB / 0.7494 GB, free: 79.99 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.247e-06/0.563, allocations: 6.266 kB / 0.7494 GB, free: 79.99 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008335/0.5638, allocations: 155.2 kB / 0.7496 GB, free: 79.99 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.638e-06/0.5638, allocations: 4.812 kB / 0.7496 GB, free: 79.99 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.504e-05/0.5639, allocations: 17.16 kB / 0.7496 GB, free: 79.99 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.867e-06/0.5639, allocations: 3.656 kB / 0.7496 GB, free: 79.99 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.5639, allocations: 3.312 kB / 0.7496 GB, free: 79.99 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003056/0.567, allocations: 1.464 MB / 0.751 GB, free: 79.73 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004129/0.5674, allocations: 269.3 kB / 0.7513 GB, free: 79.64 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001174/0.5675, allocations: 17.31 kB / 0.7513 GB, free: 79.64 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006947/0.5682, allocations: 67.42 kB / 0.7514 GB, free: 79.64 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001261/0.5684, allocations: 51.25 kB / 0.7514 GB, free: 79.63 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.785e-05/0.5684, allocations: 25.84 kB / 0.7514 GB, free: 79.62 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0008774/0.5693, allocations: 0.6263 MB / 0.752 GB, free: 79.35 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5693, allocations: 0 / 0.752 GB, free: 79.35 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001029/0.5704, allocations: 360 kB / 0.7524 GB, free: 79.32 MB / 0.5762 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001379/0.5717, allocations: 0.663 MB / 0.753 GB, free: 79.18 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002076/0.5738, allocations: 0.8097 MB / 0.7538 GB, free: 78.91 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.5738, allocations: 0.8125 kB / 0.7538 GB, free: 78.91 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001029/0.5749, allocations: 400.3 kB / 0.7542 GB, free: 78.8 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002043/0.5769, allocations: 480.7 kB / 0.7547 GB, free: 78.69 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00756/0.5845, allocations: 2.375 MB / 0.757 GB, free: 77.74 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007164/0.5853, allocations: 1.038 MB / 0.758 GB, free: 77.03 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004503/0.5857, allocations: 103.9 kB / 0.7581 GB, free: 77.01 MB / 0.5762 GB Notification: Performance of SimCode: time 6.61e-07/0.5857, allocations: 4.531 kB / 0.7581 GB, free: 77.01 MB / 0.5762 GB Notification: Performance of Templates: time 0.03018/0.6159, allocations: 19.09 MB / 0.7767 GB, free: 69.27 MB / 0.5762 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example.sim & ./IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example.pipe 2>&1)