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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.008571/0.008571, allocations: 168.2 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8198/0.8198, allocations: 135.2 MB / 151 MB, free: 13.82 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.5/1.5, allocations: 223.2 MB / 406.8 MB, free: 3.238 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000937/0.000937, allocations: 103.4 kB / 489.9 MB, free: 10.94 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003365/0.0003366, allocations: 11.98 kB / 0.5691 GB, free: 14.09 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4082/0.4086, allocations: 82.3 MB / 0.6495 GB, free: 36.16 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.243/1.652, allocations: 415 MB / 1.055 GB, free: 176.9 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002861/1.652, allocations: 98.89 kB / 1.055 GB, free: 176.9 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.777/5.429, allocations: 1.187 GB / 2.242 GB, free: 91.62 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.876e-06/5.429, allocations: 0 / 2.242 GB, free: 91.62 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002323/5.429, allocations: 55.14 kB / 2.242 GB, free: 91.61 MB / 0.698 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.006564/5.435, allocations: 2.524 MB / 2.244 GB, free: 90.15 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.492e-05/5.436, allocations: 9.812 kB / 2.244 GB, free: 90.15 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004481/5.436, allocations: 174 kB / 2.244 GB, free: 90.04 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002464/5.438, allocations: 451.5 kB / 2.245 GB, free: 89.92 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006437/5.445, allocations: 2.292 MB / 2.247 GB, free: 88.93 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.229e-05/5.445, allocations: 87.7 kB / 2.247 GB, free: 88.89 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002199/5.445, allocations: 126.8 kB / 2.247 GB, free: 88.85 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002148/5.447, allocations: 1.282 MB / 2.249 GB, free: 88.21 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.876e-05/5.447, allocations: 8.281 kB / 2.249 GB, free: 88.21 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000102/5.448, allocations: 50.77 kB / 2.249 GB, free: 88.17 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.995e-05/5.448, allocations: 41.39 kB / 2.249 GB, free: 88.16 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001894/5.449, allocations: 0.9634 MB / 2.25 GB, free: 87.84 MB / 0.698 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.008324/5.458, allocations: 6.925 MB / 2.256 GB, free: 82.59 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001664/5.46, allocations: 1.274 MB / 2.258 GB, free: 81.72 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004925/5.464, allocations: 2.987 MB / 2.26 GB, free: 79.36 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008048/5.465, allocations: 409.3 kB / 2.261 GB, free: 79.21 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006561/5.466, allocations: 93.52 kB / 2.261 GB, free: 79.17 MB / 0.698 GB Notification: Performance of pre-optimization done (n=63): time 2.625e-06/5.466, allocations: 0 / 2.261 GB, free: 79.17 MB / 0.698 GB Notification: Performance of matching and sorting (n=63): time 0.002385/5.468, allocations: 1.135 MB / 2.262 GB, free: 78.69 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.033e-05/5.468, allocations: 117 kB / 2.262 GB, free: 78.57 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00181/5.47, allocations: 1.335 MB / 2.263 GB, free: 78.05 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.84e-05/5.47, allocations: 44.8 kB / 2.264 GB, free: 78.01 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006743/5.471, allocations: 0.8828 MB / 2.264 GB, free: 77.32 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001507/5.471, allocations: 226.2 kB / 2.265 GB, free: 77.15 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.736e-05/5.471, allocations: 17.41 kB / 2.265 GB, free: 77.14 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.485e-05/5.471, allocations: 340.8 kB / 2.265 GB, free: 76.82 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006555/5.472, allocations: 319.5 kB / 2.265 GB, free: 76.67 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008232/5.473, allocations: 0.7362 MB / 2.266 GB, free: 75.97 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008246/5.474, allocations: 441.5 kB / 2.266 GB, free: 75.76 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.366e-06/5.474, allocations: 6.375 kB / 2.266 GB, free: 75.76 MB / 0.698 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002331/5.476, allocations: 1.18 MB / 2.268 GB, free: 75.16 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001208/5.477, allocations: 4.45 MB / 2.272 GB, free: 70.39 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.067e-05/5.477, allocations: 9.062 kB / 2.272 GB, free: 70.39 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.815e-05/5.477, allocations: 19.34 kB / 2.272 GB, free: 70.39 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009608/5.478, allocations: 246.6 kB / 2.272 GB, free: 70.34 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.008e-05/5.478, allocations: 27.2 kB / 2.272 GB, free: 70.32 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001525/5.48, allocations: 121.2 kB / 2.272 GB, free: 70.28 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001044/5.48, allocations: 58.03 kB / 2.272 GB, free: 70.26 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/5.48, allocations: 3.938 kB / 2.272 GB, free: 70.26 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001972/5.482, allocations: 1.021 MB / 2.273 GB, free: 69.77 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.53e-05/5.482, allocations: 10.88 kB / 2.273 GB, free: 69.77 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/5.482, allocations: 18.91 kB / 2.273 GB, free: 69.77 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008421/5.483, allocations: 246 kB / 2.274 GB, free: 69.71 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.766e-05/5.483, allocations: 29.12 kB / 2.274 GB, free: 69.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00142/5.484, allocations: 110.8 kB / 2.274 GB, free: 69.66 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.32e-05/5.484, allocations: 50.33 kB / 2.274 GB, free: 69.64 MB / 0.698 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 ($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.001152/5.486, allocations: 483.9 kB / 2.274 GB, free: 69.28 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003423/5.486, allocations: 169.8 kB / 2.274 GB, free: 69.19 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002342/5.488, allocations: 1.068 MB / 2.275 GB, free: 68.61 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.596e-05/5.488, allocations: 7.75 kB / 2.275 GB, free: 68.61 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/5.488, allocations: 0 / 2.275 GB, free: 68.61 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00142/5.49, allocations: 0.9054 MB / 2.276 GB, free: 68.04 MB / 0.698 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.004679/5.494, allocations: 2.315 MB / 2.279 GB, free: 66.54 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.401e-06/5.494, allocations: 0 / 2.279 GB, free: 66.54 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006589/5.495, allocations: 143.2 kB / 2.279 GB, free: 66.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001823/5.495, allocations: 31.48 kB / 2.279 GB, free: 66.48 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.695e-05/5.495, allocations: 26.72 kB / 2.279 GB, free: 66.46 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008756/5.496, allocations: 1.311 MB / 2.28 GB, free: 65.11 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/5.496, allocations: 0 / 2.28 GB, free: 65.11 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003041/5.499, allocations: 1.493 MB / 2.282 GB, free: 64.26 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009714/5.5, allocations: 349 kB / 2.282 GB, free: 63.97 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002318/5.501, allocations: 15.62 kB / 2.282 GB, free: 63.96 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001001/5.502, allocations: 101.4 kB / 2.282 GB, free: 63.92 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001319/5.502, allocations: 53.08 kB / 2.282 GB, free: 63.89 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.78e-05/5.502, allocations: 33.16 kB / 2.282 GB, free: 63.88 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001702/5.504, allocations: 1.086 MB / 2.283 GB, free: 63.26 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.9e-07/5.504, allocations: 3.781 kB / 2.283 GB, free: 63.26 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003521/5.507, allocations: 0.9807 MB / 2.284 GB, free: 63 MB / 0.698 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 (72): * Single equations (assignments): 63 * 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%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005305/5.512, allocations: 3.369 MB / 2.287 GB, free: 60.12 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002807/5.515, allocations: 1.464 MB / 2.289 GB, free: 58.64 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.379e-06/5.515, allocations: 0 / 2.289 GB, free: 58.64 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0009209/5.516, allocations: 0.5074 MB / 2.289 GB, free: 58.12 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003233/5.519, allocations: 0.7236 MB / 2.29 GB, free: 57.43 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00823/5.528, allocations: 12.39 MB / 2.302 GB, free: 44.64 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007395/5.528, allocations: 1.395 MB / 2.303 GB, free: 43.22 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001938/5.53, allocations: 441.9 kB / 2.304 GB, free: 42.82 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007771/5.531, allocations: 0.7101 MB / 2.305 GB, free: 42.11 MB / 0.698 GB Notification: Performance of SimCode: time 4.31e-07/5.531, allocations: 0 / 2.305 GB, free: 42.11 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07732/5.609, allocations: 51.82 MB / 2.355 GB, free: 7.371 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001841/5.609, allocations: 232.6 kB / 2.355 GB, free: 7.125 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.933/9.542, allocations: 7.938 kB / 2.355 GB, free: 7.117 MB / 0.7136 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)