Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Examples.WaterHeater_u.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Annex60.Fluid.HeatExchangers.Examples.WaterHeater_u,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Examples.WaterHeater_u") translateModel(Annex60.Fluid.HeatExchangers.Examples.WaterHeater_u,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Examples.WaterHeater_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009307/0.0009306, allocations: 90.98 kB / 15.36 MB, free: 0.7383 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.0079/0.0079, allocations: 170.9 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.589/1.589, allocations: 205.4 MB / 222.4 MB, free: 5.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4342/0.4342, allocations: 55.02 MB / 325.8 MB, free: 0.5234 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004985/0.0004986, allocations: 12.66 kB / 397.3 MB, free: 11.35 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3452/0.3458, allocations: 60.72 MB / 458 MB, free: 38.2 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.HeatExchangers.Examples.WaterHeater_u): time 0.04905/0.3949, allocations: 64.92 MB / 0.5106 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03152/0.4264, allocations: 19.25 MB / 0.5294 GB, free: 13.69 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004467/0.4309, allocations: 81.72 kB / 0.5295 GB, free: 13.66 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004891/0.4359, allocations: 1.036 MB / 0.5305 GB, free: 13.1 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01066/0.4466, allocations: 2.424 MB / 0.5329 GB, free: 11.69 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01093/0.4575, allocations: 2.928 MB / 0.5357 GB, free: 10.21 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01085/0.4684, allocations: 6.884 MB / 0.5425 GB, free: 5.738 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003509/0.4719, allocations: 1.444 MB / 0.5439 GB, free: 4.266 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0043/0.4762, allocations: 1.66 MB / 0.5455 GB, free: 2.598 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003671/0.48, allocations: 1.446 MB / 0.5469 GB, free: 1.145 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007432/0.4807, allocations: 68 kB / 0.547 GB, free: 1.078 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005433/0.4862, allocations: 1.926 MB / 0.5489 GB, free: 15.15 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001025/0.4872, allocations: 438.1 kB / 0.5493 GB, free: 14.72 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002251/0.4895, allocations: 1.008 MB / 0.5503 GB, free: 13.7 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006766/0.4963, allocations: 3.512 MB / 0.5537 GB, free: 10.18 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.4963, allocations: 0 / 0.5537 GB, free: 10.18 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.4963, allocations: 0 / 0.5537 GB, free: 10.18 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001229/0.4965, allocations: 0 / 0.5537 GB, free: 10.18 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 308 * Number of variables: 308 Notification: Performance of Generate backend data structure: time 0.005278/0.5018, allocations: 2.289 MB / 0.5559 GB, free: 7.816 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.5018, allocations: 12.03 kB / 0.5559 GB, free: 7.805 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001831/0.5037, allocations: 393.9 kB / 0.5563 GB, free: 7.418 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004213/0.5079, allocations: 1.768 MB / 0.558 GB, free: 5.598 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004474/0.5084, allocations: 169.6 kB / 0.5582 GB, free: 5.434 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003499/0.5087, allocations: 128 kB / 0.5583 GB, free: 5.309 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003436/0.5122, allocations: 1.509 MB / 0.5598 GB, free: 3.688 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.737e-05/0.5122, allocations: 3.938 kB / 0.5598 GB, free: 3.684 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001481/0.5124, allocations: 55.98 kB / 0.5599 GB, free: 3.629 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-05/0.5125, allocations: 39.98 kB / 0.5599 GB, free: 3.59 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002965/0.5154, allocations: 1.164 MB / 0.561 GB, free: 2.418 MB / 430.1 MB 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.009683/0.5251, allocations: 7.725 MB / 0.5686 GB, free: 10.1 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002305/0.5275, allocations: 0.9223 MB / 0.5695 GB, free: 9.168 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001039/0.5285, allocations: 491.9 kB / 0.5699 GB, free: 8.684 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003415/0.532, allocations: 2.009 MB / 0.5719 GB, free: 6.5 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001323/0.5333, allocations: 0.5421 MB / 0.5724 GB, free: 5.941 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006408/0.534, allocations: 83.25 kB / 0.5725 GB, free: 5.859 MB / 446.1 MB Notification: Performance of pre-optimization done (n=72): time 3.646e-06/0.534, allocations: 0 / 0.5725 GB, free: 5.859 MB / 446.1 MB Notification: Performance of matching and sorting (n=78): time 0.008294/0.5423, allocations: 3.045 MB / 0.5755 GB, free: 2.73 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.68e-05/0.5424, allocations: 166.9 kB / 0.5756 GB, free: 2.531 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002389/0.5448, allocations: 1.465 MB / 0.5771 GB, free: 1.066 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001276/0.5449, allocations: 45.7 kB / 0.5771 GB, free: 1.016 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000794/0.5457, allocations: 0.8959 MB / 0.578 GB, free: 112 kB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002876/0.546, allocations: 272 kB / 0.5783 GB, free: 15.84 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001618/0.5462, allocations: 101.7 kB / 0.5784 GB, free: 15.73 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001365/0.5464, allocations: 357.9 kB / 0.5787 GB, free: 15.38 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001116/0.5475, allocations: 458.3 kB / 0.5791 GB, free: 14.93 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001415/0.5489, allocations: 0.8429 MB / 0.58 GB, free: 13.92 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002457/0.5514, allocations: 1.262 MB / 0.5812 GB, free: 12.52 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.845e-06/0.5514, allocations: 0 / 0.5812 GB, free: 12.52 MB / 462.1 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.003445/0.5549, allocations: 1.501 MB / 0.5827 GB, free: 11 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003774/0.5553, allocations: 410.4 kB / 0.583 GB, free: 10.46 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.533e-05/0.5553, allocations: 15.94 kB / 0.5831 GB, free: 10.44 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002192/0.5555, allocations: 44.84 kB / 0.5831 GB, free: 10.39 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001167/0.5567, allocations: 287.6 kB / 0.5834 GB, free: 10.11 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001393/0.5581, allocations: 1.422 MB / 0.5848 GB, free: 8.559 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001741/0.5599, allocations: 159.8 kB / 0.5849 GB, free: 8.402 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001438/0.56, allocations: 51.98 kB / 0.585 GB, free: 8.352 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.738e-06/0.5601, allocations: 4 kB / 0.585 GB, free: 8.348 MB / 462.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00285/0.5629, allocations: 1.287 MB / 0.5862 GB, free: 7.051 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.347e-05/0.563, allocations: 12 kB / 0.5862 GB, free: 7.039 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001592/0.5631, allocations: 48.83 kB / 0.5863 GB, free: 6.988 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001035/0.5642, allocations: 280.9 kB / 0.5866 GB, free: 6.715 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001158/0.5654, allocations: 1.426 MB / 0.5879 GB, free: 5.152 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001501/0.5669, allocations: 139.8 kB / 0.5881 GB, free: 5.016 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001297/0.567, allocations: 55.98 kB / 0.5881 GB, free: 4.961 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (136): * Single equations (assignments): 131 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009543/0.568, allocations: 0.4889 MB / 0.5886 GB, free: 4.461 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004216/0.5684, allocations: 169.8 kB / 0.5888 GB, free: 4.293 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003453/0.5719, allocations: 1.322 MB / 0.5901 GB, free: 2.965 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.231e-05/0.5719, allocations: 12 kB / 0.5901 GB, free: 2.953 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.012e-05/0.5719, allocations: 4 kB / 0.5901 GB, free: 2.949 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002305/0.5743, allocations: 1.016 MB / 0.5911 GB, free: 1.918 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006695/0.581, allocations: 2.937 MB / 0.5939 GB, free: 14.88 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.567e-05/0.581, allocations: 4 kB / 0.5939 GB, free: 14.88 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008686/0.5819, allocations: 192.9 kB / 0.5941 GB, free: 14.69 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002189/0.5822, allocations: 81.61 kB / 0.5942 GB, free: 14.6 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.109e-05/0.5822, allocations: 27.98 kB / 0.5942 GB, free: 14.57 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001403/0.5836, allocations: 1.969 MB / 0.5962 GB, free: 12.45 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.256e-05/0.5837, allocations: 11.91 kB / 0.5962 GB, free: 12.44 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003903/0.5876, allocations: 1.953 MB / 0.5981 GB, free: 10.43 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007902/0.5884, allocations: 362.6 kB / 0.5984 GB, free: 10.05 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003403/0.5887, allocations: 35.92 kB / 0.5985 GB, free: 10.02 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001339/0.5901, allocations: 139.6 kB / 0.5986 GB, free: 9.883 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001729/0.5903, allocations: 76.48 kB / 0.5987 GB, free: 9.809 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.296e-05/0.5904, allocations: 31.98 kB / 0.5987 GB, free: 9.777 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001741/0.5921, allocations: 1.054 MB / 0.5997 GB, free: 8.699 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.5921, allocations: 0 / 0.5997 GB, free: 8.699 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002932/0.5951, allocations: 0.8592 MB / 0.6006 GB, free: 7.84 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 6 (vol.dynBal.medium.T,mov.filter.x[1],mov.filter.x[2],conPI.I.y,THeaOut.T,hea.vol.dynBal.U) * 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 (88): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001307/0.5964, allocations: 0.5142 MB / 0.6011 GB, free: 7.328 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.004466/0.6009, allocations: 2.193 MB / 0.6032 GB, free: 5.074 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.115e-06/0.6009, allocations: 8.125 kB / 0.6032 GB, free: 5.066 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001393/0.6023, allocations: 0.6787 MB / 0.6039 GB, free: 4.375 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005325/0.6076, allocations: 0.8946 MB / 0.6047 GB, free: 3.5 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006308/0.614, allocations: 4.15 MB / 0.6088 GB, free: 15.28 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001125/0.6151, allocations: 1.414 MB / 0.6102 GB, free: 13.83 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.002101/0.6172, allocations: 440 kB / 0.6106 GB, free: 13.41 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000486/0.6177, allocations: 151.4 kB / 0.6107 GB, free: 13.26 MB / 494.1 MB Notification: Performance of SimCode: time 9.02e-07/0.6177, allocations: 0 / 0.6107 GB, free: 13.26 MB / 494.1 MB Notification: Performance of Templates: time 0.2479/0.8657, allocations: 36.19 MB / 0.6461 GB, free: 149.9 MB / 0.4981 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Examples.WaterHeater_u.makefile Environment - environmentSimulation: (rm -f Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Examples.WaterHeater_u.sim & ./Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Examples.WaterHeater_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe 2>&1) Environment - environmentSimulation: