Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ThermSys_Transport.HE_simple_case_001.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/AES main/package.mo", uses=false) Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/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(AES.Coursework.ThermSys_Transport.HE_simple_case_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_Transport.HE_simple_case_001") translateModel(AES.Coursework.ThermSys_Transport.HE_simple_case_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_Transport.HE_simple_case_001") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006807/0.006807, allocations: 102.6 kB / 15.73 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.001189/0.001189, allocations: 192 kB / 16.67 MB, free: 6.379 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.342/1.342, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.192/0.192, allocations: 22.36 MB / 312.9 MB, free: 12.45 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 65.92 kB / 437.1 MB, free: 33.82 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08401/0.08525, allocations: 54.97 MB / 492 MB, free: 1.188 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_Transport.HE_simple_case_001): time 0.002592/0.08788, allocations: 2.188 MB / 494.2 MB, free: 14.98 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003955/0.0883, allocations: 203.2 kB / 494.4 MB, free: 14.79 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001066/0.08842, allocations: 15.94 kB / 494.4 MB, free: 14.77 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 7.36e-05/0.08852, allocations: 23.72 kB / 494.5 MB, free: 14.75 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000195/0.08872, allocations: 103.2 kB / 494.6 MB, free: 14.64 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001361/0.08886, allocations: 35.95 kB / 494.6 MB, free: 14.61 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002399/0.08911, allocations: 286.5 kB / 494.9 MB, free: 14.33 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002272/0.08934, allocations: 132.6 kB / 495 MB, free: 14.2 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001472/0.0895, allocations: 107.6 kB / 495.1 MB, free: 14.09 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001554/0.08966, allocations: 91.52 kB / 495.2 MB, free: 14 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.853e-05/0.0897, allocations: 12 kB / 495.2 MB, free: 13.99 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.477e-05/0.08974, allocations: 12 kB / 495.2 MB, free: 13.98 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.604e-05/0.08978, allocations: 35.86 kB / 495.3 MB, free: 13.95 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 9.691e-05/0.08988, allocations: 115.4 kB / 495.4 MB, free: 13.83 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002051/0.0901, allocations: 211.2 kB / 495.6 MB, free: 13.62 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.09011, allocations: 4 kB / 495.6 MB, free: 13.62 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.09011, allocations: 0 / 495.6 MB, free: 13.62 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.959e-06/0.09012, allocations: 0 / 495.6 MB, free: 13.62 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.0006835/0.09081, allocations: 0.5023 MB / 496.1 MB, free: 13.07 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.264e-05/0.09085, allocations: 19.97 kB / 496.1 MB, free: 13.05 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.494e-05/0.0909, allocations: 20.66 kB / 496.1 MB, free: 13.03 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003121/0.09122, allocations: 272.5 kB / 496.4 MB, free: 12.72 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.363e-05/0.09124, allocations: 16.36 kB / 496.4 MB, free: 12.7 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.017e-05/0.09128, allocations: 12.38 kB / 496.4 MB, free: 12.69 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002554/0.09154, allocations: 179.3 kB / 496.6 MB, free: 12.5 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.567e-06/0.09156, allocations: 0 / 496.6 MB, free: 12.5 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.833e-05/0.09158, allocations: 8 kB / 496.6 MB, free: 12.49 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.09159, allocations: 4 kB / 496.6 MB, free: 12.48 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001737/0.09177, allocations: 91.89 kB / 496.7 MB, free: 12.39 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007568/0.09254, allocations: 0.8093 MB / 497.5 MB, free: 11.52 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001459/0.09269, allocations: 78.55 kB / 497.6 MB, free: 11.43 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.512e-05/0.09277, allocations: 36.86 kB / 497.6 MB, free: 11.39 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.088e-05/0.09279, allocations: 0 / 497.6 MB, free: 11.39 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.152e-05/0.09281, allocations: 42.48 kB / 497.7 MB, free: 11.34 MB / 366.1 MB Notification: Performance of pre-optimization done (n=8): time 9.01e-07/0.09282, allocations: 0 / 497.7 MB, free: 11.34 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002795/0.09311, allocations: 117.4 kB / 497.8 MB, free: 11.22 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.404e-05/0.09315, allocations: 59.39 kB / 497.8 MB, free: 11.15 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002498/0.09341, allocations: 267 kB / 498.1 MB, free: 10.88 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.7e-05/0.09343, allocations: 29.7 kB / 498.1 MB, free: 10.84 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.381e-05/0.09353, allocations: 148 kB / 498.3 MB, free: 10.7 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.705e-05/0.09356, allocations: 35.55 kB / 498.3 MB, free: 10.66 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.57e-05/0.09362, allocations: 25.72 kB / 498.3 MB, free: 10.63 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000135/0.09376, allocations: 334.8 kB / 498.6 MB, free: 10.29 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.18e-05/0.09382, allocations: 27.98 kB / 498.7 MB, free: 10.27 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.722e-05/0.0939, allocations: 50.5 kB / 498.7 MB, free: 10.21 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005057/0.09441, allocations: 154.5 kB / 498.9 MB, free: 10.05 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.09442, allocations: 0 / 498.9 MB, free: 10.05 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002084/0.09464, allocations: 141.3 kB / 499 MB, free: 9.902 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.09466, allocations: 7.938 kB / 499 MB, free: 9.895 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.09467, allocations: 4.375 kB / 499 MB, free: 9.891 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.797e-05/0.0947, allocations: 4 kB / 499 MB, free: 9.887 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001692/0.09487, allocations: 23.98 kB / 499.1 MB, free: 9.863 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.734e-06/0.09489, allocations: 3.938 kB / 499.1 MB, free: 9.859 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.077e-05/0.09498, allocations: 11.84 kB / 499.1 MB, free: 9.848 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.538e-06/0.095, allocations: 7.984 kB / 499.1 MB, free: 9.84 MB / 366.1 MB Warning: Assuming fixed start value for the following 2 variables: HE.Tho:VARIABLE(min = 0.0 start = 339.5666268514094 unit = "K" fixed = true nominal = 300.0 ) type: Real HE.Tco:VARIABLE(min = 0.0 start = 299.958408982322 unit = "K" fixed = true nominal = 300.0 ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * 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.0001606/0.09517, allocations: 152.4 kB / 499.2 MB, free: 9.684 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.924e-05/0.09521, allocations: 19.72 kB / 499.2 MB, free: 9.664 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.335e-05/0.09526, allocations: 25.73 kB / 499.3 MB, free: 9.641 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.09527, allocations: 0 / 499.3 MB, free: 9.641 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/0.09528, allocations: 3.938 kB / 499.3 MB, free: 9.637 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.175e-05/0.0953, allocations: 7.984 kB / 499.3 MB, free: 9.629 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000247/0.09555, allocations: 241.4 kB / 499.5 MB, free: 9.344 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.09556, allocations: 0 / 499.5 MB, free: 9.344 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001412/0.0957, allocations: 19.98 kB / 499.5 MB, free: 9.324 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.09572, allocations: 4 kB / 499.5 MB, free: 9.32 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.47e-05/0.09574, allocations: 8 kB / 499.5 MB, free: 9.312 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/0.09574, allocations: 4 kB / 499.6 MB, free: 9.309 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.009e-06/0.09575, allocations: 3.938 kB / 499.6 MB, free: 9.305 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002794/0.09604, allocations: 235.1 kB / 499.8 MB, free: 9.059 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.975e-05/0.09612, allocations: 104.8 kB / 499.9 MB, free: 8.938 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.83e-05/0.09615, allocations: 0 / 499.9 MB, free: 8.938 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.724e-05/0.09626, allocations: 0 / 499.9 MB, free: 8.938 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.854e-05/0.09631, allocations: 12 kB / 499.9 MB, free: 8.926 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.823e-06/0.09632, allocations: 4 kB / 499.9 MB, free: 8.922 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000164/0.09649, allocations: 194 kB / 0.4884 GB, free: 8.734 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.0965, allocations: 0 / 0.4884 GB, free: 8.734 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00026/0.09676, allocations: 40 kB / 0.4884 GB, free: 8.695 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (HE.Tho,HE.Tco) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 8.403e-05/0.09685, allocations: 99.17 kB / 0.4885 GB, free: 8.586 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001643/0.09702, allocations: 71.92 kB / 0.4886 GB, free: 8.516 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.09703, allocations: 0 / 0.4886 GB, free: 8.516 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.514e-05/0.09709, allocations: 44.05 kB / 0.4886 GB, free: 8.473 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003426/0.09744, allocations: 45.08 kB / 0.4887 GB, free: 8.426 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007718/0.09822, allocations: 0.489 MB / 0.4891 GB, free: 7.902 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002369/0.09847, allocations: 0.7323 MB / 0.4899 GB, free: 7.145 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.088e-05/0.09857, allocations: 26.3 kB / 0.4899 GB, free: 7.121 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.071e-05/0.09861, allocations: 19.38 kB / 0.4899 GB, free: 7.102 MB / 366.1 MB Notification: Performance of SimCode: time 2.41e-07/0.09862, allocations: 4 kB / 0.4899 GB, free: 7.098 MB / 366.1 MB Notification: Performance of Templates: time 0.00498/0.1036, allocations: 2.317 MB / 0.4922 GB, free: 4.816 MB / 366.1 MB make -j1 -f AES_AES.Coursework.ThermSys_Transport.HE_simple_case_001.makefile (rm -f AES_AES.Coursework.ThermSys_Transport.HE_simple_case_001.pipe ; mkfifo AES_AES.Coursework.ThermSys_Transport.HE_simple_case_001.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_Transport.HE_simple_case_001.pipe >> ../files/AES_AES.Coursework.ThermSys_Transport.HE_simple_case_001.sim & ./AES_AES.Coursework.ThermSys_Transport.HE_simple_case_001 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.ThermSys_Transport.HE_simple_case_001.pipe 2>&1)