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.007029/0.00703, allocations: 99.77 kB / 15.73 MB, free: 6.012 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.00197/0.00197, allocations: 193.6 kB / 16.67 MB, free: 5.93 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.461/1.461, allocations: 222.9 MB / 240.4 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.8465/0.8465, allocations: 135.6 MB / 426.1 MB, free: 3.648 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00197/0.00197, allocations: 71.39 kB / 0.5863 GB, free: 21.07 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1731/0.175, allocations: 81.01 MB / 0.6654 GB, free: 5.094 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_u): time 0.07536/0.2504, allocations: 66.97 MB / 0.7308 GB, free: 1.891 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02546/0.2759, allocations: 16.74 MB / 0.7471 GB, free: 1.105 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003029/0.279, allocations: 99.44 kB / 0.7472 GB, free: 1.008 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.366/0.645, allocations: 1.158 MB / 0.7484 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.008043/0.6531, allocations: 2.652 MB / 0.7509 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.006103/0.6592, allocations: 2.343 MB / 0.7532 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.008097/0.6673, allocations: 5.36 MB / 0.7585 GB, free: 11.9 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003175/0.6705, allocations: 1.899 MB / 0.7603 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005302/0.6758, allocations: 2.1 MB / 0.7624 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00251/0.6784, allocations: 1.489 MB / 0.7638 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003914/0.6788, allocations: 190.7 kB / 0.764 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004247/0.683, allocations: 1.969 MB / 0.7659 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005964/0.6836, allocations: 0.5536 MB / 0.7665 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001559/0.6852, allocations: 1.14 MB / 0.7676 GB, free: 10.85 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005372/0.6906, allocations: 3.661 MB / 0.7712 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.065e-06/0.6906, allocations: 1.375 kB / 0.7712 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.022e-06/0.6906, allocations: 0 / 0.7712 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.609e-05/0.6907, allocations: 0 / 0.7712 GB, free: 10.34 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.004294/0.695, allocations: 2.755 MB / 0.7738 GB, free: 8.918 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.695, allocations: 10.67 kB / 0.7739 GB, free: 8.918 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001421/0.6964, allocations: 383.9 kB / 0.7742 GB, free: 8.781 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003009/0.6994, allocations: 1.838 MB / 0.776 GB, free: 8.262 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.473e-05/0.6995, allocations: 96.72 kB / 0.7761 GB, free: 8.258 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001864/0.6997, allocations: 135.8 kB / 0.7762 GB, free: 8.254 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002475/0.7022, allocations: 1.43 MB / 0.7776 GB, free: 8.008 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.585e-05/0.7023, allocations: 2.719 kB / 0.7776 GB, free: 8.008 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001222/0.7024, allocations: 51.62 kB / 0.7777 GB, free: 8.008 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.902e-05/0.7024, allocations: 50.47 kB / 0.7777 GB, free: 8.004 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002317/0.7048, allocations: 1.098 MB / 0.7788 GB, free: 7.977 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.007718/0.7125, allocations: 7.374 MB / 0.786 GB, free: 3.758 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001825/0.7143, allocations: 1.291 MB / 0.7873 GB, free: 3.152 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009498/0.7153, allocations: 455.5 kB / 0.7877 GB, free: 3.133 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004609/0.7199, allocations: 2.637 MB / 0.7903 GB, free: 1.766 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001032/0.721, allocations: 484.9 kB / 0.7907 GB, free: 1.609 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=63): time 2.375e-06/0.721, allocations: 0 / 0.7907 GB, free: 1.609 MB / 0.5762 GB Notification: Performance of matching and sorting (n=63): time 0.002981/0.724, allocations: 1.221 MB / 0.7919 GB, free: 0.9648 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.037e-05/0.724, allocations: 110.9 kB / 0.792 GB, free: 0.8398 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001788/0.7258, allocations: 1.481 MB / 0.7935 GB, free: 44 kB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.879e-05/0.7259, allocations: 43.33 kB / 0.7935 GB, free: 0 / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.00105/0.727, allocations: 0.9169 MB / 0.7944 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002933/0.7273, allocations: 232.3 kB / 0.7946 GB, free: 15 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003461/0.7276, allocations: 202.4 kB / 0.7948 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002388/0.7279, allocations: 347.4 kB / 0.7952 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009082/0.7288, allocations: 378.9 kB / 0.7955 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001215/0.73, allocations: 0.7228 MB / 0.7962 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002038/0.7321, allocations: 1.086 MB / 0.7973 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.344e-06/0.7321, allocations: 3.688 kB / 0.7973 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002844/0.7349, allocations: 1.276 MB / 0.7985 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 5.313e-05/0.735, allocations: 45.84 kB / 0.7986 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.787e-05/0.735, allocations: 11.41 kB / 0.7986 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.245e-05/0.7351, allocations: 12.62 kB / 0.7986 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009089/0.736, allocations: 245 kB / 0.7988 GB, free: 12.28 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.313e-05/0.736, allocations: 20.33 kB / 0.7989 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001361/0.7374, allocations: 136.8 kB / 0.799 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.561e-05/0.7375, allocations: 52.83 kB / 0.799 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001531/0.739, allocations: 0.6826 MB / 0.7997 GB, free: 11.78 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001195/0.7402, allocations: 0.713 MB / 0.8004 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001921/0.7422, allocations: 1.056 MB / 0.8014 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.771e-06/0.7422, allocations: 2.844 kB / 0.8014 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of matching and sorting (n=122) (initialization_lambda0): time 0.002731/0.7449, allocations: 1.246 MB / 0.8027 GB, free: 9.801 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.266e-05/0.745, allocations: 44.75 kB / 0.8027 GB, free: 9.762 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/0.745, allocations: 9.75 kB / 0.8027 GB, free: 9.762 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.745, allocations: 14.84 kB / 0.8027 GB, free: 9.762 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008852/0.7459, allocations: 247.6 kB / 0.803 GB, free: 9.715 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.479e-05/0.7459, allocations: 19.62 kB / 0.803 GB, free: 9.715 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001229/0.7472, allocations: 118.1 kB / 0.8031 GB, free: 9.645 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.571e-05/0.7473, allocations: 56.98 kB / 0.8032 GB, free: 9.629 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.0003351/0.7476, allocations: 248.5 kB / 0.8034 GB, free: 9.414 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002792/0.7479, allocations: 178.1 kB / 0.8036 GB, free: 9.316 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002661/0.7506, allocations: 1.055 MB / 0.8046 GB, free: 8.746 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.505e-05/0.7506, allocations: 7.281 kB / 0.8046 GB, free: 8.746 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.7506, allocations: 0 / 0.8046 GB, free: 8.746 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001736/0.7523, allocations: 0.7763 MB / 0.8054 GB, free: 8.344 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004959/0.7573, allocations: 2.696 MB / 0.808 GB, free: 6.504 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.12e-05/0.7573, allocations: 7 kB / 0.808 GB, free: 6.5 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007202/0.7581, allocations: 157.2 kB / 0.8081 GB, free: 6.461 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001703/0.7583, allocations: 30.78 kB / 0.8082 GB, free: 6.441 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.86e-05/0.7583, allocations: 20.36 kB / 0.8082 GB, free: 6.43 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001302/0.7596, allocations: 1.439 MB / 0.8096 GB, free: 4.965 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.7596, allocations: 3.25 kB / 0.8096 GB, free: 4.965 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003177/0.7628, allocations: 1.574 MB / 0.8111 GB, free: 4.062 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006685/0.7635, allocations: 360.9 kB / 0.8115 GB, free: 3.758 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002091/0.7637, allocations: 21.36 kB / 0.8115 GB, free: 3.742 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008915/0.7646, allocations: 57.05 kB / 0.8116 GB, free: 3.715 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001698/0.7648, allocations: 59.3 kB / 0.8116 GB, free: 3.684 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.117e-05/0.7649, allocations: 36.81 kB / 0.8116 GB, free: 3.668 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001933/0.7668, allocations: 1.073 MB / 0.8127 GB, free: 3.059 MB / 0.5919 GB Notification: Performance of sort global known variables: time 3.2e-07/0.7669, allocations: 0 / 0.8127 GB, free: 3.059 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002984/0.7698, allocations: 0.9512 MB / 0.8136 GB, free: 2.195 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 6 (vol.dynBal.U,mov.filter.s[1],mov.filter.s[2],conPI.I.y,THeaOut.T,hea.vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (75): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001393/0.7713, allocations: 0.5263 MB / 0.8141 GB, free: 1.703 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.003732/0.775, allocations: 1.578 MB / 0.8157 GB, free: 176 kB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/0.775, allocations: 0 / 0.8157 GB, free: 176 kB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001254/0.7763, allocations: 0.5438 MB / 0.8162 GB, free: 15.63 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004108/0.7804, allocations: 0.8906 MB / 0.8171 GB, free: 14.77 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006103/0.7865, allocations: 3.186 MB / 0.8202 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001219/0.7878, allocations: 1.397 MB / 0.8216 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001597/0.7894, allocations: 428.9 kB / 0.822 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003505/0.7897, allocations: 137.5 kB / 0.8221 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of SimCode: time 1.062e-06/0.7897, allocations: 8 kB / 0.8221 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of Templates: time 0.06737/0.8571, allocations: 34.75 MB / 0.856 GB, free: 7.359 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)