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: "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_T,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatExchangers_Examples_WaterHeater_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_T,fileNamePrefix="IDEAS_dev_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.001473/0.001473, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.002155/0.002155, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.858/2.858, allocations: 223.2 MB / 239.9 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.875/1.875, allocations: 135.2 MB / 426.2 MB, free: 14.27 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005301/0.0005304, allocations: 8 kB / 0.5069 GB, free: 5.188 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2869/0.2874, allocations: 82.31 MB / 0.5873 GB, free: 3.051 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_T): time 0.6228/0.9103, allocations: 44.71 MB / 0.6309 GB, free: 28.3 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.03103/0.9414, allocations: 13.25 MB / 0.6439 GB, free: 18.98 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005307/0.9468, allocations: 71.53 kB / 0.644 GB, free: 18.95 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.005777/0.9526, allocations: 0.921 MB / 0.6449 GB, free: 18.47 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.01396/0.9666, allocations: 2.37 MB / 0.6472 GB, free: 16.97 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.01111/0.9778, allocations: 2.072 MB / 0.6492 GB, free: 16 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.009212/0.987, allocations: 2.745 MB / 0.6519 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003444/0.9905, allocations: 1.232 MB / 0.6531 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005293/0.9958, allocations: 1.368 MB / 0.6544 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003412/0.9993, allocations: 0.9132 MB / 0.6553 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0008388/1, allocations: 67.19 kB / 0.6554 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006278/1.006, allocations: 1.274 MB / 0.6566 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.001276/1.008, allocations: 390.2 kB / 0.657 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001703/1.01, allocations: 406.1 kB / 0.6574 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.007081/1.017, allocations: 2.339 MB / 0.6597 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/1.017, allocations: 0.75 kB / 0.6597 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.246e-06/1.017, allocations: 0 / 0.6597 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0001328/1.017, allocations: 1.094 kB / 0.6597 GB, free: 11.7 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.008569/1.025, allocations: 2.186 MB / 0.6618 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 6.778e-05/1.026, allocations: 10.11 kB / 0.6618 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000776/1.026, allocations: 173.1 kB / 0.662 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004259/1.031, allocations: 484 kB / 0.6624 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007083/1.038, allocations: 1.535 MB / 0.6639 GB, free: 9.215 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007538/1.039, allocations: 160.4 kB / 0.6641 GB, free: 9.164 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007678/1.039, allocations: 117.7 kB / 0.6642 GB, free: 9.129 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005912/1.045, allocations: 1.35 MB / 0.6655 GB, free: 8.477 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.034e-05/1.045, allocations: 0.9688 kB / 0.6655 GB, free: 8.477 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002205/1.046, allocations: 47.97 kB / 0.6656 GB, free: 8.441 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.853e-05/1.046, allocations: 44.91 kB / 0.6656 GB, free: 8.434 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005062/1.051, allocations: 1.119 MB / 0.6667 GB, free: 8.062 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.01689/1.068, allocations: 7.151 MB / 0.6737 GB, free: 2.594 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004444/1.072, allocations: 1.433 MB / 0.6751 GB, free: 1.676 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008896/1.081, allocations: 3.106 MB / 0.6781 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002023/1.083, allocations: 453.9 kB / 0.6785 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001316/1.085, allocations: 96.42 kB / 0.6786 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=62): time 5.28e-06/1.085, allocations: 0 / 0.6786 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of matching and sorting (n=62): time 0.006532/1.091, allocations: 1.278 MB / 0.6799 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.483e-05/1.091, allocations: 63.95 kB / 0.6799 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005087/1.096, allocations: 1.582 MB / 0.6815 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0003003/1.097, allocations: 39.83 kB / 0.6815 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.001652/1.098, allocations: 0.8707 MB / 0.6824 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005709/1.099, allocations: 221.1 kB / 0.6826 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.309e-05/1.099, allocations: 20.53 kB / 0.6826 GB, free: 12.87 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002543/1.099, allocations: 343.5 kB / 0.6829 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00186/1.101, allocations: 374.3 kB / 0.6833 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002042/1.103, allocations: 0.7546 MB / 0.684 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001834/1.105, allocations: 487.3 kB / 0.6845 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.401e-05/1.105, allocations: 3.875 kB / 0.6845 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.005387/1.111, allocations: 1.293 MB / 0.6858 GB, free: 11.1 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.00262/1.113, allocations: 4.365 MB / 0.69 GB, free: 6.398 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.864e-05/1.113, allocations: 12.03 kB / 0.69 GB, free: 6.398 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.507e-05/1.113, allocations: 17.44 kB / 0.6901 GB, free: 6.398 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002048/1.115, allocations: 276.1 kB / 0.6903 GB, free: 6.371 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.491e-05/1.116, allocations: 20.22 kB / 0.6903 GB, free: 6.367 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003148/1.119, allocations: 140.9 kB / 0.6905 GB, free: 6.336 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002281/1.119, allocations: 54.55 kB / 0.6905 GB, free: 6.328 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/1.119, allocations: 3.594 kB / 0.6905 GB, free: 6.328 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004681/1.124, allocations: 1.119 MB / 0.6916 GB, free: 5.91 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.565e-05/1.124, allocations: 15.45 kB / 0.6916 GB, free: 5.906 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.987e-05/1.124, allocations: 16.97 kB / 0.6916 GB, free: 5.906 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001989/1.126, allocations: 272.4 kB / 0.6919 GB, free: 5.879 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.062e-05/1.126, allocations: 29.12 kB / 0.6919 GB, free: 5.867 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002887/1.129, allocations: 139.1 kB / 0.6921 GB, free: 5.832 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00023/1.129, allocations: 51.03 kB / 0.6921 GB, free: 5.824 MB / 0.5137 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 (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.001659/1.131, allocations: 482.3 kB / 0.6926 GB, free: 5.477 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006271/1.131, allocations: 166.4 kB / 0.6927 GB, free: 5.391 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004781/1.136, allocations: 1.168 MB / 0.6939 GB, free: 4.965 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.359e-05/1.136, allocations: 6.906 kB / 0.6939 GB, free: 4.965 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.245e-05/1.136, allocations: 1.344 kB / 0.6939 GB, free: 4.965 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003277/1.14, allocations: 0.9949 MB / 0.6949 GB, free: 4.457 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 postOpt removeSimpleEquations (simulation): time 0.008702/1.148, allocations: 2.492 MB / 0.6973 GB, free: 3.285 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.779e-06/1.148, allocations: 1.688 kB / 0.6973 GB, free: 3.285 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001277/1.15, allocations: 153.1 kB / 0.6974 GB, free: 3.273 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003519/1.15, allocations: 38.58 kB / 0.6975 GB, free: 3.258 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001151/1.15, allocations: 21.11 kB / 0.6975 GB, free: 3.25 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002083/1.152, allocations: 1.381 MB / 0.6988 GB, free: 1.891 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/1.152, allocations: 1.219 kB / 0.6988 GB, free: 1.891 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006744/1.159, allocations: 1.638 MB / 0.7004 GB, free: 1.012 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001869/1.161, allocations: 369 kB / 0.7008 GB, free: 0.6953 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006834/1.162, allocations: 13.34 kB / 0.7008 GB, free: 0.6875 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002243/1.164, allocations: 119.8 kB / 0.7009 GB, free: 0.6367 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002248/1.164, allocations: 52.83 kB / 0.701 GB, free: 0.6094 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001486/1.164, allocations: 32.97 kB / 0.701 GB, free: 0.5977 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.003475/1.168, allocations: 1.128 MB / 0.7021 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of sort global known variables: time 4.01e-07/1.168, allocations: 0 / 0.7021 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.008158/1.176, allocations: 0.9012 MB / 0.703 GB, free: 15.76 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.01086/1.187, allocations: 2.942 MB / 0.7059 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007196/1.194, allocations: 1.62 MB / 0.7074 GB, free: 13.17 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.065e-05/1.194, allocations: 0 / 0.7074 GB, free: 13.17 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002371/1.197, allocations: 0.5639 MB / 0.708 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006282/1.203, allocations: 0.7171 MB / 0.7087 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02103/1.224, allocations: 12.25 MB / 0.7207 GB, free: 1.215 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001934/1.226, allocations: 1.399 MB / 0.722 GB, free: 15.78 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.003899/1.23, allocations: 418.1 kB / 0.7224 GB, free: 15.37 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00203/1.232, allocations: 0.714 MB / 0.7231 GB, free: 14.66 MB / 0.545 GB Notification: Performance of SimCode: time 1.914e-06/1.232, allocations: 0 / 0.7231 GB, free: 14.66 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2496/1.482, allocations: 45.64 MB / 0.7677 GB, free: 1.578 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004364/1.482, allocations: 246.5 kB / 0.7679 GB, free: 1.332 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.707/8.189, allocations: 0 / 0.7679 GB, free: 1.332 MB / 0.5762 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatExchangers_Examples_WaterHeater_T_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_HeatExchangers_Examples_WaterHeater_T.fmu > IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe 2>&1) Environment - environmentSimulation: