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.001203/0.001203, allocations: 116.2 kB / 16.42 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.00159/0.00159, allocations: 183.9 kB / 17.35 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.203/1.203, allocations: 222.9 MB / 241.1 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.7146/0.7146, allocations: 135.1 MB / 426.4 MB, free: 4.102 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001167/0.001167, allocations: 67.08 kB / 0.5863 GB, free: 21.54 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1193/0.1205, allocations: 80.92 MB / 0.6653 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.DHW_example): time 0.03553/0.156, allocations: 41.97 MB / 0.7063 GB, free: 11.73 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01321/0.1693, allocations: 10.92 MB / 0.7169 GB, free: 0.7695 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001715/0.171, allocations: 51.69 kB / 0.717 GB, free: 0.7188 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002001/0.173, allocations: 0.5625 MB / 0.7175 GB, free: 156 kB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003693/0.1768, allocations: 1.446 MB / 0.7189 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003057/0.1799, allocations: 1.298 MB / 0.7202 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003315/0.1832, allocations: 2.685 MB / 0.7228 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001547/0.1847, allocations: 1.088 MB / 0.7239 GB, free: 9.617 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002448/0.1872, allocations: 1.153 MB / 0.725 GB, free: 8.465 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001196/0.1884, allocations: 0.8011 MB / 0.7258 GB, free: 7.66 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.000243/0.1887, allocations: 112 kB / 0.7259 GB, free: 7.551 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001628/0.1903, allocations: 0.6904 MB / 0.7266 GB, free: 6.859 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003104/0.1906, allocations: 267 kB / 0.7268 GB, free: 6.598 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0007378/0.1914, allocations: 0.6181 MB / 0.7274 GB, free: 5.977 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002484/0.1939, allocations: 1.854 MB / 0.7293 GB, free: 4.117 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.1939, allocations: 0 / 0.7293 GB, free: 4.117 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.383e-06/0.1939, allocations: 0 / 0.7293 GB, free: 4.117 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.752e-05/0.1939, allocations: 0 / 0.7293 GB, free: 4.117 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.002516/0.1964, allocations: 1.507 MB / 0.7307 GB, free: 2.551 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.1965, allocations: 9.109 kB / 0.7307 GB, free: 2.543 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001766/0.1983, allocations: 327.1 kB / 0.731 GB, free: 2.223 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001605/0.1999, allocations: 0.9565 MB / 0.732 GB, free: 1.223 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.465e-05/0.1999, allocations: 58 kB / 0.732 GB, free: 1.164 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001205/0.2001, allocations: 76 kB / 0.7321 GB, free: 1.09 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002013/0.2021, allocations: 1.012 MB / 0.7331 GB, free: 24 kB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.88e-05/0.2021, allocations: 0 / 0.7331 GB, free: 24 kB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.131e-05/0.2022, allocations: 36.02 kB / 0.7331 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.718e-05/0.2022, allocations: 20 kB / 0.7331 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002166/0.2044, allocations: 0.8234 MB / 0.734 GB, free: 15.14 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.00503/0.2094, allocations: 4.009 MB / 0.7379 GB, free: 10.94 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001687/0.2111, allocations: 0.6168 MB / 0.7385 GB, free: 10.31 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000818/0.212, allocations: 309.1 kB / 0.7388 GB, free: 10.01 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009722/0.2129, allocations: 0.9457 MB / 0.7397 GB, free: 8.859 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001022/0.214, allocations: 431.2 kB / 0.7401 GB, free: 8.426 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=47): time 2.444e-06/0.214, allocations: 0 / 0.7401 GB, free: 8.426 MB / 0.5762 GB Notification: Performance of matching and sorting (n=47): time 0.002855/0.2169, allocations: 0.9684 MB / 0.741 GB, free: 7.449 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.457e-05/0.2169, allocations: 118.8 kB / 0.7412 GB, free: 7.309 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001316/0.2183, allocations: 0.8747 MB / 0.742 GB, free: 6.41 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.673e-05/0.2183, allocations: 37.7 kB / 0.742 GB, free: 6.367 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004131/0.2188, allocations: 487.7 kB / 0.7425 GB, free: 5.887 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001666/0.2189, allocations: 165.6 kB / 0.7427 GB, free: 5.723 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002226/0.2192, allocations: 134.2 kB / 0.7428 GB, free: 5.586 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001166/0.2193, allocations: 326 kB / 0.7431 GB, free: 5.262 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008571/0.2202, allocations: 305 kB / 0.7434 GB, free: 4.965 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001001/0.2212, allocations: 484.2 kB / 0.7439 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001797/0.223, allocations: 0.7896 MB / 0.7446 GB, free: 3.539 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/0.223, allocations: 0 / 0.7446 GB, free: 3.539 MB / 0.5762 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002295/0.2253, allocations: 0.9258 MB / 0.7455 GB, free: 2.602 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.934e-05/0.2253, allocations: 37.64 kB / 0.7456 GB, free: 2.559 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.176e-05/0.2254, allocations: 8 kB / 0.7456 GB, free: 2.551 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.187e-05/0.2254, allocations: 8 kB / 0.7456 GB, free: 2.543 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009538/0.2263, allocations: 204.1 kB / 0.7458 GB, free: 2.344 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.806e-05/0.2264, allocations: 8 kB / 0.7458 GB, free: 2.336 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008456/0.2272, allocations: 119.1 kB / 0.7459 GB, free: 2.219 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.557e-05/0.2273, allocations: 35.98 kB / 0.7459 GB, free: 2.184 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.0003955/0.2277, allocations: 269.6 kB / 0.7462 GB, free: 1.91 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001856/0.2279, allocations: 106.7 kB / 0.7463 GB, free: 1.805 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002581/0.2305, allocations: 1.086 MB / 0.7474 GB, free: 0.707 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.577e-06/0.2305, allocations: 0 / 0.7474 GB, free: 0.707 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.2305, allocations: 0 / 0.7474 GB, free: 0.707 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003995/0.2309, allocations: 271.5 kB / 0.7476 GB, free: 432 kB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001541/0.2311, allocations: 15.98 kB / 0.7476 GB, free: 416 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006662/0.2318, allocations: 59.92 kB / 0.7477 GB, free: 356 kB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.863e-05/0.2319, allocations: 44.5 kB / 0.7477 GB, free: 312 kB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.2496/0.4815, allocations: 1.032 MB / 0.7487 GB, free: 80.7 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003098/0.4846, allocations: 1.53 MB / 0.7502 GB, free: 80.28 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008762/0.4855, allocations: 388.9 kB / 0.7506 GB, free: 80.16 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007631/0.4863, allocations: 0.6209 MB / 0.7512 GB, free: 79.88 MB / 0.5762 GB Notification: Performance of Backend: time 4.7e-07/0.4863, allocations: 0.5 kB / 0.7512 GB, free: 79.88 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003049/0.4893, allocations: 1.204 MB / 0.7524 GB, free: 79.6 MB / 0.5762 GB Notification: Performance of SimCode: time 0.003234/0.4926, allocations: 2.397 MB / 0.7547 GB, free: 78.28 MB / 0.5762 GB Notification: Performance of Templates: time 0.03123/0.5238, allocations: 22.38 MB / 0.7766 GB, free: 70.05 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)