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/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/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: translateModel(IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_T") translateModel(IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001595/0.001595, allocations: 168.8 kB / 7.645 MB, free: 1.434 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8209/0.8209, allocations: 130.7 MB / 138.7 MB, free: 3.578 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.747/1.747, allocations: 221.5 MB / 391.8 MB, free: 14.18 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.001081/0.001081, allocations: 100.6 kB / 473.9 MB, free: 4.457 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.084e-05/2.071e-05, allocations: 4 kB / 0.5485 GB, free: 13.05 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5199/0.52, allocations: 81.57 MB / 0.6282 GB, free: 42.96 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9728/1.493, allocations: 414.1 MB / 1.033 GB, free: 11.2 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002868/1.493, allocations: 92.14 kB / 1.033 GB, free: 11.16 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 4.698/6.191, allocations: 1.178 GB / 2.21 GB, free: 88.9 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.613e-06/6.191, allocations: 0 / 2.21 GB, free: 88.9 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0002129/6.192, allocations: 59.2 kB / 2.21 GB, free: 88.89 MB / 0.6823 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.004289/6.196, allocations: 2.021 MB / 2.212 GB, free: 87.83 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.935e-05/6.196, allocations: 8.844 kB / 2.212 GB, free: 87.83 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002115/6.198, allocations: 455.8 kB / 2.213 GB, free: 87.71 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005674/6.204, allocations: 2.275 MB / 2.215 GB, free: 87.26 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.559e-05/6.204, allocations: 36.16 kB / 2.215 GB, free: 87.26 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001685/6.204, allocations: 73.91 kB / 2.215 GB, free: 87.26 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001503/6.205, allocations: 0.7722 MB / 2.216 GB, free: 87.25 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001593/6.207, allocations: 1.057 MB / 2.217 GB, free: 86.99 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.234e-05/6.207, allocations: 4.688 kB / 2.217 GB, free: 86.99 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.94e-05/6.207, allocations: 7.641 kB / 2.217 GB, free: 86.99 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.673e-05/6.207, allocations: 43.64 kB / 2.217 GB, free: 86.98 MB / 0.6823 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.008244/6.216, allocations: 6.736 MB / 2.223 GB, free: 82.91 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009744/6.217, allocations: 1.135 MB / 2.225 GB, free: 82.32 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004045/6.217, allocations: 321.9 kB / 2.225 GB, free: 82.31 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004703/6.222, allocations: 2.986 MB / 2.228 GB, free: 80.03 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004903/6.222, allocations: 337.2 kB / 2.228 GB, free: 79.88 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006843/6.223, allocations: 70.22 kB / 2.228 GB, free: 79.85 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=62): time 3.487e-06/6.223, allocations: 0 / 2.228 GB, free: 79.85 MB / 0.6823 GB Notification: Performance of matching and sorting (n=62): time 0.005147/6.228, allocations: 1.304 MB / 2.229 GB, free: 79.52 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.575e-05/6.228, allocations: 111.1 kB / 2.23 GB, free: 79.39 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001859/6.23, allocations: 1.224 MB / 2.231 GB, free: 78.89 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 9e-05/6.23, allocations: 25.7 kB / 2.231 GB, free: 78.86 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007144/6.231, allocations: 0.867 MB / 2.232 GB, free: 78.18 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001782/6.231, allocations: 219 kB / 2.232 GB, free: 78.02 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.197e-05/6.231, allocations: 0 / 2.232 GB, free: 78.02 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.525e-05/6.231, allocations: 348.2 kB / 2.232 GB, free: 77.7 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003538/6.231, allocations: 244.6 kB / 2.232 GB, free: 77.6 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005333/6.232, allocations: 0.6544 MB / 2.233 GB, free: 76.98 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004269/6.236, allocations: 0.9752 MB / 2.234 GB, free: 76.81 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.408e-06/6.236, allocations: 3.875 kB / 2.234 GB, free: 76.81 MB / 0.6823 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.005756/6.242, allocations: 1.601 MB / 2.236 GB, free: 76.44 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.001036/6.243, allocations: 4.451 MB / 2.24 GB, free: 71.68 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.813e-05/6.243, allocations: 11.47 kB / 2.24 GB, free: 71.68 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.718e-05/6.243, allocations: 18.41 kB / 2.24 GB, free: 71.68 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008702/6.244, allocations: 243.9 kB / 2.24 GB, free: 71.65 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.867e-05/6.244, allocations: 21.73 kB / 2.24 GB, free: 71.65 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001742/6.246, allocations: 105.5 kB / 2.24 GB, free: 71.64 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001084/6.246, allocations: 49.67 kB / 2.24 GB, free: 71.63 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/6.246, allocations: 3.875 kB / 2.24 GB, free: 71.63 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004979/6.251, allocations: 1.391 MB / 2.242 GB, free: 71.32 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.602e-05/6.251, allocations: 9.438 kB / 2.242 GB, free: 71.32 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.191e-05/6.251, allocations: 26.75 kB / 2.242 GB, free: 71.32 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008312/6.252, allocations: 240.2 kB / 2.242 GB, free: 71.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.498e-05/6.252, allocations: 26.91 kB / 2.242 GB, free: 71.29 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001492/6.253, allocations: 94.17 kB / 2.242 GB, free: 71.29 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.691e-05/6.254, allocations: 52.64 kB / 2.242 GB, free: 71.28 MB / 0.6823 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.0002788/6.254, allocations: 142 kB / 2.242 GB, free: 71.14 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002128/6.254, allocations: 164.8 kB / 2.242 GB, free: 71.05 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005127/6.259, allocations: 1.506 MB / 2.244 GB, free: 70.67 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.426e-05/6.259, allocations: 15.84 kB / 2.244 GB, free: 70.66 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/6.259, allocations: 0 / 2.244 GB, free: 70.66 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004211/6.263, allocations: 1.345 MB / 2.245 GB, free: 70.17 MB / 0.6823 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.008/6.271, allocations: 2.609 MB / 2.248 GB, free: 69.19 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.177e-06/6.272, allocations: 0 / 2.248 GB, free: 69.19 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006776/6.272, allocations: 131.2 kB / 2.248 GB, free: 69.18 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002533/6.272, allocations: 26.73 kB / 2.248 GB, free: 69.17 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.036e-05/6.273, allocations: 19.28 kB / 2.248 GB, free: 69.16 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001069/6.274, allocations: 1.277 MB / 2.249 GB, free: 67.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.568e-06/6.274, allocations: 3.719 kB / 2.249 GB, free: 67.9 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005544/6.279, allocations: 1.872 MB / 2.251 GB, free: 67.17 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007474/6.28, allocations: 333.3 kB / 2.251 GB, free: 66.94 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001793/6.28, allocations: 0 / 2.251 GB, free: 66.94 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008456/6.281, allocations: 81.06 kB / 2.251 GB, free: 66.92 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001231/6.281, allocations: 51.5 kB / 2.251 GB, free: 66.91 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.862e-05/6.281, allocations: 32.59 kB / 2.252 GB, free: 66.91 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.00143/6.283, allocations: 0.9108 MB / 2.252 GB, free: 66.52 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.51e-07/6.283, allocations: 0 / 2.252 GB, free: 66.52 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003881/6.287, allocations: 0.9637 MB / 2.253 GB, free: 66.29 MB / 0.6823 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.002478/6.289, allocations: 1.208 MB / 2.255 GB, free: 65.91 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001935/6.291, allocations: 1.273 MB / 2.256 GB, free: 65.35 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.297e-06/6.291, allocations: 3.938 kB / 2.256 GB, free: 65.34 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006257/6.292, allocations: 441.2 kB / 2.256 GB, free: 65.12 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002957/6.295, allocations: 0.6073 MB / 2.257 GB, free: 64.84 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004184/6.299, allocations: 2.27 MB / 2.259 GB, free: 63.6 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000765/6.3, allocations: 1.4 MB / 2.26 GB, free: 62.56 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002432/6.302, allocations: 0.5849 MB / 2.261 GB, free: 62.3 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002473/6.302, allocations: 110.4 kB / 2.261 GB, free: 62.28 MB / 0.6823 GB Notification: Performance of SimCode: time 2.495e-06/6.302, allocations: 0 / 2.261 GB, free: 62.28 MB / 0.6823 GB Notification: Performance of Templates: time 0.05431/6.357, allocations: 31.47 MB / 2.292 GB, free: 32.92 MB / 0.6823 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_T.makefile (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 & ./IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe 2>&1)