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/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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001199/0.001199, allocations: 106.4 kB / 16.41 MB, free: 6.492 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.001361/0.001362, allocations: 189.5 kB / 17.34 MB, free: 5.766 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.301/1.301, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7896/0.7896, allocations: 132.2 MB / 423.4 MB, free: 6.59 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 65.53 kB / 0.582 GB, free: 23.73 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1486/0.1499, allocations: 80.21 MB / 0.6604 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_T): time 0.04994/0.1998, allocations: 53.25 MB / 0.7124 GB, free: 4.805 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0212/0.2211, allocations: 15.19 MB / 0.7272 GB, free: 5.574 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003279/0.2244, allocations: 91.5 kB / 0.7273 GB, free: 5.484 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.003506/0.228, allocations: 1.109 MB / 0.7284 GB, free: 4.371 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.007202/0.2352, allocations: 2.342 MB / 0.7307 GB, free: 2.027 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.005937/0.2411, allocations: 2.266 MB / 0.7329 GB, free: 15.78 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.006715/0.2479, allocations: 4.621 MB / 0.7374 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00261/0.2505, allocations: 1.627 MB / 0.739 GB, free: 9.48 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004421/0.255, allocations: 1.965 MB / 0.7409 GB, free: 7.52 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002003/0.257, allocations: 1.357 MB / 0.7422 GB, free: 6.156 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003315/0.2573, allocations: 168 kB / 0.7424 GB, free: 5.992 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003741/0.2611, allocations: 1.837 MB / 0.7442 GB, free: 4.152 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0006358/0.2617, allocations: 0.5178 MB / 0.7447 GB, free: 3.633 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001406/0.2631, allocations: 1.045 MB / 0.7457 GB, free: 2.582 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.3488/0.612, allocations: 3.319 MB / 0.7489 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 8.646e-06/0.612, allocations: 1.781 kB / 0.7489 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.334e-06/0.6121, allocations: 0.5625 kB / 0.7489 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001005/0.6122, allocations: 0 / 0.7489 GB, free: 15.2 MB / 0.5762 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.005367/0.6175, allocations: 2.516 MB / 0.7514 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/0.6176, allocations: 11.41 kB / 0.7514 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002368/0.62, allocations: 452.7 kB / 0.7518 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003706/0.6237, allocations: 1.682 MB / 0.7535 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.23e-05/0.6238, allocations: 91.19 kB / 0.7536 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002224/0.624, allocations: 117.6 kB / 0.7537 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003088/0.6271, allocations: 1.345 MB / 0.755 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.571e-05/0.6272, allocations: 1.562 kB / 0.755 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001258/0.6273, allocations: 50.72 kB / 0.755 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.981e-05/0.6274, allocations: 44.86 kB / 0.7551 GB, free: 13.22 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002897/0.6303, allocations: 1.072 MB / 0.7561 GB, free: 13.2 MB / 0.5762 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.009883/0.6402, allocations: 7.067 MB / 0.763 GB, free: 9.062 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002421/0.6427, allocations: 1.349 MB / 0.7644 GB, free: 8.457 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009514/0.6436, allocations: 423 kB / 0.7648 GB, free: 8.445 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005125/0.6488, allocations: 3.093 MB / 0.7678 GB, free: 6.512 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009879/0.6498, allocations: 436.8 kB / 0.7682 GB, free: 6.453 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=60): time 2.685e-06/0.6498, allocations: 0 / 0.7682 GB, free: 6.453 MB / 0.5762 GB Notification: Performance of matching and sorting (n=60): time 0.003099/0.6529, allocations: 1.208 MB / 0.7694 GB, free: 6.203 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.087e-05/0.6529, allocations: 64.92 kB / 0.7694 GB, free: 6.141 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002204/0.6551, allocations: 1.535 MB / 0.7709 GB, free: 5.953 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001092/0.6553, allocations: 39.64 kB / 0.771 GB, free: 5.922 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006915/0.656, allocations: 0.8846 MB / 0.7718 GB, free: 5.605 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001847/0.6562, allocations: 210.5 kB / 0.772 GB, free: 5.477 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003147/0.6565, allocations: 213.2 kB / 0.7722 GB, free: 5.445 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.479e-05/0.6566, allocations: 343.2 kB / 0.7726 GB, free: 5.141 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009428/0.6575, allocations: 384.3 kB / 0.7729 GB, free: 5.129 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00107/0.6586, allocations: 0.7467 MB / 0.7737 GB, free: 4.66 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001922/0.6605, allocations: 1.112 MB / 0.7748 GB, free: 4.211 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.618e-06/0.6605, allocations: 3.75 kB / 0.7748 GB, free: 4.211 MB / 0.5762 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002836/0.6634, allocations: 1.285 MB / 0.776 GB, free: 4.047 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.895e-05/0.6634, allocations: 36.23 kB / 0.776 GB, free: 4.016 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.023e-05/0.6635, allocations: 14.59 kB / 0.7761 GB, free: 4.012 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.726e-05/0.6635, allocations: 25.33 kB / 0.7761 GB, free: 4.008 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000978/0.6645, allocations: 251.4 kB / 0.7763 GB, free: 4.008 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.407e-05/0.6645, allocations: 21.94 kB / 0.7763 GB, free: 4.008 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001256/0.6658, allocations: 138.8 kB / 0.7765 GB, free: 3.953 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001078/0.6659, allocations: 57.16 kB / 0.7765 GB, free: 3.953 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001455/0.6674, allocations: 0.6659 MB / 0.7772 GB, free: 3.867 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001051/0.6684, allocations: 0.7431 MB / 0.7779 GB, free: 3.395 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001853/0.6703, allocations: 1.089 MB / 0.779 GB, free: 2.938 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.065e-06/0.6703, allocations: 4.219 kB / 0.779 GB, free: 2.938 MB / 0.5762 GB Notification: Performance of matching and sorting (n=122) (initialization_lambda0): time 0.002823/0.6731, allocations: 1.258 MB / 0.7802 GB, free: 2.766 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.448e-05/0.6732, allocations: 39.14 kB / 0.7802 GB, free: 2.734 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.611e-05/0.6732, allocations: 11 kB / 0.7802 GB, free: 2.734 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/0.6732, allocations: 16.5 kB / 0.7803 GB, free: 2.734 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009391/0.6742, allocations: 261.2 kB / 0.7805 GB, free: 2.727 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.112e-05/0.6742, allocations: 21.92 kB / 0.7805 GB, free: 2.727 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001284/0.6755, allocations: 121.9 kB / 0.7807 GB, free: 2.691 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.662e-05/0.6756, allocations: 49.2 kB / 0.7807 GB, free: 2.691 MB / 0.5762 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 (120): * Single equations (assignments): 118 * 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.0003233/0.6759, allocations: 242.8 kB / 0.7809 GB, free: 2.508 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002892/0.6762, allocations: 161.7 kB / 0.7811 GB, free: 2.422 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002619/0.6789, allocations: 1.113 MB / 0.7822 GB, free: 2.312 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.599e-05/0.6789, allocations: 9.672 kB / 0.7822 GB, free: 2.312 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/0.6789, allocations: 5.375 kB / 0.7822 GB, free: 2.309 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001887/0.6808, allocations: 0.9554 MB / 0.7831 GB, free: 2.023 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004956/0.6858, allocations: 2.408 MB / 0.7855 GB, free: 1.617 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.376e-06/0.6858, allocations: 1.281 kB / 0.7855 GB, free: 1.617 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000703/0.6865, allocations: 141.3 kB / 0.7856 GB, free: 1.617 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001935/0.6867, allocations: 35.17 kB / 0.7856 GB, free: 1.605 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.914e-05/0.6868, allocations: 20.92 kB / 0.7857 GB, free: 1.605 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009955/0.6878, allocations: 1.423 MB / 0.787 GB, free: 16.26 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.6878, allocations: 0 / 0.787 GB, free: 16.26 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00369/0.6915, allocations: 1.542 MB / 0.7886 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008125/0.6924, allocations: 341.2 kB / 0.7889 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002057/0.6926, allocations: 14.66 kB / 0.7889 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008112/0.6934, allocations: 60.56 kB / 0.789 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001307/0.6935, allocations: 53.91 kB / 0.789 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.094e-05/0.6936, allocations: 32.28 kB / 0.789 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001447/0.6951, allocations: 1.093 MB / 0.7901 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6951, allocations: 1.203 kB / 0.7901 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002413/0.6975, allocations: 0.863 MB / 0.7909 GB, free: 15.49 MB / 0.5919 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 (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.001676/0.6992, allocations: 0.7326 MB / 0.7917 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0035/0.7027, allocations: 1.576 MB / 0.7932 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/0.7027, allocations: 2.594 kB / 0.7932 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001106/0.7038, allocations: 0.5488 MB / 0.7937 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003534/0.7074, allocations: 0.7693 MB / 0.7945 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005287/0.7127, allocations: 3.095 MB / 0.7975 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007948/0.7135, allocations: 1.354 MB / 0.7988 GB, free: 12.9 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005175/0.714, allocations: 150.5 kB / 0.799 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of SimCode: time 1.182e-06/0.714, allocations: 0 / 0.799 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of Templates: time 0.0462/0.7602, allocations: 33.68 MB / 0.8319 GB, free: 2.738 MB / 0.6075 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)