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.001752/0.001752, allocations: 106.7 kB / 16.41 MB, free: 6.488 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.001791/0.001792, allocations: 185.6 kB / 17.34 MB, free: 5.766 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.435/1.435, allocations: 222.9 MB / 241 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.8473/0.8473, allocations: 135.1 MB / 426.3 MB, free: 4.086 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 63 kB / 0.5863 GB, free: 21.6 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1667/0.168, allocations: 80.93 MB / 0.6653 GB, free: 5.754 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.07009/0.2381, allocations: 66.98 MB / 0.7307 GB, free: 2.547 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02761/0.2658, allocations: 16.73 MB / 0.7471 GB, free: 1.773 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004334/0.2701, allocations: 99.44 kB / 0.7472 GB, free: 1.676 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.004179/0.2743, allocations: 1.169 MB / 0.7483 GB, free: 0.5 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.4643/0.7387, allocations: 2.643 MB / 0.7509 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.007126/0.7458, allocations: 2.348 MB / 0.7532 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01156/0.7574, allocations: 5.359 MB / 0.7584 GB, free: 12.42 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00523/0.7627, allocations: 1.908 MB / 0.7603 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007821/0.7705, allocations: 2.14 MB / 0.7624 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004694/0.7753, allocations: 1.484 MB / 0.7638 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.00138/0.7767, allocations: 194.7 kB / 0.764 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007236/0.7839, allocations: 1.972 MB / 0.7659 GB, free: 11.83 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.00164/0.7856, allocations: 0.5527 MB / 0.7665 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.003813/0.7895, allocations: 1.14 MB / 0.7676 GB, free: 11.42 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01073/0.8002, allocations: 3.647 MB / 0.7711 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.934e-06/0.8003, allocations: 0 / 0.7711 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.186e-06/0.8003, allocations: 0 / 0.7711 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001682/0.8005, allocations: 1.062 kB / 0.7711 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.009394/0.8099, allocations: 2.667 MB / 0.7738 GB, free: 9.57 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.982e-05/0.8099, allocations: 14.08 kB / 0.7738 GB, free: 9.57 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002281/0.8122, allocations: 376.8 kB / 0.7741 GB, free: 9.441 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005741/0.818, allocations: 1.819 MB / 0.7759 GB, free: 8.938 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002122/0.8182, allocations: 104.8 kB / 0.776 GB, free: 8.93 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000615/0.8189, allocations: 134.8 kB / 0.7761 GB, free: 8.926 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004825/0.8237, allocations: 1.424 MB / 0.7775 GB, free: 8.68 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.725e-05/0.8238, allocations: 1.812 kB / 0.7775 GB, free: 8.68 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002655/0.8241, allocations: 50.94 kB / 0.7776 GB, free: 8.68 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.372e-05/0.8242, allocations: 51.28 kB / 0.7776 GB, free: 8.676 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003437/0.8276, allocations: 1.089 MB / 0.7787 GB, free: 8.652 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.01286/0.8405, allocations: 7.367 MB / 0.7859 GB, free: 4.445 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002146/0.8427, allocations: 1.286 MB / 0.7871 GB, free: 3.848 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001047/0.8437, allocations: 454 kB / 0.7876 GB, free: 3.828 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005593/0.8493, allocations: 2.636 MB / 0.7901 GB, free: 2.457 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001148/0.8505, allocations: 487.7 kB / 0.7906 GB, free: 2.371 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=63): time 3.857e-06/0.8506, allocations: 0 / 0.7906 GB, free: 2.371 MB / 0.5762 GB Notification: Performance of matching and sorting (n=63): time 0.003254/0.8538, allocations: 1.213 MB / 0.7918 GB, free: 1.992 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.767e-05/0.8539, allocations: 108.7 kB / 0.7919 GB, free: 1.867 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002652/0.8566, allocations: 1.482 MB / 0.7933 GB, free: 1.141 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001443/0.8567, allocations: 43.08 kB / 0.7934 GB, free: 1.098 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007651/0.8575, allocations: 0.894 MB / 0.7943 GB, free: 320 kB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002421/0.8577, allocations: 225.8 kB / 0.7945 GB, free: 128 kB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003227/0.8581, allocations: 207.1 kB / 0.7947 GB, free: 4 kB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001715/0.8583, allocations: 345.8 kB / 0.795 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009132/0.8592, allocations: 383.4 kB / 0.7954 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001208/0.8604, allocations: 0.72 MB / 0.7961 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002071/0.8625, allocations: 1.091 MB / 0.7971 GB, free: 14.06 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-05/0.8625, allocations: 3.094 kB / 0.7971 GB, free: 14.06 MB / 0.5919 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002949/0.8655, allocations: 1.266 MB / 0.7984 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.937e-05/0.8655, allocations: 35.45 kB / 0.7984 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.153e-05/0.8656, allocations: 15.16 kB / 0.7984 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.699e-05/0.8656, allocations: 16.25 kB / 0.7984 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000949/0.8665, allocations: 245.8 kB / 0.7987 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.335e-05/0.8666, allocations: 17.97 kB / 0.7987 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001746/0.8683, allocations: 132.1 kB / 0.7988 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001442/0.8685, allocations: 59.84 kB / 0.7989 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001668/0.8702, allocations: 0.6781 MB / 0.7995 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00116/0.8714, allocations: 0.7193 MB / 0.8002 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001981/0.8733, allocations: 1.051 MB / 0.8013 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.029e-05/0.8734, allocations: 5.062 kB / 0.8013 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of matching and sorting (n=122) (initialization_lambda0): time 0.00293/0.8763, allocations: 1.243 MB / 0.8025 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.383e-05/0.8764, allocations: 40.89 kB / 0.8025 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.597e-05/0.8764, allocations: 10 kB / 0.8025 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.839e-05/0.8764, allocations: 16.56 kB / 0.8025 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009077/0.8773, allocations: 245.8 kB / 0.8028 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.711e-05/0.8774, allocations: 22.14 kB / 0.8028 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001521/0.8789, allocations: 107.7 kB / 0.8029 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001135/0.879, allocations: 51.7 kB / 0.803 GB, free: 10.77 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.0003897/0.8794, allocations: 254.7 kB / 0.8032 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005786/0.88, allocations: 168.4 kB / 0.8034 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002707/0.8827, allocations: 1.058 MB / 0.8044 GB, free: 9.891 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.302e-05/0.8827, allocations: 13.52 kB / 0.8044 GB, free: 9.887 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.425e-05/0.8828, allocations: 0 / 0.8044 GB, free: 9.887 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001747/0.8845, allocations: 0.7771 MB / 0.8052 GB, free: 9.48 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005997/0.8905, allocations: 2.692 MB / 0.8078 GB, free: 7.648 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.218e-05/0.8906, allocations: 6.719 kB / 0.8078 GB, free: 7.645 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007362/0.8913, allocations: 161.7 kB / 0.8079 GB, free: 7.605 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002063/0.8915, allocations: 28.88 kB / 0.808 GB, free: 7.586 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.189e-05/0.8916, allocations: 21.08 kB / 0.808 GB, free: 7.574 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001151/0.8928, allocations: 1.423 MB / 0.8094 GB, free: 6.117 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.8928, allocations: 5.906 kB / 0.8094 GB, free: 6.117 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003473/0.8963, allocations: 1.565 MB / 0.8109 GB, free: 5.219 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001086/0.8974, allocations: 359.1 kB / 0.8113 GB, free: 4.914 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005561/0.8979, allocations: 17.5 kB / 0.8113 GB, free: 4.902 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00126/0.8992, allocations: 60.94 kB / 0.8113 GB, free: 4.871 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001639/0.8994, allocations: 61.45 kB / 0.8114 GB, free: 4.84 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001153/0.8995, allocations: 37.5 kB / 0.8114 GB, free: 4.824 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.002089/0.9016, allocations: 1.067 MB / 0.8125 GB, free: 4.219 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9016, allocations: 0 / 0.8125 GB, free: 4.219 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.003779/0.9054, allocations: 0.9362 MB / 0.8134 GB, free: 3.559 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.001714/0.9071, allocations: 0.5307 MB / 0.8139 GB, free: 3.062 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.003819/0.911, allocations: 1.568 MB / 0.8154 GB, free: 1.547 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.68e-06/0.911, allocations: 0 / 0.8154 GB, free: 1.547 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001267/0.9123, allocations: 0.5378 MB / 0.816 GB, free: 1.016 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005057/0.9173, allocations: 0.8992 MB / 0.8168 GB, free: 144 kB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00652/0.9239, allocations: 3.183 MB / 0.82 GB, free: 12.93 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001293/0.9252, allocations: 1.388 MB / 0.8213 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006159/0.9258, allocations: 147.4 kB / 0.8214 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of SimCode: time 6.61e-07/0.9259, allocations: 4 kB / 0.8215 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of Templates: time 0.05338/0.9793, allocations: 35.33 MB / 0.856 GB, free: 8.352 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)