Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_T.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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.HeatExchangers.Examples.WaterHeater_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_T") translateModel(IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001402/0.001402, allocations: 113.2 kB / 16.42 MB, free: 6.5 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.001082/0.001082, allocations: 185.7 kB / 17.34 MB, free: 5.758 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.364/1.364, allocations: 222.9 MB / 241.1 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8322/0.8322, allocations: 132.2 MB / 423.4 MB, free: 6.574 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001471/0.001471, allocations: 64.66 kB / 0.582 GB, free: 23.74 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1409/0.1424, allocations: 80.2 MB / 0.6604 GB, free: 10.23 MB / 0.4981 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter mov.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_T): time 0.05616/0.1986, allocations: 53.27 MB / 0.7124 GB, free: 4.773 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02274/0.2214, allocations: 15.18 MB / 0.7272 GB, free: 5.555 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003122/0.2245, allocations: 91.5 kB / 0.7273 GB, free: 5.465 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.003946/0.2285, allocations: 1.13 MB / 0.7284 GB, free: 4.332 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.007762/0.2363, allocations: 2.444 MB / 0.7308 GB, free: 1.883 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.006822/0.2431, allocations: 2.279 MB / 0.733 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.008079/0.2512, allocations: 4.622 MB / 0.7375 GB, free: 10.99 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003387/0.2547, allocations: 1.646 MB / 0.7391 GB, free: 9.309 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00499/0.2597, allocations: 1.949 MB / 0.741 GB, free: 7.355 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002579/0.2623, allocations: 1.365 MB / 0.7424 GB, free: 5.984 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.000619/0.2629, allocations: 168 kB / 0.7425 GB, free: 5.82 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004404/0.2673, allocations: 1.841 MB / 0.7443 GB, free: 3.977 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0009288/0.2683, allocations: 0.5216 MB / 0.7448 GB, free: 3.453 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002083/0.2704, allocations: 1.038 MB / 0.7458 GB, free: 2.41 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.3402/0.6106, allocations: 3.335 MB / 0.7491 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 9.398e-06/0.6107, allocations: 0.6094 kB / 0.7491 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.833e-06/0.6107, allocations: 0 / 0.7491 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001034/0.6108, allocations: 0.8125 kB / 0.7491 GB, free: 15.18 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.005563/0.6164, allocations: 2.595 MB / 0.7516 GB, free: 13.83 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.6164, allocations: 8.75 kB / 0.7517 GB, free: 13.83 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002262/0.6187, allocations: 462.4 kB / 0.7521 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003398/0.6221, allocations: 1.695 MB / 0.7537 GB, free: 13.22 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.422e-05/0.6222, allocations: 91.3 kB / 0.7538 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002036/0.6224, allocations: 118 kB / 0.7539 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002954/0.6254, allocations: 1.343 MB / 0.7553 GB, free: 12.97 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.61e-05/0.6254, allocations: 8.359 kB / 0.7553 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001158/0.6255, allocations: 48.58 kB / 0.7553 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.299e-05/0.6256, allocations: 41.84 kB / 0.7554 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002883/0.6285, allocations: 1.075 MB / 0.7564 GB, free: 12.94 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.01092/0.6394, allocations: 7.079 MB / 0.7633 GB, free: 8.789 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003622/0.6431, allocations: 1.344 MB / 0.7646 GB, free: 8.188 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001197/0.6443, allocations: 422.5 kB / 0.765 GB, free: 8.172 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00556/0.6499, allocations: 3.099 MB / 0.7681 GB, free: 6.242 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001042/0.651, allocations: 440.1 kB / 0.7685 GB, free: 6.18 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=60): time 2.745e-06/0.651, allocations: 0 / 0.7685 GB, free: 6.18 MB / 0.5762 GB Notification: Performance of matching and sorting (n=60): time 0.003212/0.6542, allocations: 1.219 MB / 0.7697 GB, free: 5.922 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.56e-05/0.6542, allocations: 60.3 kB / 0.7697 GB, free: 5.859 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002661/0.6569, allocations: 1.534 MB / 0.7712 GB, free: 5.676 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001218/0.657, allocations: 40.17 kB / 0.7713 GB, free: 5.645 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009299/0.658, allocations: 0.898 MB / 0.7721 GB, free: 5.312 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002789/0.6583, allocations: 228.7 kB / 0.7724 GB, free: 5.172 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004381/0.6587, allocations: 205.6 kB / 0.7726 GB, free: 5.148 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001218/0.6588, allocations: 340.9 kB / 0.7729 GB, free: 4.844 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000977/0.6598, allocations: 383.9 kB / 0.7732 GB, free: 4.828 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001127/0.661, allocations: 0.7491 MB / 0.774 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001952/0.6629, allocations: 1.114 MB / 0.7751 GB, free: 3.91 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.777e-06/0.6629, allocations: 3.578 kB / 0.7751 GB, free: 3.91 MB / 0.5762 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.003011/0.666, allocations: 1.297 MB / 0.7763 GB, free: 3.734 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.373e-05/0.666, allocations: 42.34 kB / 0.7764 GB, free: 3.703 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.842e-05/0.666, allocations: 11.69 kB / 0.7764 GB, free: 3.703 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.121e-05/0.6661, allocations: 20.19 kB / 0.7764 GB, free: 3.699 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001045/0.6671, allocations: 256 kB / 0.7766 GB, free: 3.695 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.603e-05/0.6672, allocations: 19.97 kB / 0.7767 GB, free: 3.695 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001396/0.6686, allocations: 141.7 kB / 0.7768 GB, free: 3.641 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001131/0.6687, allocations: 52.72 kB / 0.7769 GB, free: 3.641 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001525/0.6702, allocations: 0.6722 MB / 0.7775 GB, free: 3.555 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001168/0.6714, allocations: 0.7347 MB / 0.7782 GB, free: 3.082 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001922/0.6733, allocations: 1.083 MB / 0.7793 GB, free: 2.629 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.538e-06/0.6734, allocations: 3.312 kB / 0.7793 GB, free: 2.629 MB / 0.5762 GB Notification: Performance of matching and sorting (n=122) (initialization_lambda0): time 0.003079/0.6765, allocations: 1.269 MB / 0.7805 GB, free: 2.449 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.643e-05/0.6765, allocations: 40.92 kB / 0.7806 GB, free: 2.414 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.562e-05/0.6765, allocations: 11 kB / 0.7806 GB, free: 2.414 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/0.6766, allocations: 17.2 kB / 0.7806 GB, free: 2.414 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001001/0.6776, allocations: 251.1 kB / 0.7808 GB, free: 2.414 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.25e-05/0.6776, allocations: 28.83 kB / 0.7809 GB, free: 2.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001523/0.6791, allocations: 122.4 kB / 0.781 GB, free: 2.371 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001247/0.6793, allocations: 51.41 kB / 0.781 GB, free: 2.371 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 6 (TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,$whenCondition1,conPI.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (120): * Single equations (assignments): 118 * Array equations: 1 * 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.0003497/0.6796, allocations: 252 kB / 0.7813 GB, free: 2.18 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003996/0.68, allocations: 171.6 kB / 0.7814 GB, free: 2.086 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002898/0.6829, allocations: 1.106 MB / 0.7825 GB, free: 1.98 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001895/0.6849, allocations: 0.9594 MB / 0.7834 GB, free: 1.699 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.962e-06/0.6849, allocations: 0 / 0.7834 GB, free: 1.699 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008464/0.6857, allocations: 341.7 kB / 0.7838 GB, free: 1.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004679/0.6862, allocations: 16.41 kB / 0.7838 GB, free: 1.496 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001086/0.6873, allocations: 52.84 kB / 0.7838 GB, free: 1.496 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001407/0.6875, allocations: 61.62 kB / 0.7839 GB, free: 1.492 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002736/0.6902, allocations: 1.033 MB / 0.7849 GB, free: 1.34 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00334/0.6936, allocations: 1.598 MB / 0.7865 GB, free: 0.9961 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008865/0.6945, allocations: 423.1 kB / 0.7869 GB, free: 0.9805 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001897/0.6964, allocations: 1.025 MB / 0.7879 GB, free: 0.8711 MB / 0.5762 GB Notification: Performance of Backend: time 9.52e-07/0.6964, allocations: 0 / 0.7879 GB, free: 0.8711 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.006187/0.7026, allocations: 2.133 MB / 0.79 GB, free: 16.53 MB / 0.5919 GB Notification: Performance of SimCode: time 0.006587/0.7092, allocations: 3.848 MB / 0.7937 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of Templates: time 0.06198/0.7712, allocations: 35.19 MB / 0.8281 GB, free: 5.988 MB / 0.6075 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_T.makefile (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_T.sim & ./IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe 2>&1)