Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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_T,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatExchangers_Examples_WaterHeater_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_T,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatExchangers_Examples_WaterHeater_T",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.000789/0.000789, allocations: 92.31 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.0008244/0.0008245, 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.313/1.313, allocations: 223.2 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7448/0.7448, allocations: 132.3 MB / 423.4 MB, free: 2.082 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003101/0.0003102, allocations: 8 kB / 0.5035 GB, free: 4.102 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4242/0.4246, allocations: 81.58 MB / 0.5831 GB, free: 3.957 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_T): time 0.04466/0.4693, allocations: 49.04 MB / 0.631 GB, free: 14.77 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01895/0.4883, allocations: 14.22 MB / 0.6449 GB, free: 1.102 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002834/0.4912, allocations: 71.56 kB / 0.645 GB, free: 1.031 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002282/0.4934, allocations: 0.7626 MB / 0.6457 GB, free: 272 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004943/0.4984, allocations: 1.885 MB / 0.6476 GB, free: 14.38 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004444/0.5029, allocations: 1.736 MB / 0.6493 GB, free: 12.66 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.005723/0.5086, allocations: 5.129 MB / 0.6543 GB, free: 7.523 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001704/0.5103, allocations: 1.226 MB / 0.6555 GB, free: 6.273 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002649/0.513, allocations: 1.536 MB / 0.657 GB, free: 4.73 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001499/0.5145, allocations: 1.26 MB / 0.6582 GB, free: 3.465 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001569/0.5147, allocations: 79.94 kB / 0.6583 GB, free: 3.387 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00271/0.5174, allocations: 1.396 MB / 0.6596 GB, free: 1.988 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000393/0.5178, allocations: 414.2 kB / 0.66 GB, free: 1.582 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004191/0.5182, allocations: 400.6 kB / 0.6604 GB, free: 1.184 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002383/0.5206, allocations: 2.408 MB / 0.6628 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.5206, allocations: 8 kB / 0.6628 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.723e-06/0.5206, allocations: 0 / 0.6628 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.81e-05/0.5206, allocations: 0 / 0.6628 GB, free: 14.76 MB / 0.4981 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.003226/0.5239, allocations: 2.195 MB / 0.6649 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.5239, allocations: 8.031 kB / 0.6649 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001786/0.5241, allocations: 173 kB / 0.6651 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001711/0.5258, allocations: 485 kB / 0.6656 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002627/0.5285, allocations: 1.578 MB / 0.6671 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003166/0.5288, allocations: 162.4 kB / 0.6673 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001519/0.5289, allocations: 116 kB / 0.6674 GB, free: 9.934 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002241/0.5312, allocations: 1.373 MB / 0.6687 GB, free: 8.469 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.987e-05/0.5312, allocations: 11.92 kB / 0.6687 GB, free: 8.457 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.805e-05/0.5313, allocations: 40 kB / 0.6688 GB, free: 8.418 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.349e-05/0.5314, allocations: 50.03 kB / 0.6688 GB, free: 8.367 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002316/0.5337, allocations: 1.128 MB / 0.6699 GB, free: 7.23 MB / 0.4981 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.00758/0.5413, allocations: 6.994 MB / 0.6767 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002229/0.5436, allocations: 1.457 MB / 0.6782 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008696/0.5444, allocations: 438.3 kB / 0.6786 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004454/0.5489, allocations: 3.098 MB / 0.6816 GB, free: 10.26 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009931/0.5499, allocations: 470.8 kB / 0.6821 GB, free: 9.789 MB / 0.5137 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005689/0.5505, allocations: 87.33 kB / 0.6821 GB, free: 9.703 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=61): time 3.768e-06/0.5505, allocations: 0 / 0.6821 GB, free: 9.703 MB / 0.5137 GB Notification: Performance of matching and sorting (n=61): time 0.003149/0.5537, allocations: 1.291 MB / 0.6834 GB, free: 8.387 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.87e-05/0.5538, allocations: 55.97 kB / 0.6835 GB, free: 8.32 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002632/0.5564, allocations: 1.553 MB / 0.685 GB, free: 6.766 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 7.902e-05/0.5565, allocations: 41.7 kB / 0.685 GB, free: 6.719 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007788/0.5573, allocations: 0.8725 MB / 0.6859 GB, free: 5.836 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002229/0.5575, allocations: 224.8 kB / 0.6861 GB, free: 5.613 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.414e-05/0.5576, allocations: 27.88 kB / 0.6861 GB, free: 5.586 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001395/0.5577, allocations: 337.9 kB / 0.6864 GB, free: 5.25 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008686/0.5586, allocations: 385.8 kB / 0.6868 GB, free: 4.875 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001092/0.5597, allocations: 0.7553 MB / 0.6875 GB, free: 3.949 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001065/0.5608, allocations: 0.4888 MB / 0.688 GB, free: 3.457 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.317e-05/0.5608, allocations: 7.953 kB / 0.688 GB, free: 3.449 MB / 0.5137 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002748/0.5636, allocations: 1.297 MB / 0.6893 GB, free: 2.141 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.000302/0.5639, allocations: 441.4 kB / 0.6897 GB, free: 1.555 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.261e-05/0.5639, allocations: 16 kB / 0.6897 GB, free: 1.539 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.328e-05/0.5639, allocations: 16 kB / 0.6897 GB, free: 1.523 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009886/0.5649, allocations: 271.6 kB / 0.69 GB, free: 1.258 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.113e-05/0.565, allocations: 23.92 kB / 0.69 GB, free: 1.234 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001595/0.5666, allocations: 132.5 kB / 0.6901 GB, free: 1.105 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001221/0.5667, allocations: 55.98 kB / 0.6902 GB, free: 1.051 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 9.438e-06/0.5668, allocations: 4 kB / 0.6902 GB, free: 1.047 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002438/0.5692, allocations: 1.133 MB / 0.6913 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.344e-05/0.5693, allocations: 15.95 kB / 0.6913 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.246e-05/0.5693, allocations: 16 kB / 0.6913 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009758/0.5703, allocations: 268.2 kB / 0.6916 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.697e-05/0.5703, allocations: 23.92 kB / 0.6916 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001453/0.5718, allocations: 132.5 kB / 0.6917 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001195/0.5719, allocations: 51.98 kB / 0.6918 GB, free: 15.41 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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 (120): * Single equations (assignments): 118 * 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.001001/0.5729, allocations: 473.3 kB / 0.6922 GB, free: 14.94 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004843/0.5734, allocations: 165.8 kB / 0.6924 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002976/0.5764, allocations: 1.173 MB / 0.6935 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.838e-05/0.5764, allocations: 12 kB / 0.6936 GB, free: 13.58 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.107e-06/0.5764, allocations: 0 / 0.6936 GB, free: 13.58 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001944/0.5784, allocations: 1.009 MB / 0.6945 GB, free: 12.52 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 postOpt removeSimpleEquations (simulation): time 0.004979/0.5834, allocations: 2.448 MB / 0.6969 GB, free: 10 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.937e-06/0.5834, allocations: 8 kB / 0.6969 GB, free: 9.992 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007537/0.5842, allocations: 151.9 kB / 0.6971 GB, free: 9.844 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001784/0.5844, allocations: 36.77 kB / 0.6971 GB, free: 9.805 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.484e-05/0.5844, allocations: 23.98 kB / 0.6971 GB, free: 9.781 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001085/0.5855, allocations: 1.359 MB / 0.6985 GB, free: 8.289 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.469e-06/0.5855, allocations: 4.031 kB / 0.6985 GB, free: 8.285 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003091/0.5886, allocations: 1.627 MB / 0.7001 GB, free: 6.633 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006733/0.5893, allocations: 354.6 kB / 0.7004 GB, free: 6.266 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003339/0.5897, allocations: 20 kB / 0.7004 GB, free: 6.246 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001041/0.5907, allocations: 115.9 kB / 0.7005 GB, free: 6.133 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001282/0.5909, allocations: 56.42 kB / 0.7006 GB, free: 6.074 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.577e-05/0.5909, allocations: 31.97 kB / 0.7006 GB, free: 6.043 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001532/0.5925, allocations: 1.097 MB / 0.7017 GB, free: 4.922 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.3e-07/0.5925, allocations: 4 kB / 0.7017 GB, free: 4.918 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003039/0.5955, allocations: 0.8965 MB / 0.7026 GB, free: 4.02 MB / 0.5294 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 (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.004943/0.6005, allocations: 2.763 MB / 0.7053 GB, free: 1.395 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003282/0.6038, allocations: 1.627 MB / 0.7069 GB, free: 15.75 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.6038, allocations: 0 / 0.7069 GB, free: 15.75 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001111/0.6049, allocations: 0.5738 MB / 0.7074 GB, free: 15.15 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003148/0.6081, allocations: 0.724 MB / 0.7081 GB, free: 14.44 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01914/0.6272, allocations: 10.85 MB / 0.7187 GB, free: 2.82 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009249/0.6282, allocations: 1.357 MB / 0.72 GB, free: 1.434 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001664/0.6299, allocations: 416.1 kB / 0.7204 GB, free: 1.027 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009018/0.6308, allocations: 0.7141 MB / 0.7211 GB, free: 320 kB / 0.545 GB Notification: Performance of SimCode: time 5.11e-07/0.6308, allocations: 0 / 0.7211 GB, free: 320 kB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.992/2.623, allocations: 46.06 MB / 0.7661 GB, free: 2.871 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001837/2.623, allocations: 238.6 kB / 0.7663 GB, free: 2.633 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.972/5.595, allocations: 0 / 0.7663 GB, free: 2.633 MB / 0.5919 GB (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_T.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatExchangers_Examples_WaterHeater_T_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_HeatExchangers_Examples_WaterHeater_T.fmu > IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe 2>&1) Environment - environmentSimulation: