Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_T") translateModel(IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001032/0.001032, allocations: 115.5 kB / 16.37 MB, free: 6.004 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.00106/0.00106, allocations: 195.6 kB / 17.31 MB, free: 5.613 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.245/1.245, 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.759/0.759, allocations: 135.1 MB / 426.3 MB, free: 4.125 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001214, allocations: 67.89 kB / 0.5068 GB, free: 7.656 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3317/0.3329, allocations: 80.9 MB / 0.5858 GB, free: 25.52 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_T): time 0.04196/0.3749, allocations: 53.25 MB / 0.6378 GB, free: 5.195 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02086/0.3958, allocations: 15.2 MB / 0.6526 GB, free: 5.953 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00271/0.3986, allocations: 87.5 kB / 0.6527 GB, free: 5.867 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003486/0.4021, allocations: 1.121 MB / 0.6538 GB, free: 4.75 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006235/0.4083, allocations: 2.338 MB / 0.6561 GB, free: 2.406 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005482/0.4138, allocations: 2.266 MB / 0.6583 GB, free: 164 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.006315/0.4202, allocations: 4.628 MB / 0.6628 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002752/0.4229, allocations: 1.631 MB / 0.6644 GB, free: 9.855 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004202/0.4272, allocations: 1.906 MB / 0.6663 GB, free: 7.949 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001881/0.429, allocations: 1.349 MB / 0.6676 GB, free: 6.594 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002981/0.4294, allocations: 172 kB / 0.6677 GB, free: 6.426 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003363/0.4327, allocations: 1.844 MB / 0.6695 GB, free: 4.578 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005493/0.4333, allocations: 0.5217 MB / 0.67 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.00109/0.4344, allocations: 1.038 MB / 0.6711 GB, free: 3.012 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00449/0.4389, allocations: 3.322 MB / 0.6743 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.4389, allocations: 0 / 0.6743 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.543e-06/0.4389, allocations: 0 / 0.6743 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 3.078e-05/0.439, allocations: 3.984 kB / 0.6743 GB, free: 15.68 MB / 0.5137 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.003918/0.4429, allocations: 2.513 MB / 0.6768 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.241e-05/0.4429, allocations: 9.109 kB / 0.6768 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001986/0.4449, allocations: 457.5 kB / 0.6772 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002962/0.4479, allocations: 1.678 MB / 0.6788 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.628e-05/0.448, allocations: 94.2 kB / 0.6789 GB, free: 10.81 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001695/0.4482, allocations: 116 kB / 0.679 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002335/0.4505, allocations: 1.339 MB / 0.6804 GB, free: 9.266 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.64e-05/0.4505, allocations: 4 kB / 0.6804 GB, free: 9.262 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.915e-05/0.4506, allocations: 52 kB / 0.6804 GB, free: 9.211 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.286e-05/0.4507, allocations: 45.98 kB / 0.6805 GB, free: 9.164 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002496/0.4532, allocations: 1.077 MB / 0.6815 GB, free: 8.078 MB / 0.5137 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.00842/0.4616, allocations: 7.083 MB / 0.6884 GB, free: 456 kB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002325/0.464, allocations: 1.35 MB / 0.6897 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009568/0.4649, allocations: 418.9 kB / 0.6901 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005183/0.4701, allocations: 3.079 MB / 0.6931 GB, free: 11.15 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009981/0.4711, allocations: 434.9 kB / 0.6936 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=60): time 2.515e-06/0.4712, allocations: 0 / 0.6936 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of matching and sorting (n=60): time 0.003075/0.4742, allocations: 1.213 MB / 0.6947 GB, free: 9.465 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.649e-05/0.4743, allocations: 55.97 kB / 0.6948 GB, free: 9.398 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002074/0.4764, allocations: 1.533 MB / 0.6963 GB, free: 7.863 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 7.105e-05/0.4765, allocations: 45.64 kB / 0.6963 GB, free: 7.812 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007114/0.4772, allocations: 0.8839 MB / 0.6972 GB, free: 6.918 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002269/0.4774, allocations: 216.9 kB / 0.6974 GB, free: 6.703 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000303/0.4777, allocations: 210.4 kB / 0.6976 GB, free: 6.492 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000122/0.4779, allocations: 341.9 kB / 0.6979 GB, free: 6.152 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008858/0.4787, allocations: 376.6 kB / 0.6983 GB, free: 5.781 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00118/0.4799, allocations: 0.7553 MB / 0.699 GB, free: 4.852 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002059/0.482, allocations: 1.109 MB / 0.7001 GB, free: 3.582 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.734e-06/0.482, allocations: 4 kB / 0.7001 GB, free: 3.578 MB / 0.5294 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002723/0.4848, allocations: 1.298 MB / 0.7014 GB, free: 2.266 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.656e-05/0.4848, allocations: 33.86 kB / 0.7014 GB, free: 2.227 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.574e-05/0.4848, allocations: 19.94 kB / 0.7014 GB, free: 2.207 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.605e-05/0.4849, allocations: 16 kB / 0.7015 GB, free: 2.191 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009702/0.4858, allocations: 251.6 kB / 0.7017 GB, free: 1.945 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.441e-05/0.4859, allocations: 23.92 kB / 0.7017 GB, free: 1.922 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001019/0.4869, allocations: 147.6 kB / 0.7019 GB, free: 1.777 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001019/0.487, allocations: 51.98 kB / 0.7019 GB, free: 1.727 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00129/0.4883, allocations: 0.6698 MB / 0.7026 GB, free: 1.051 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001082/0.4894, allocations: 0.7358 MB / 0.7033 GB, free: 148 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001872/0.4913, allocations: 1.089 MB / 0.7043 GB, free: 14.89 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.602e-06/0.4913, allocations: 4 kB / 0.7043 GB, free: 14.89 MB / 0.545 GB Notification: Performance of matching and sorting (n=122) (initialization_lambda0): time 0.002578/0.4939, allocations: 1.258 MB / 0.7056 GB, free: 13.61 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.114e-05/0.4939, allocations: 37.69 kB / 0.7056 GB, free: 13.57 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.361e-05/0.4939, allocations: 12 kB / 0.7056 GB, free: 13.56 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.494, allocations: 16 kB / 0.7056 GB, free: 13.54 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009382/0.4949, allocations: 256.1 kB / 0.7059 GB, free: 13.29 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.108e-05/0.4949, allocations: 23.88 kB / 0.7059 GB, free: 13.27 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001005/0.496, allocations: 116 kB / 0.706 GB, free: 13.16 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.651e-05/0.4961, allocations: 55.98 kB / 0.7061 GB, free: 13.1 MB / 0.545 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.000258/0.4963, allocations: 247.8 kB / 0.7063 GB, free: 12.85 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002606/0.4966, allocations: 165.9 kB / 0.7065 GB, free: 12.69 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00245/0.499, allocations: 1.106 MB / 0.7075 GB, free: 11.58 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.391e-05/0.4991, allocations: 12 kB / 0.7076 GB, free: 11.57 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.4991, allocations: 0 / 0.7076 GB, free: 11.57 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001809/0.5009, allocations: 0.9548 MB / 0.7085 GB, free: 10.56 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004514/0.5054, allocations: 2.413 MB / 0.7108 GB, free: 8.078 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/0.5054, allocations: 7.938 kB / 0.7109 GB, free: 8.07 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007096/0.5062, allocations: 147.8 kB / 0.711 GB, free: 7.926 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001584/0.5063, allocations: 28.91 kB / 0.711 GB, free: 7.895 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.887e-05/0.5064, allocations: 23.98 kB / 0.711 GB, free: 7.871 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001067/0.5075, allocations: 1.406 MB / 0.7124 GB, free: 6.324 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/0.5075, allocations: 3.984 kB / 0.7124 GB, free: 6.32 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002979/0.5105, allocations: 1.539 MB / 0.7139 GB, free: 4.762 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005897/0.5111, allocations: 350.5 kB / 0.7143 GB, free: 4.398 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002179/0.5113, allocations: 19.98 kB / 0.7143 GB, free: 4.379 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008041/0.5121, allocations: 59.88 kB / 0.7143 GB, free: 4.32 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001117/0.5122, allocations: 48.5 kB / 0.7144 GB, free: 4.273 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.216e-05/0.5123, allocations: 31.97 kB / 0.7144 GB, free: 4.242 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.00146/0.5138, allocations: 1.089 MB / 0.7155 GB, free: 3.129 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.2e-07/0.5138, allocations: 0 / 0.7155 GB, free: 3.129 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002064/0.5159, allocations: 0.8615 MB / 0.7163 GB, free: 2.266 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (vol.dynBal.U,mov.filter.s[1],mov.filter.s[2],conPI.I.y,THeaOut.T,hea.outCon.T) * 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 (70): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.001651/0.5175, allocations: 0.7298 MB / 0.717 GB, free: 1.699 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003295/0.5208, allocations: 1.582 MB / 0.7186 GB, free: 96 kB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.568e-06/0.5208, allocations: 0 / 0.7186 GB, free: 96 kB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001104/0.5219, allocations: 0.5412 MB / 0.7191 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00275/0.5247, allocations: 0.7629 MB / 0.7198 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004918/0.5296, allocations: 3.032 MB / 0.7228 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009775/0.5306, allocations: 1.36 MB / 0.7241 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001334/0.532, allocations: 409.9 kB / 0.7245 GB, free: 9.938 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003389/0.5323, allocations: 143.3 kB / 0.7247 GB, free: 9.797 MB / 0.5606 GB Notification: Performance of SimCode: time 5.81e-07/0.5323, allocations: 0 / 0.7247 GB, free: 9.797 MB / 0.5606 GB Notification: Performance of Templates: time 0.262/0.7944, allocations: 31.46 MB / 0.7554 GB, free: 152.8 MB / 0.5762 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_T.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_T.sim & ./IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_T -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe 2>&1)