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.0009766/0.0009767, allocations: 110.7 kB / 16.38 MB, free: 6.473 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.001026/0.001026, allocations: 190.2 kB / 17.31 MB, free: 5.785 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.254/1.254, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.77/0.77, allocations: 135.1 MB / 426.3 MB, free: 4.117 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001102/0.001102, allocations: 59.22 kB / 0.5862 GB, free: 21.65 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1363/0.1374, allocations: 80.93 MB / 0.6653 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_T): time 0.04821/0.1857, allocations: 53.26 MB / 0.7173 GB, free: 364 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0207/0.2064, allocations: 15.18 MB / 0.7321 GB, free: 1.129 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002864/0.2093, allocations: 87.5 kB / 0.7322 GB, free: 1.043 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.003274/0.2126, allocations: 1.124 MB / 0.7333 GB, free: 15.92 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00628/0.2189, allocations: 2.339 MB / 0.7356 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005482/0.2244, allocations: 2.26 MB / 0.7378 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.006558/0.231, allocations: 4.622 MB / 0.7423 GB, free: 6.695 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00273/0.2338, allocations: 1.623 MB / 0.7439 GB, free: 5.039 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004846/0.2386, allocations: 1.919 MB / 0.7458 GB, free: 3.117 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00253/0.2412, allocations: 1.353 MB / 0.7471 GB, free: 1.758 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0006034/0.2418, allocations: 168 kB / 0.7472 GB, free: 1.594 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.3367/0.5785, allocations: 1.839 MB / 0.749 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0009523/0.5794, allocations: 0.5184 MB / 0.7495 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001558/0.581, allocations: 1.035 MB / 0.7506 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.006896/0.5879, allocations: 3.325 MB / 0.7538 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.5879, allocations: 1.156 kB / 0.7538 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.194e-06/0.588, allocations: 1.125 kB / 0.7538 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.418e-05/0.588, allocations: 0 / 0.7538 GB, free: 10.52 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.004588/0.5926, allocations: 2.517 MB / 0.7563 GB, free: 9.273 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.5927, allocations: 13.27 kB / 0.7563 GB, free: 9.273 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002158/0.5948, allocations: 452.4 kB / 0.7567 GB, free: 9.156 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003198/0.598, allocations: 1.679 MB / 0.7583 GB, free: 8.68 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.643e-05/0.5981, allocations: 87.36 kB / 0.7584 GB, free: 8.676 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002231/0.5984, allocations: 119.1 kB / 0.7585 GB, free: 8.676 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002709/0.6011, allocations: 1.34 MB / 0.7599 GB, free: 8.43 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.074e-05/0.6011, allocations: 4.781 kB / 0.7599 GB, free: 8.43 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001129/0.6012, allocations: 47.83 kB / 0.7599 GB, free: 8.43 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.177e-05/0.6013, allocations: 47.38 kB / 0.7599 GB, free: 8.422 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002917/0.6042, allocations: 1.076 MB / 0.761 GB, free: 8.395 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.008483/0.6127, allocations: 7.072 MB / 0.7679 GB, free: 4.254 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002152/0.6149, allocations: 1.348 MB / 0.7692 GB, free: 3.648 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008874/0.6158, allocations: 418.5 kB / 0.7696 GB, free: 3.637 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004878/0.6207, allocations: 3.097 MB / 0.7726 GB, free: 17.7 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009456/0.6217, allocations: 435.7 kB / 0.7731 GB, free: 17.64 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=60): time 2.244e-06/0.6217, allocations: 0 / 0.7731 GB, free: 17.64 MB / 0.5919 GB Notification: Performance of matching and sorting (n=60): time 0.00295/0.6246, allocations: 1.215 MB / 0.7742 GB, free: 17.39 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.982e-05/0.6247, allocations: 61.23 kB / 0.7743 GB, free: 17.32 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001896/0.6266, allocations: 1.533 MB / 0.7758 GB, free: 17.14 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 8.144e-05/0.6267, allocations: 39.7 kB / 0.7758 GB, free: 17.11 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006311/0.6273, allocations: 0.8832 MB / 0.7767 GB, free: 16.79 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001673/0.6275, allocations: 220.7 kB / 0.7769 GB, free: 16.66 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002821/0.6278, allocations: 204.5 kB / 0.7771 GB, free: 16.63 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001213/0.6279, allocations: 346.5 kB / 0.7774 GB, free: 16.32 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000864/0.6288, allocations: 381 kB / 0.7778 GB, free: 16.31 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001045/0.6298, allocations: 0.7489 MB / 0.7785 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001846/0.6317, allocations: 1.114 MB / 0.7796 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.514e-06/0.6317, allocations: 3.344 kB / 0.7796 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002638/0.6344, allocations: 1.281 MB / 0.7809 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.442e-05/0.6344, allocations: 46.7 kB / 0.7809 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.896e-05/0.6345, allocations: 11.03 kB / 0.7809 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.802e-05/0.6345, allocations: 23.64 kB / 0.781 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009321/0.6354, allocations: 251.1 kB / 0.7812 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.669e-05/0.6355, allocations: 28.48 kB / 0.7812 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001139/0.6366, allocations: 137.5 kB / 0.7814 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.828e-05/0.6367, allocations: 50.98 kB / 0.7814 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001354/0.6381, allocations: 0.6706 MB / 0.7821 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009809/0.6391, allocations: 0.7347 MB / 0.7828 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00174/0.6408, allocations: 1.086 MB / 0.7838 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.811e-06/0.6408, allocations: 2.469 kB / 0.7838 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of matching and sorting (n=122) (initialization_lambda0): time 0.002474/0.6433, allocations: 1.259 MB / 0.7851 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.064e-05/0.6433, allocations: 39.11 kB / 0.7851 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/0.6434, allocations: 10.72 kB / 0.7851 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.6434, allocations: 16.34 kB / 0.7851 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000848/0.6442, allocations: 263.4 kB / 0.7854 GB, free: 13.9 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.763e-05/0.6443, allocations: 30.5 kB / 0.7854 GB, free: 13.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001038/0.6453, allocations: 113.8 kB / 0.7855 GB, free: 13.87 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.277e-05/0.6454, allocations: 54.77 kB / 0.7856 GB, free: 13.87 MB / 0.5919 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.0003291/0.6457, allocations: 242.2 kB / 0.7858 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002165/0.646, allocations: 162.4 kB / 0.786 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002397/0.6484, allocations: 1.117 MB / 0.787 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.68e-05/0.6484, allocations: 11.28 kB / 0.7871 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.6484, allocations: 1.312 kB / 0.7871 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001788/0.6502, allocations: 0.9539 MB / 0.788 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004136/0.6543, allocations: 2.404 MB / 0.7903 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.6544, allocations: 0 / 0.7903 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006686/0.655, allocations: 143.2 kB / 0.7905 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001477/0.6552, allocations: 29.45 kB / 0.7905 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.894e-05/0.6553, allocations: 25.7 kB / 0.7905 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001095/0.6564, allocations: 1.421 MB / 0.7919 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.6564, allocations: 3.188 kB / 0.7919 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002756/0.6591, allocations: 1.543 MB / 0.7934 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00051/0.6597, allocations: 342.9 kB / 0.7938 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001708/0.6598, allocations: 20.39 kB / 0.7938 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007647/0.6606, allocations: 53.72 kB / 0.7938 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001074/0.6607, allocations: 54.45 kB / 0.7939 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.975e-05/0.6608, allocations: 29.38 kB / 0.7939 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.00127/0.6621, allocations: 1.095 MB / 0.795 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.71e-07/0.6621, allocations: 0 / 0.795 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002314/0.6644, allocations: 0.8552 MB / 0.7958 GB, free: 10.67 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.001549/0.666, allocations: 0.7375 MB / 0.7965 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.003078/0.669, allocations: 1.581 MB / 0.7981 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.6691, allocations: 0.5625 kB / 0.7981 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001027/0.6701, allocations: 0.5428 MB / 0.7986 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002805/0.6729, allocations: 0.7699 MB / 0.7994 GB, free: 10.03 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004872/0.6778, allocations: 3.094 MB / 0.8024 GB, free: 8.691 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000934/0.6787, allocations: 1.357 MB / 0.8037 GB, free: 7.926 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003993/0.6791, allocations: 153.6 kB / 0.8038 GB, free: 7.906 MB / 0.5919 GB Notification: Performance of SimCode: time 1.173e-06/0.6792, allocations: 0 / 0.8038 GB, free: 7.906 MB / 0.5919 GB Notification: Performance of Templates: time 0.04316/0.7223, allocations: 33.24 MB / 0.8363 GB, free: 12.86 MB / 0.6231 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)