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: translateModel(IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_T") translateModel(IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001334/0.001334, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001351/0.001351, allocations: 193.9 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.45/1.45, allocations: 222.9 MB / 239.9 MB, free: 4.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.988/0.988, allocations: 135.2 MB / 425.2 MB, free: 11.84 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001955/0.001955, allocations: 60.19 kB / 0.5049 GB, free: 5.633 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1605/0.1625, allocations: 80.94 MB / 0.5839 GB, free: 4.859 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_T): time 0.3165/0.4791, allocations: 52.8 MB / 0.6355 GB, free: 23.06 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0199/0.499, allocations: 15.07 MB / 0.6502 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004007/0.5031, allocations: 85.59 kB / 0.6503 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003365/0.5065, allocations: 0.9815 MB / 0.6513 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.006215/0.5127, allocations: 2.177 MB / 0.6534 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005287/0.518, allocations: 2.066 MB / 0.6554 GB, free: 9.441 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.006434/0.5244, allocations: 4.654 MB / 0.6599 GB, free: 7.25 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002614/0.5271, allocations: 1.619 MB / 0.6615 GB, free: 6.48 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004615/0.5317, allocations: 1.936 MB / 0.6634 GB, free: 5.566 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002743/0.5345, allocations: 1.412 MB / 0.6648 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0006968/0.5352, allocations: 167.4 kB / 0.665 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004465/0.5397, allocations: 1.845 MB / 0.6668 GB, free: 4.32 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0009656/0.5407, allocations: 0.5252 MB / 0.6673 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.002401/0.5431, allocations: 1.035 MB / 0.6683 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.006297/0.5494, allocations: 3.303 MB / 0.6715 GB, free: 2.109 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.5494, allocations: 0 / 0.6715 GB, free: 2.109 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.803e-06/0.5494, allocations: 0 / 0.6715 GB, free: 2.109 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.69e-05/0.5495, allocations: 4 kB / 0.6715 GB, free: 2.105 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.004692/0.5542, allocations: 2.526 MB / 0.674 GB, free: 480 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.5542, allocations: 10.03 kB / 0.674 GB, free: 480 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002225/0.5564, allocations: 456 kB / 0.6744 GB, free: 344 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003743/0.5602, allocations: 1.659 MB / 0.676 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003869/0.5606, allocations: 145 kB / 0.6762 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002101/0.5608, allocations: 118.4 kB / 0.6763 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002883/0.5637, allocations: 1.348 MB / 0.6776 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.375e-05/0.5638, allocations: 1.375 kB / 0.6776 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001413/0.5639, allocations: 47.62 kB / 0.6777 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.595e-05/0.564, allocations: 45.19 kB / 0.6777 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002762/0.5667, allocations: 1.094 MB / 0.6788 GB, free: 14.26 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 preOpt removeSimpleEquations (simulation): time 0.01114/0.5779, allocations: 6.962 MB / 0.6856 GB, free: 8.984 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002615/0.5805, allocations: 1.378 MB / 0.6869 GB, free: 8.074 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001002/0.5816, allocations: 424.9 kB / 0.6873 GB, free: 7.934 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006006/0.5876, allocations: 3.092 MB / 0.6903 GB, free: 5.473 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001159/0.5888, allocations: 452.3 kB / 0.6908 GB, free: 5.309 MB / 0.5137 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006639/0.5894, allocations: 69.5 kB / 0.6908 GB, free: 5.266 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=61): time 3.868e-06/0.5895, allocations: 0 / 0.6908 GB, free: 5.266 MB / 0.5137 GB Notification: Performance of matching and sorting (n=61): time 0.003387/0.5929, allocations: 1.235 MB / 0.692 GB, free: 4.75 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.678e-05/0.5929, allocations: 62.16 kB / 0.6921 GB, free: 4.684 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00265/0.5956, allocations: 1.515 MB / 0.6936 GB, free: 4.117 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001069/0.5957, allocations: 43.08 kB / 0.6936 GB, free: 4.074 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008564/0.5966, allocations: 0.8893 MB / 0.6945 GB, free: 3.371 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002301/0.5968, allocations: 213.5 kB / 0.6947 GB, free: 3.207 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003337/0.5971, allocations: 204.5 kB / 0.6949 GB, free: 3.105 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001506/0.5973, allocations: 344.2 kB / 0.6952 GB, free: 2.785 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009262/0.5982, allocations: 382.7 kB / 0.6956 GB, free: 2.664 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001246/0.5995, allocations: 0.7671 MB / 0.6963 GB, free: 2.047 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002168/0.6017, allocations: 1.131 MB / 0.6974 GB, free: 1.277 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.354e-06/0.6017, allocations: 3.25 kB / 0.6974 GB, free: 1.277 MB / 0.5137 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002947/0.6046, allocations: 1.31 MB / 0.6987 GB, free: 0.7461 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 4.818e-05/0.6047, allocations: 39.3 kB / 0.6988 GB, free: 0.7148 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.983e-05/0.6047, allocations: 11.5 kB / 0.6988 GB, free: 0.7148 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.931e-05/0.6048, allocations: 16.75 kB / 0.6988 GB, free: 0.7148 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009934/0.6058, allocations: 260.8 kB / 0.699 GB, free: 0.6875 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.398e-05/0.6058, allocations: 27.45 kB / 0.6991 GB, free: 0.6797 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00149/0.6073, allocations: 121.8 kB / 0.6992 GB, free: 0.6484 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001126/0.6074, allocations: 58.08 kB / 0.6992 GB, free: 0.6406 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001623/0.6091, allocations: 0.6773 MB / 0.6999 GB, free: 336 kB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001269/0.6103, allocations: 0.7408 MB / 0.7006 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002157/0.6125, allocations: 1.103 MB / 0.7017 GB, free: 14.92 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.4e-05/0.6125, allocations: 3.312 kB / 0.7017 GB, free: 14.92 MB / 0.5294 GB Notification: Performance of matching and sorting (n=123) (initialization_lambda0): time 0.002884/0.6154, allocations: 1.268 MB / 0.7029 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 4.091e-05/0.6155, allocations: 41.23 kB / 0.703 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.753e-05/0.6155, allocations: 15.94 kB / 0.703 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.828e-05/0.6155, allocations: 16.09 kB / 0.703 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009736/0.6165, allocations: 257.3 kB / 0.7032 GB, free: 14.17 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.412e-05/0.6165, allocations: 24.84 kB / 0.7033 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001401/0.6179, allocations: 112.4 kB / 0.7034 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001015/0.6181, allocations: 51.52 kB / 0.7034 GB, free: 14.1 MB / 0.5294 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 (TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,$whenCondition1,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003603/0.6184, allocations: 259.3 kB / 0.7037 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004139/0.6188, allocations: 165.1 kB / 0.7038 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002924/0.6218, allocations: 1.139 MB / 0.7049 GB, free: 13.15 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.82e-05/0.6218, allocations: 6.875 kB / 0.7049 GB, free: 13.15 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.278e-06/0.6218, allocations: 1.375 kB / 0.7049 GB, free: 13.15 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001963/0.6238, allocations: 0.9784 MB / 0.7059 GB, free: 12.53 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005616/0.6294, allocations: 2.406 MB / 0.7083 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/0.6294, allocations: 0 / 0.7083 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007709/0.6302, allocations: 161.1 kB / 0.7084 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000172/0.6304, allocations: 31.91 kB / 0.7084 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.075e-05/0.6305, allocations: 24.14 kB / 0.7085 GB, free: 10.87 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001407/0.6319, allocations: 1.411 MB / 0.7098 GB, free: 9.41 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/0.6319, allocations: 2.531 kB / 0.7098 GB, free: 9.41 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00359/0.6355, allocations: 1.565 MB / 0.7114 GB, free: 8.539 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001046/0.6366, allocations: 339.8 kB / 0.7117 GB, free: 8.25 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005683/0.6372, allocations: 14.84 kB / 0.7117 GB, free: 8.242 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001381/0.6386, allocations: 116.3 kB / 0.7118 GB, free: 8.184 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001398/0.6387, allocations: 48.98 kB / 0.7119 GB, free: 8.156 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.455e-05/0.6388, allocations: 32.73 kB / 0.7119 GB, free: 8.145 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002055/0.6409, allocations: 1.075 MB / 0.7129 GB, free: 7.137 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.61e-07/0.6409, allocations: 0 / 0.7129 GB, free: 7.137 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003592/0.6445, allocations: 0.8693 MB / 0.7138 GB, free: 6.266 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 (72): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002508/0.647, allocations: 0.7153 MB / 0.7145 GB, free: 5.695 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.004298/0.6513, allocations: 1.672 MB / 0.7161 GB, free: 4.004 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.181e-06/0.6513, allocations: 0 / 0.7161 GB, free: 4.004 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001313/0.6527, allocations: 0.5481 MB / 0.7167 GB, free: 3.449 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004228/0.6569, allocations: 0.7754 MB / 0.7174 GB, free: 2.691 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007207/0.6641, allocations: 3.723 MB / 0.7211 GB, free: 14.92 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001369/0.6655, allocations: 1.356 MB / 0.7224 GB, free: 13.54 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0022/0.6677, allocations: 414 kB / 0.7228 GB, free: 13.13 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005036/0.6683, allocations: 135.4 kB / 0.7229 GB, free: 13 MB / 0.545 GB Notification: Performance of SimCode: time 6.51e-07/0.6683, allocations: 0 / 0.7229 GB, free: 13 MB / 0.545 GB Notification: Performance of Templates: time 0.05847/0.7267, allocations: 31.06 MB / 0.7532 GB, free: 14.34 MB / 0.5762 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_T.makefile (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 & ./IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe 2>&1)