Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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: "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_u,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatExchangers_Examples_WaterHeater_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_u,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatExchangers_Examples_WaterHeater_u",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00101/0.00101, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001281/0.001281, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.318/1.318, allocations: 223.3 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7202/0.7202, allocations: 132.3 MB / 423.4 MB, free: 2.086 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002956/0.0002958, allocations: 12 kB / 0.5035 GB, free: 4.137 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4236/0.4239, allocations: 81.57 MB / 0.5831 GB, free: 3.984 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_u): time 0.05528/0.4793, allocations: 61.72 MB / 0.6434 GB, free: 2.688 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02006/0.4994, allocations: 15.7 MB / 0.6587 GB, free: 2.965 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002905/0.5023, allocations: 79.5 kB / 0.6588 GB, free: 2.887 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002401/0.5047, allocations: 0.7881 MB / 0.6596 GB, free: 2.094 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005635/0.5104, allocations: 2.117 MB / 0.6617 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004565/0.5149, allocations: 1.765 MB / 0.6634 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.00701/0.522, allocations: 5.969 MB / 0.6692 GB, free: 8.234 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002301/0.5243, allocations: 1.356 MB / 0.6705 GB, free: 6.852 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003562/0.5279, allocations: 1.672 MB / 0.6722 GB, free: 5.172 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002457/0.5304, allocations: 1.38 MB / 0.6735 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004102/0.5308, allocations: 76 kB / 0.6736 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003815/0.5346, allocations: 1.446 MB / 0.675 GB, free: 2.262 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007753/0.5354, allocations: 438.1 kB / 0.6754 GB, free: 1.832 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009247/0.5363, allocations: 436.6 kB / 0.6758 GB, free: 1.398 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.004181/0.5405, allocations: 2.646 MB / 0.6784 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.5406, allocations: 0 / 0.6784 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.044e-06/0.5406, allocations: 0 / 0.6784 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.063e-05/0.5406, allocations: 4 kB / 0.6784 GB, free: 14.74 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: 310 * Number of variables: 310 Notification: Performance of Generate backend data structure: time 0.004292/0.5449, allocations: 2.321 MB / 0.6807 GB, free: 12.35 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/0.545, allocations: 12.03 kB / 0.6807 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002527/0.5452, allocations: 185.8 kB / 0.6809 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001326/0.5466, allocations: 389 kB / 0.6812 GB, free: 11.76 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003412/0.55, allocations: 1.735 MB / 0.6829 GB, free: 9.977 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003445/0.5504, allocations: 170.3 kB / 0.6831 GB, free: 9.809 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001971/0.5506, allocations: 131.9 kB / 0.6832 GB, free: 9.68 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00269/0.5533, allocations: 1.441 MB / 0.6846 GB, free: 8.156 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.757e-05/0.5533, allocations: 7.922 kB / 0.6846 GB, free: 8.148 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001134/0.5534, allocations: 52 kB / 0.6847 GB, free: 8.098 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.622e-05/0.5535, allocations: 46.31 kB / 0.6847 GB, free: 8.051 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002364/0.5559, allocations: 1.137 MB / 0.6858 GB, free: 6.906 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.009432/0.5653, allocations: 7.392 MB / 0.6931 GB, free: 14.94 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002006/0.5673, allocations: 1.372 MB / 0.6944 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008589/0.5682, allocations: 462.6 kB / 0.6948 GB, free: 13 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003515/0.5717, allocations: 2.623 MB / 0.6974 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009346/0.5727, allocations: 0.4947 MB / 0.6979 GB, free: 9.629 MB / 0.5294 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003514/0.573, allocations: 87.25 kB / 0.698 GB, free: 9.543 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=64): time 2.194e-06/0.5731, allocations: 0 / 0.698 GB, free: 9.543 MB / 0.5294 GB Notification: Performance of matching and sorting (n=64): time 0.002614/0.5757, allocations: 1.292 MB / 0.6992 GB, free: 8.227 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.251e-05/0.5757, allocations: 115.3 kB / 0.6993 GB, free: 8.09 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001817/0.5776, allocations: 1.481 MB / 0.7008 GB, free: 6.609 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 6.879e-05/0.5777, allocations: 41.7 kB / 0.7008 GB, free: 6.562 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007725/0.5784, allocations: 0.8919 MB / 0.7017 GB, free: 5.66 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001939/0.5786, allocations: 228.7 kB / 0.7019 GB, free: 5.434 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.073e-05/0.5787, allocations: 20 kB / 0.7019 GB, free: 5.414 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001463/0.5788, allocations: 349.9 kB / 0.7023 GB, free: 5.066 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008047/0.5797, allocations: 373.8 kB / 0.7026 GB, free: 4.703 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001022/0.5807, allocations: 0.7311 MB / 0.7033 GB, free: 3.816 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008773/0.5816, allocations: 488.7 kB / 0.7038 GB, free: 3.336 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.713e-06/0.5816, allocations: 4 kB / 0.7038 GB, free: 3.332 MB / 0.5294 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002268/0.5839, allocations: 1.274 MB / 0.7051 GB, free: 2.047 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002383/0.5841, allocations: 417 kB / 0.7055 GB, free: 1.496 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.479e-05/0.5841, allocations: 11.95 kB / 0.7055 GB, free: 1.484 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.641e-05/0.5842, allocations: 16 kB / 0.7055 GB, free: 1.469 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009004/0.5851, allocations: 263.6 kB / 0.7057 GB, free: 1.211 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.126e-05/0.5851, allocations: 19.94 kB / 0.7058 GB, free: 1.191 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001168/0.5863, allocations: 136.4 kB / 0.7059 GB, free: 1.055 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.703e-05/0.5864, allocations: 59.98 kB / 0.7059 GB, free: 0.9961 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 7.063e-06/0.5864, allocations: 4 kB / 0.7059 GB, free: 0.9922 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002027/0.5884, allocations: 1.103 MB / 0.707 GB, free: 15.88 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.211e-05/0.5885, allocations: 12.03 kB / 0.707 GB, free: 15.87 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.5885, allocations: 16 kB / 0.707 GB, free: 15.86 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008731/0.5894, allocations: 259.6 kB / 0.7073 GB, free: 15.6 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.937e-05/0.5894, allocations: 19.94 kB / 0.7073 GB, free: 15.58 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001081/0.5905, allocations: 136.4 kB / 0.7074 GB, free: 15.45 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.119e-05/0.5906, allocations: 47.98 kB / 0.7075 GB, free: 15.4 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conPI.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (121): * Single equations (assignments): 119 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007228/0.5913, allocations: 498.2 kB / 0.708 GB, free: 14.91 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002282/0.5915, allocations: 169.8 kB / 0.7081 GB, free: 14.74 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00231/0.5939, allocations: 1.115 MB / 0.7092 GB, free: 13.62 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.449e-05/0.5939, allocations: 8 kB / 0.7092 GB, free: 13.61 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.326e-06/0.5939, allocations: 0 / 0.7092 GB, free: 13.61 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001621/0.5955, allocations: 0.8237 MB / 0.71 GB, free: 12.77 MB / 0.545 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 postOpt removeSimpleEquations (simulation): time 0.00432/0.5999, allocations: 2.72 MB / 0.7127 GB, free: 9.969 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.672e-06/0.5999, allocations: 7.938 kB / 0.7127 GB, free: 9.961 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006863/0.6006, allocations: 164 kB / 0.7128 GB, free: 9.801 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001794/0.6008, allocations: 36.83 kB / 0.7129 GB, free: 9.762 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.661e-05/0.6008, allocations: 23.98 kB / 0.7129 GB, free: 9.738 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001039/0.6019, allocations: 1.378 MB / 0.7143 GB, free: 8.223 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.6019, allocations: 4.062 kB / 0.7143 GB, free: 8.219 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002856/0.6048, allocations: 1.631 MB / 0.7158 GB, free: 6.547 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006033/0.6054, allocations: 378.5 kB / 0.7162 GB, free: 6.156 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002931/0.6057, allocations: 19.95 kB / 0.7162 GB, free: 6.137 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001063/0.6068, allocations: 123.9 kB / 0.7163 GB, free: 6.016 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001095/0.6069, allocations: 60.42 kB / 0.7164 GB, free: 5.957 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.299e-05/0.607, allocations: 31.97 kB / 0.7164 GB, free: 5.926 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001477/0.6084, allocations: 1.078 MB / 0.7175 GB, free: 4.824 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.9e-07/0.6085, allocations: 0 / 0.7175 GB, free: 4.824 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002497/0.611, allocations: 0.9549 MB / 0.7184 GB, free: 3.867 MB / 0.545 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003907/0.6149, allocations: 2.576 MB / 0.7209 GB, free: 1.25 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002992/0.6179, allocations: 1.617 MB / 0.7225 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.6179, allocations: 11.88 kB / 0.7225 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001062/0.619, allocations: 0.5685 MB / 0.7231 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00348/0.6225, allocations: 0.8449 MB / 0.7239 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.019/0.6415, allocations: 10.94 MB / 0.7346 GB, free: 2.465 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009588/0.6425, allocations: 1.401 MB / 0.736 GB, free: 1.031 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001717/0.6442, allocations: 425.7 kB / 0.7364 GB, free: 0.6172 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008934/0.6451, allocations: 0.7453 MB / 0.7371 GB, free: 15.87 MB / 0.5762 GB Notification: Performance of SimCode: time 4.81e-07/0.6451, allocations: 0 / 0.7371 GB, free: 15.87 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.961/2.606, allocations: 49.12 MB / 0.7851 GB, free: 15.4 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000172/2.607, allocations: 240.6 kB / 0.7853 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.958/5.564, allocations: 0 / 0.7853 GB, free: 15.16 MB / 0.6231 GB (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_u.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatExchangers_Examples_WaterHeater_u_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_HeatExchangers_Examples_WaterHeater_u.fmu > IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe 2>&1) Environment - environmentSimulation: