Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_u.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.HeatExchangers.Examples.WaterHeater_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_u") translateModel(IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001239/0.001245, allocations: 111 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.001305/0.001305, allocations: 185.7 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.267/1.267, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7571/0.7571, allocations: 135.1 MB / 426.3 MB, free: 4.121 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001171/0.001171, allocations: 65.34 kB / 0.5863 GB, free: 21.4 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1327/0.1339, allocations: 80.93 MB / 0.6653 GB, free: 5.762 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_u): time 0.0625/0.1964, allocations: 66.98 MB / 0.7307 GB, free: 2.555 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02374/0.2202, allocations: 16.72 MB / 0.7471 GB, free: 1.789 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002978/0.2232, allocations: 95.5 kB / 0.7472 GB, free: 1.695 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00342/0.2266, allocations: 1.2 MB / 0.7483 GB, free: 500 kB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.3357/0.5623, allocations: 2.764 MB / 0.751 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005848/0.5682, allocations: 2.355 MB / 0.7533 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.009255/0.5775, allocations: 5.371 MB / 0.7586 GB, free: 12.42 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00493/0.5824, allocations: 1.904 MB / 0.7604 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007005/0.5895, allocations: 2.147 MB / 0.7625 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00369/0.5932, allocations: 1.488 MB / 0.764 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0009294/0.5941, allocations: 194 kB / 0.7642 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005512/0.5996, allocations: 1.971 MB / 0.7661 GB, free: 11.83 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001292/0.601, allocations: 0.5549 MB / 0.7666 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.003295/0.6043, allocations: 1.141 MB / 0.7678 GB, free: 11.42 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.008724/0.613, allocations: 3.644 MB / 0.7713 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.6131, allocations: 0 / 0.7713 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.884e-06/0.6131, allocations: 1.031 kB / 0.7713 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001395/0.6132, allocations: 0 / 0.7713 GB, free: 10.93 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: 310 * Number of variables: 310 Notification: Performance of Generate backend data structure: time 0.007704/0.6209, allocations: 2.674 MB / 0.7739 GB, free: 9.566 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.071e-05/0.621, allocations: 9.641 kB / 0.7739 GB, free: 9.566 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001997/0.623, allocations: 374.2 kB / 0.7743 GB, free: 9.438 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004349/0.6274, allocations: 1.825 MB / 0.7761 GB, free: 8.934 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001214/0.6275, allocations: 102.5 kB / 0.7762 GB, free: 8.926 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003844/0.6279, allocations: 140.1 kB / 0.7763 GB, free: 8.922 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003188/0.6311, allocations: 1.419 MB / 0.7777 GB, free: 8.676 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.121e-05/0.6312, allocations: 2 kB / 0.7777 GB, free: 8.676 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001569/0.6313, allocations: 51.12 kB / 0.7777 GB, free: 8.676 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.897e-05/0.6314, allocations: 52.05 kB / 0.7778 GB, free: 8.672 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002606/0.634, allocations: 1.099 MB / 0.7789 GB, free: 8.641 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.009755/0.6438, allocations: 7.356 MB / 0.786 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001949/0.6458, allocations: 1.283 MB / 0.7873 GB, free: 3.848 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009333/0.6467, allocations: 456.6 kB / 0.7877 GB, free: 3.828 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005058/0.6518, allocations: 2.641 MB / 0.7903 GB, free: 2.457 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001086/0.6529, allocations: 486.2 kB / 0.7908 GB, free: 2.371 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=63): time 4.338e-06/0.6529, allocations: 0 / 0.7908 GB, free: 2.371 MB / 0.5762 GB Notification: Performance of matching and sorting (n=63): time 0.002977/0.6559, allocations: 1.212 MB / 0.792 GB, free: 1.949 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.19e-05/0.656, allocations: 112.1 kB / 0.7921 GB, free: 1.824 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002378/0.6584, allocations: 1.477 MB / 0.7935 GB, free: 1.07 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001029/0.6585, allocations: 43.42 kB / 0.7936 GB, free: 1.027 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006715/0.6592, allocations: 0.8979 MB / 0.7944 GB, free: 244 kB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002051/0.6594, allocations: 226.6 kB / 0.7946 GB, free: 52 kB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003612/0.6597, allocations: 212.5 kB / 0.7948 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001308/0.6599, allocations: 343.7 kB / 0.7952 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000851/0.6607, allocations: 376.5 kB / 0.7955 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001089/0.6618, allocations: 0.722 MB / 0.7962 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001898/0.6637, allocations: 1.089 MB / 0.7973 GB, free: 14 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.203e-05/0.6638, allocations: 2.5 kB / 0.7973 GB, free: 14 MB / 0.5919 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002684/0.6665, allocations: 1.266 MB / 0.7985 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.24e-05/0.6665, allocations: 40.11 kB / 0.7986 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.753e-05/0.6665, allocations: 13.5 kB / 0.7986 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.639e-05/0.6666, allocations: 14.22 kB / 0.7986 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009012/0.6675, allocations: 247 kB / 0.7988 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.447e-05/0.6675, allocations: 19.89 kB / 0.7989 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001337/0.6689, allocations: 133.5 kB / 0.799 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.678e-05/0.669, allocations: 52.89 kB / 0.799 GB, free: 13.24 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001432/0.6704, allocations: 0.6786 MB / 0.7997 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001025/0.6714, allocations: 0.7136 MB / 0.8004 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001795/0.6732, allocations: 1.063 MB / 0.8014 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.628e-06/0.6733, allocations: 4.547 kB / 0.8014 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of matching and sorting (n=122) (initialization_lambda0): time 0.002622/0.6759, allocations: 1.239 MB / 0.8027 GB, free: 10.87 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.426e-05/0.6759, allocations: 36.36 kB / 0.8027 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.516e-05/0.676, allocations: 14.44 kB / 0.8027 GB, free: 10.83 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/0.676, allocations: 15.59 kB / 0.8027 GB, free: 10.83 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008533/0.6768, allocations: 245.8 kB / 0.8029 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.306e-05/0.6769, allocations: 20.77 kB / 0.803 GB, free: 10.78 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001326/0.6782, allocations: 108.9 kB / 0.8031 GB, free: 10.72 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.02e-05/0.6783, allocations: 56.52 kB / 0.8031 GB, free: 10.7 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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.0003289/0.6786, allocations: 250.7 kB / 0.8034 GB, free: 10.49 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004544/0.6791, allocations: 165.4 kB / 0.8035 GB, free: 10.4 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002462/0.6816, allocations: 1.059 MB / 0.8046 GB, free: 9.82 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001621/0.6832, allocations: 0.7785 MB / 0.8053 GB, free: 9.414 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.6832, allocations: 3.938 kB / 0.8053 GB, free: 9.41 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007967/0.684, allocations: 333.4 kB / 0.8056 GB, free: 9.129 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003913/0.6844, allocations: 11.25 kB / 0.8056 GB, free: 9.121 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009791/0.6854, allocations: 63.31 kB / 0.8057 GB, free: 9.086 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000127/0.6856, allocations: 56.61 kB / 0.8058 GB, free: 9.059 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002587/0.6881, allocations: 1.168 MB / 0.8069 GB, free: 8.375 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003024/0.6912, allocations: 1.709 MB / 0.8086 GB, free: 7.316 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008098/0.692, allocations: 410.4 kB / 0.809 GB, free: 7.113 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001666/0.6937, allocations: 0.9907 MB / 0.8099 GB, free: 6.578 MB / 0.5919 GB Notification: Performance of Backend: time 5.61e-07/0.6937, allocations: 2.688 kB / 0.8099 GB, free: 6.578 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0055/0.6992, allocations: 1.853 MB / 0.8117 GB, free: 5.605 MB / 0.5919 GB Notification: Performance of SimCode: time 0.007211/0.7064, allocations: 3.963 MB / 0.8156 GB, free: 1.637 MB / 0.5919 GB Notification: Performance of Templates: time 0.06311/0.7696, allocations: 37.44 MB / 0.8522 GB, free: 12.73 MB / 0.6387 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_u.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_u.sim & ./IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe 2>&1)