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/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_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/Complex 4.0.0+maint.om/package.mo): time 0.001185/0.001185, allocations: 180.9 kB / 7.65 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8893/0.8893, allocations: 133.6 MB / 141.6 MB, free: 2.895 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.558/1.558, allocations: 221.5 MB / 395.4 MB, free: 10.76 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.001002/0.001001, allocations: 101.6 kB / 478.2 MB, free: 1.289 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.194e-05/2.197e-05, allocations: 4 kB / 0.5535 GB, free: 8.938 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5507/0.5507, allocations: 82.31 MB / 0.6339 GB, free: 40.79 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.006/1.557, allocations: 414.3 MB / 1.039 GB, free: 3.746 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003081/1.557, allocations: 94.64 kB / 1.039 GB, free: 3.703 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 5.574/7.131, allocations: 1.177 GB / 2.216 GB, free: 87.6 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.643e-06/7.131, allocations: 0 / 2.216 GB, free: 87.6 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0003775/7.131, allocations: 52.23 kB / 2.216 GB, free: 87.59 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.00553/7.137, allocations: 2.032 MB / 2.218 GB, free: 86.68 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.698e-05/7.137, allocations: 6.25 kB / 2.218 GB, free: 86.68 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00257/7.139, allocations: 457.6 kB / 2.219 GB, free: 86.57 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006309/7.146, allocations: 2.277 MB / 2.221 GB, free: 86.14 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.247e-05/7.146, allocations: 37.06 kB / 2.221 GB, free: 86.14 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003365/7.146, allocations: 68.62 kB / 2.221 GB, free: 86.14 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00181/7.148, allocations: 0.7761 MB / 2.222 GB, free: 86.13 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002035/7.15, allocations: 1.064 MB / 2.223 GB, free: 85.87 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.692e-05/7.15, allocations: 3.906 kB / 2.223 GB, free: 85.87 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001176/7.15, allocations: 3.938 kB / 2.223 GB, free: 85.87 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.356e-05/7.15, allocations: 47.12 kB / 2.223 GB, free: 85.86 MB / 0.698 GB Warning: The model contains alias variables with conflicting start and/or 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.008273/7.158, allocations: 6.716 MB / 2.229 GB, free: 81.8 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001008/7.159, allocations: 1.145 MB / 2.23 GB, free: 81.21 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004175/7.16, allocations: 323.9 kB / 2.231 GB, free: 81.2 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004576/7.164, allocations: 2.983 MB / 2.234 GB, free: 79.27 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000484/7.165, allocations: 335.2 kB / 2.234 GB, free: 79.21 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006107/7.166, allocations: 79.45 kB / 2.234 GB, free: 79.18 MB / 0.698 GB Notification: Performance of pre-optimization done (n=62): time 3.236e-06/7.166, allocations: 0 / 2.234 GB, free: 79.18 MB / 0.698 GB Notification: Performance of matching and sorting (n=62): time 0.005794/7.171, allocations: 1.296 MB / 2.235 GB, free: 79.04 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.767e-05/7.172, allocations: 111.1 kB / 2.235 GB, free: 78.91 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002484/7.174, allocations: 1.225 MB / 2.237 GB, free: 78.74 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001325/7.174, allocations: 28.39 kB / 2.237 GB, free: 78.71 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000986/7.175, allocations: 0.862 MB / 2.237 GB, free: 78.4 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002294/7.175, allocations: 222.2 kB / 2.238 GB, free: 78.26 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.761e-05/7.175, allocations: 1.531 kB / 2.238 GB, free: 78.26 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001232/7.176, allocations: 343.5 kB / 2.238 GB, free: 77.95 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004123/7.176, allocations: 252.2 kB / 2.238 GB, free: 77.95 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005746/7.177, allocations: 0.6516 MB / 2.239 GB, free: 77.45 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004368/7.181, allocations: 0.9735 MB / 2.24 GB, free: 77.44 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.829e-06/7.181, allocations: 3.219 kB / 2.24 GB, free: 77.44 MB / 0.698 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.00546/7.186, allocations: 1.609 MB / 2.241 GB, free: 77.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.00102/7.188, allocations: 4.444 MB / 2.246 GB, free: 72.63 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.822e-05/7.188, allocations: 11.16 kB / 2.246 GB, free: 72.63 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.3e-05/7.188, allocations: 14.78 kB / 2.246 GB, free: 72.63 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008786/7.188, allocations: 247.9 kB / 2.246 GB, free: 72.63 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.145e-05/7.189, allocations: 18.84 kB / 2.246 GB, free: 72.63 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001509/7.19, allocations: 107.1 kB / 2.246 GB, free: 72.62 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001009/7.19, allocations: 56.72 kB / 2.246 GB, free: 72.62 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.877e-06/7.19, allocations: 11.25 kB / 2.246 GB, free: 72.62 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004813/7.195, allocations: 1.389 MB / 2.248 GB, free: 72.61 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.324e-05/7.195, allocations: 11.62 kB / 2.248 GB, free: 72.61 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.849e-05/7.195, allocations: 20.16 kB / 2.248 GB, free: 72.61 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008319/7.196, allocations: 237.4 kB / 2.248 GB, free: 72.61 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.984e-05/7.196, allocations: 28.75 kB / 2.248 GB, free: 72.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001351/7.197, allocations: 93.17 kB / 2.248 GB, free: 72.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.323e-05/7.197, allocations: 50.89 kB / 2.248 GB, free: 72.6 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 () * 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.0002742/7.198, allocations: 143.8 kB / 2.248 GB, free: 72.48 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005053/7.203, allocations: 1.267 MB / 2.249 GB, free: 72.34 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002469/7.203, allocations: 167.6 kB / 2.25 GB, free: 72.25 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005346/7.208, allocations: 1.5 MB / 2.251 GB, free: 72.16 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.707e-05/7.208, allocations: 13.89 kB / 2.251 GB, free: 72.16 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.255e-06/7.208, allocations: 2.469 kB / 2.251 GB, free: 72.16 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004541/7.213, allocations: 1.35 MB / 2.252 GB, free: 71.89 MB / 0.698 GB Warning: The model contains alias variables with conflicting start and/or 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.008095/7.221, allocations: 2.604 MB / 2.255 GB, free: 71.56 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.937e-06/7.221, allocations: 0 / 2.255 GB, free: 71.56 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000688/7.222, allocations: 142.5 kB / 2.255 GB, free: 71.56 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002459/7.222, allocations: 28.53 kB / 2.255 GB, free: 71.55 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.714e-05/7.222, allocations: 17.08 kB / 2.255 GB, free: 71.55 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009656/7.223, allocations: 1.271 MB / 2.256 GB, free: 70.36 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/7.223, allocations: 0 / 2.256 GB, free: 70.36 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005763/7.229, allocations: 1.881 MB / 2.258 GB, free: 70.04 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007983/7.23, allocations: 329.6 kB / 2.258 GB, free: 69.86 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002007/7.23, allocations: 13.83 kB / 2.258 GB, free: 69.86 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008821/7.231, allocations: 71.41 kB / 2.259 GB, free: 69.85 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001313/7.231, allocations: 55.25 kB / 2.259 GB, free: 69.85 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.872e-05/7.231, allocations: 32.34 kB / 2.259 GB, free: 69.85 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.00147/7.233, allocations: 0.9131 MB / 2.259 GB, free: 69.74 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.9e-07/7.233, allocations: 0 / 2.259 GB, free: 69.74 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.004352/7.237, allocations: 0.9565 MB / 2.26 GB, free: 69.57 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (71): * Single equations (assignments): 62 * 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.008489/7.245, allocations: 3.659 MB / 2.264 GB, free: 68.43 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002212/7.248, allocations: 1.279 MB / 2.265 GB, free: 68.28 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.482e-06/7.248, allocations: 0 / 2.265 GB, free: 68.28 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006855/7.248, allocations: 446.1 kB / 2.266 GB, free: 68.18 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003359/7.252, allocations: 0.6125 MB / 2.266 GB, free: 68.14 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006266/7.258, allocations: 2.678 MB / 2.269 GB, free: 67.27 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008846/7.259, allocations: 1.392 MB / 2.27 GB, free: 66.53 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002681/7.262, allocations: 0.5944 MB / 2.271 GB, free: 66.44 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008339/7.263, allocations: 0.673 MB / 2.271 GB, free: 66.43 MB / 0.698 GB Notification: Performance of SimCode: time 1.062e-06/7.263, allocations: 0 / 2.271 GB, free: 66.43 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1282/7.391, allocations: 46.42 MB / 2.317 GB, free: 56.93 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002416/7.391, allocations: 183 kB / 2.317 GB, free: 56.72 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.247/11.64, allocations: 0 / 2.317 GB, free: 56.72 MB / 0.698 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)