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.001303/0.001303, allocations: 109.3 kB / 16.41 MB, free: 6.445 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.001237/0.001237, allocations: 183 kB / 17.34 MB, free: 5.742 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.397/1.397, 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.8201/0.8201, allocations: 135.1 MB / 426.3 MB, free: 4.121 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 72.16 kB / 0.5863 GB, free: 21.67 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1546/0.1558, allocations: 80.91 MB / 0.6653 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.DHW_example): time 0.03969/0.1956, allocations: 41.97 MB / 0.7063 GB, free: 11.7 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01538/0.211, allocations: 10.93 MB / 0.7169 GB, free: 0.7305 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002153/0.2132, allocations: 55.69 kB / 0.717 GB, free: 0.6758 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001759/0.215, allocations: 0.5547 MB / 0.7175 GB, free: 120 kB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004186/0.2192, allocations: 1.407 MB / 0.7189 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003531/0.2228, allocations: 1.286 MB / 0.7202 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003909/0.2267, allocations: 2.682 MB / 0.7228 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001956/0.2287, allocations: 1.092 MB / 0.7238 GB, free: 9.633 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003155/0.2319, allocations: 1.147 MB / 0.725 GB, free: 8.484 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001567/0.2334, allocations: 0.8089 MB / 0.7257 GB, free: 7.672 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0003858/0.2339, allocations: 108 kB / 0.7258 GB, free: 7.566 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002104/0.236, allocations: 0.6904 MB / 0.7265 GB, free: 6.875 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004159/0.2364, allocations: 274.9 kB / 0.7268 GB, free: 6.605 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001054/0.2375, allocations: 0.6103 MB / 0.7274 GB, free: 5.992 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003564/0.241, allocations: 1.846 MB / 0.7292 GB, free: 4.141 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.2411, allocations: 0 / 0.7292 GB, free: 4.141 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.154e-06/0.2411, allocations: 0 / 0.7292 GB, free: 4.141 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.629e-05/0.2411, allocations: 0 / 0.7292 GB, free: 4.141 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.003356/0.2445, allocations: 1.507 MB / 0.7307 GB, free: 2.574 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.2446, allocations: 13.11 kB / 0.7307 GB, free: 2.562 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002013/0.2466, allocations: 327.1 kB / 0.731 GB, free: 2.242 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002077/0.2487, allocations: 0.9565 MB / 0.7319 GB, free: 1.242 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.795e-05/0.2488, allocations: 61.98 kB / 0.732 GB, free: 1.18 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001831/0.249, allocations: 76 kB / 0.732 GB, free: 1.105 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002388/0.2514, allocations: 1.012 MB / 0.733 GB, free: 40 kB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.308e-05/0.2514, allocations: 4 kB / 0.733 GB, free: 36 kB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.848e-05/0.2515, allocations: 32 kB / 0.7331 GB, free: 4 kB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-05/0.2515, allocations: 23.98 kB / 0.7331 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002339/0.2539, allocations: 0.8233 MB / 0.7339 GB, free: 15.15 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.005792/0.2597, allocations: 4.013 MB / 0.7378 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001813/0.2615, allocations: 0.6112 MB / 0.7384 GB, free: 10.33 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000869/0.2624, allocations: 313.1 kB / 0.7387 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009877/0.2634, allocations: 0.9457 MB / 0.7396 GB, free: 8.871 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001148/0.2646, allocations: 423.2 kB / 0.74 GB, free: 8.445 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=47): time 4.338e-06/0.2646, allocations: 4 kB / 0.74 GB, free: 8.441 MB / 0.5762 GB Notification: Performance of matching and sorting (n=47): time 0.003049/0.2677, allocations: 0.9723 MB / 0.741 GB, free: 7.461 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.107e-05/0.2678, allocations: 110.8 kB / 0.7411 GB, free: 7.328 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001407/0.2692, allocations: 0.8786 MB / 0.742 GB, free: 6.426 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.862e-05/0.2693, allocations: 41.7 kB / 0.742 GB, free: 6.379 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000427/0.2697, allocations: 483.7 kB / 0.7425 GB, free: 5.902 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001781/0.2699, allocations: 165.6 kB / 0.7426 GB, free: 5.738 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002291/0.2701, allocations: 134.2 kB / 0.7427 GB, free: 5.602 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001133/0.2703, allocations: 333.9 kB / 0.7431 GB, free: 5.27 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008791/0.2711, allocations: 297.1 kB / 0.7433 GB, free: 4.98 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001052/0.2722, allocations: 484.1 kB / 0.7438 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001918/0.2741, allocations: 0.7858 MB / 0.7446 GB, free: 3.559 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.827e-06/0.2741, allocations: 4 kB / 0.7446 GB, free: 3.555 MB / 0.5762 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002513/0.2767, allocations: 0.9182 MB / 0.7455 GB, free: 2.625 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 5.913e-05/0.2767, allocations: 45.77 kB / 0.7455 GB, free: 2.574 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.439e-05/0.2768, allocations: 8 kB / 0.7455 GB, free: 2.566 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.345e-05/0.2768, allocations: 8.062 kB / 0.7455 GB, free: 2.559 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001002/0.2778, allocations: 199.6 kB / 0.7457 GB, free: 2.363 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.94e-05/0.2778, allocations: 8 kB / 0.7457 GB, free: 2.355 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009799/0.2788, allocations: 127.1 kB / 0.7459 GB, free: 2.23 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.931e-05/0.2789, allocations: 31.98 kB / 0.7459 GB, free: 2.199 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.0004962/0.2794, allocations: 269.6 kB / 0.7461 GB, free: 1.926 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002734/0.2797, allocations: 102.7 kB / 0.7462 GB, free: 1.824 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002837/0.2825, allocations: 1.078 MB / 0.7473 GB, free: 0.7344 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.272e-05/0.2826, allocations: 8 kB / 0.7473 GB, free: 0.7266 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/0.2826, allocations: 4 kB / 0.7473 GB, free: 0.7227 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.608e-06/0.2826, allocations: 3.984 kB / 0.7473 GB, free: 0.7188 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3401/0.6227, allocations: 2.154 MB / 0.7494 GB, free: 79.95 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-05/0.6228, allocations: 4.031 kB / 0.7494 GB, free: 79.95 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009422/0.6237, allocations: 149.6 kB / 0.7496 GB, free: 79.95 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.246e-05/0.6238, allocations: 7.016 kB / 0.7496 GB, free: 79.95 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.585e-05/0.6238, allocations: 18.22 kB / 0.7496 GB, free: 79.95 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.979e-06/0.6238, allocations: 6.297 kB / 0.7496 GB, free: 79.95 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.6239, allocations: 0.875 kB / 0.7496 GB, free: 79.95 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00351/0.6274, allocations: 1.465 MB / 0.751 GB, free: 79.69 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005215/0.6279, allocations: 272.3 kB / 0.7513 GB, free: 79.58 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001497/0.6281, allocations: 15.97 kB / 0.7513 GB, free: 79.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000793/0.6289, allocations: 68.23 kB / 0.7514 GB, free: 79.56 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000131/0.629, allocations: 52.53 kB / 0.7514 GB, free: 79.55 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.24e-05/0.6291, allocations: 24.31 kB / 0.7514 GB, free: 79.55 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0009512/0.63, allocations: 0.6226 MB / 0.752 GB, free: 79.28 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.51e-07/0.63, allocations: 0 / 0.752 GB, free: 79.28 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001123/0.6312, allocations: 357.2 kB / 0.7524 GB, free: 79.25 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.001473/0.6327, allocations: 0.6665 MB / 0.753 GB, free: 79.11 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002247/0.6349, allocations: 0.8007 MB / 0.7538 GB, free: 78.85 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.6349, allocations: 1.344 kB / 0.7538 GB, free: 78.85 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.00109/0.636, allocations: 408.8 kB / 0.7542 GB, free: 78.73 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002298/0.6383, allocations: 489.7 kB / 0.7547 GB, free: 78.61 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008607/0.647, allocations: 2.376 MB / 0.757 GB, free: 77.66 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008399/0.6478, allocations: 1.04 MB / 0.758 GB, free: 76.94 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005453/0.6484, allocations: 108.5 kB / 0.7581 GB, free: 76.92 MB / 0.5762 GB Notification: Performance of SimCode: time 9.12e-07/0.6484, allocations: 0.6562 kB / 0.7581 GB, free: 76.92 MB / 0.5762 GB Notification: Performance of Templates: time 0.03173/0.6801, allocations: 18.95 MB / 0.7766 GB, free: 69.3 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)