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.001284/0.001284, allocations: 113.9 kB / 16.37 MB, free: 6.016 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.001241/0.001241, allocations: 194.4 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.248/1.248, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7589/0.7589, allocations: 135.1 MB / 426.3 MB, free: 4.129 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001179/0.001179, allocations: 59.91 kB / 0.5067 GB, free: 7.672 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2966/0.2978, allocations: 80.91 MB / 0.5858 GB, free: 25.46 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_u): time 0.05355/0.3514, allocations: 66.98 MB / 0.6512 GB, free: 7.426 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.02247/0.374, allocations: 16.75 MB / 0.6675 GB, free: 6.633 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002682/0.3767, allocations: 91.5 kB / 0.6676 GB, free: 6.543 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003111/0.3798, allocations: 1.176 MB / 0.6688 GB, free: 5.363 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.006454/0.3863, allocations: 2.658 MB / 0.6714 GB, free: 2.695 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005307/0.3916, allocations: 2.347 MB / 0.6736 GB, free: 380 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.006587/0.3982, allocations: 5.347 MB / 0.6789 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002901/0.4011, allocations: 1.911 MB / 0.6807 GB, free: 9.051 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004289/0.4054, allocations: 2.095 MB / 0.6828 GB, free: 6.957 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002394/0.4078, allocations: 1.489 MB / 0.6842 GB, free: 5.461 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0005734/0.4084, allocations: 188 kB / 0.6844 GB, free: 5.277 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00395/0.4124, allocations: 1.965 MB / 0.6863 GB, free: 3.309 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0007954/0.4132, allocations: 0.5605 MB / 0.6869 GB, free: 2.746 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001788/0.415, allocations: 1.143 MB / 0.688 GB, free: 1.598 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.005615/0.4206, allocations: 3.63 MB / 0.6915 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.4207, allocations: 0 / 0.6915 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.734e-06/0.4207, allocations: 0 / 0.6915 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.663e-05/0.4208, allocations: 0 / 0.6915 GB, free: 13.96 MB / 0.5294 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.005414/0.4262, allocations: 2.683 MB / 0.6942 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.901e-05/0.4263, allocations: 13.11 kB / 0.6942 GB, free: 11.19 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001686/0.428, allocations: 370 kB / 0.6945 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00386/0.4318, allocations: 1.827 MB / 0.6963 GB, free: 8.945 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001018/0.4319, allocations: 102.4 kB / 0.6964 GB, free: 8.844 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002529/0.4322, allocations: 128 kB / 0.6965 GB, free: 8.719 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002582/0.4348, allocations: 1.42 MB / 0.6979 GB, free: 7.211 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.376e-05/0.4348, allocations: 3.906 kB / 0.6979 GB, free: 7.207 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000117/0.435, allocations: 55.97 kB / 0.698 GB, free: 7.152 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.122e-05/0.435, allocations: 58.25 kB / 0.698 GB, free: 7.094 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002311/0.4373, allocations: 1.094 MB / 0.6991 GB, free: 5.992 MB / 0.5294 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.008771/0.4461, allocations: 7.354 MB / 0.7063 GB, free: 14.07 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001903/0.448, allocations: 1.294 MB / 0.7075 GB, free: 12.66 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008715/0.4489, allocations: 447.5 kB / 0.708 GB, free: 12.22 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004213/0.4532, allocations: 2.631 MB / 0.7105 GB, free: 9.355 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000951/0.4541, allocations: 494.5 kB / 0.711 GB, free: 8.848 MB / 0.545 GB Notification: Performance of pre-optimization done (n=63): time 2.295e-06/0.4541, allocations: 0 / 0.711 GB, free: 8.848 MB / 0.545 GB Notification: Performance of matching and sorting (n=63): time 0.002689/0.4568, allocations: 1.202 MB / 0.7122 GB, free: 7.617 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.798e-05/0.4569, allocations: 111.4 kB / 0.7123 GB, free: 7.484 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001789/0.4587, allocations: 1.48 MB / 0.7137 GB, free: 6.004 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.923e-05/0.4588, allocations: 41.7 kB / 0.7138 GB, free: 5.957 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006592/0.4594, allocations: 0.8996 MB / 0.7147 GB, free: 5.047 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001887/0.4596, allocations: 228.8 kB / 0.7149 GB, free: 4.82 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002767/0.4599, allocations: 198.5 kB / 0.7151 GB, free: 4.621 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001135/0.46, allocations: 341.9 kB / 0.7154 GB, free: 4.281 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008014/0.4608, allocations: 380.6 kB / 0.7157 GB, free: 3.906 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001069/0.4619, allocations: 0.732 MB / 0.7165 GB, free: 3.012 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001817/0.4638, allocations: 1.09 MB / 0.7175 GB, free: 1.781 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.971e-06/0.4638, allocations: 0 / 0.7175 GB, free: 1.781 MB / 0.545 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002418/0.4662, allocations: 1.266 MB / 0.7188 GB, free: 0.5 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.621e-05/0.4663, allocations: 44.5 kB / 0.7188 GB, free: 464 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.071e-05/0.4663, allocations: 8 kB / 0.7188 GB, free: 456 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.85e-05/0.4663, allocations: 16 kB / 0.7188 GB, free: 440 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008966/0.4672, allocations: 247.9 kB / 0.7191 GB, free: 192 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.637e-05/0.4673, allocations: 23.92 kB / 0.7191 GB, free: 168 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00101/0.4683, allocations: 127.6 kB / 0.7192 GB, free: 40 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001105/0.4684, allocations: 52.03 kB / 0.7193 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001251/0.4697, allocations: 0.6736 MB / 0.7199 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009758/0.4706, allocations: 0.7164 MB / 0.7206 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001736/0.4724, allocations: 1.055 MB / 0.7216 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.642e-06/0.4724, allocations: 8 kB / 0.7217 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of matching and sorting (n=122) (initialization_lambda0): time 0.002306/0.4747, allocations: 1.235 MB / 0.7229 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.848e-05/0.4748, allocations: 41.62 kB / 0.7229 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/0.4748, allocations: 16.56 kB / 0.7229 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/0.4748, allocations: 16 kB / 0.7229 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008552/0.4757, allocations: 243.6 kB / 0.7232 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.198e-05/0.4757, allocations: 27.86 kB / 0.7232 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009595/0.4767, allocations: 115.9 kB / 0.7233 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.549e-05/0.4768, allocations: 47.98 kB / 0.7233 GB, free: 11.46 MB / 0.5606 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.0002575/0.477, allocations: 255.8 kB / 0.7236 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002802/0.4773, allocations: 165.9 kB / 0.7238 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002268/0.4796, allocations: 1.065 MB / 0.7248 GB, free: 9.965 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.33e-05/0.4796, allocations: 8 kB / 0.7248 GB, free: 9.957 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.623e-06/0.4796, allocations: 0 / 0.7248 GB, free: 9.957 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00159/0.4812, allocations: 0.7769 MB / 0.7256 GB, free: 9.164 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004631/0.4859, allocations: 2.677 MB / 0.7282 GB, free: 6.406 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/0.4859, allocations: 4 kB / 0.7282 GB, free: 6.402 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007242/0.4866, allocations: 156 kB / 0.7283 GB, free: 6.25 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001936/0.4868, allocations: 28.84 kB / 0.7284 GB, free: 6.219 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.188e-05/0.4869, allocations: 23.98 kB / 0.7284 GB, free: 6.195 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001223/0.4881, allocations: 1.437 MB / 0.7298 GB, free: 4.621 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.4881, allocations: 0 / 0.7298 GB, free: 4.621 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003044/0.4912, allocations: 1.566 MB / 0.7313 GB, free: 3.004 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007004/0.4919, allocations: 358.5 kB / 0.7316 GB, free: 2.633 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002937/0.4922, allocations: 16 kB / 0.7317 GB, free: 2.617 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009137/0.4931, allocations: 59.94 kB / 0.7317 GB, free: 2.559 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001394/0.4933, allocations: 60.42 kB / 0.7318 GB, free: 2.496 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.595e-05/0.4934, allocations: 35.97 kB / 0.7318 GB, free: 2.461 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001844/0.4952, allocations: 1.074 MB / 0.7329 GB, free: 1.363 MB / 0.5606 GB Notification: Performance of sort global known variables: time 4.1e-07/0.4952, allocations: 0 / 0.7329 GB, free: 1.363 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003176/0.4984, allocations: 0.9431 MB / 0.7338 GB, free: 428 kB / 0.5606 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.001952/0.5004, allocations: 0.5388 MB / 0.7343 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003588/0.504, allocations: 1.565 MB / 0.7358 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/0.504, allocations: 0 / 0.7358 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001263/0.5053, allocations: 0.5464 MB / 0.7364 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003632/0.5089, allocations: 0.907 MB / 0.7373 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005156/0.5141, allocations: 3.114 MB / 0.7403 GB, free: 9.711 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001006/0.5151, allocations: 1.397 MB / 0.7417 GB, free: 8.281 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.00144/0.5166, allocations: 417.4 kB / 0.7421 GB, free: 7.871 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003285/0.5169, allocations: 139.4 kB / 0.7422 GB, free: 7.734 MB / 0.5762 GB Notification: Performance of SimCode: time 8.32e-07/0.5169, allocations: 0 / 0.7422 GB, free: 7.734 MB / 0.5762 GB Notification: Performance of Templates: time 0.2731/0.79, allocations: 34.54 MB / 0.7759 GB, free: 139.2 MB / 0.5762 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 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe 2>&1)