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.001367/0.001367, allocations: 117.2 kB / 16.37 MB, free: 6.004 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.00145/0.00145, allocations: 193.2 kB / 17.31 MB, free: 5.613 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.493/1.493, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09077/0.09077, allocations: 22.32 MB / 313.5 MB, free: 8.902 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 66.72 kB / 382.2 MB, free: 41.04 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08783/0.08907, allocations: 54.96 MB / 437.2 MB, free: 12.26 MB / 318.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_Transport.HE_simple_case_001): time 0.002943/0.09204, allocations: 2.186 MB / 439.4 MB, free: 10.06 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003675/0.09243, allocations: 207.2 kB / 439.6 MB, free: 9.855 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001188/0.09256, allocations: 11.94 kB / 439.6 MB, free: 9.844 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 6.939e-05/0.09263, allocations: 23.72 kB / 439.6 MB, free: 9.82 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001993/0.09285, allocations: 103.2 kB / 439.7 MB, free: 9.719 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001229/0.09298, allocations: 39.94 kB / 439.8 MB, free: 9.68 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002445/0.09323, allocations: 290.5 kB / 440.1 MB, free: 9.395 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002267/0.09347, allocations: 124.7 kB / 440.2 MB, free: 9.277 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001406/0.09362, allocations: 111.5 kB / 440.3 MB, free: 9.168 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001337/0.09376, allocations: 99.5 kB / 440.4 MB, free: 9.07 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.736e-05/0.09381, allocations: 12 kB / 440.4 MB, free: 9.059 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.755e-05/0.09385, allocations: 16 kB / 440.4 MB, free: 9.043 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.527e-05/0.09389, allocations: 35.78 kB / 440.4 MB, free: 9.008 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.3e-05/0.09399, allocations: 103.5 kB / 440.5 MB, free: 8.906 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001989/0.09419, allocations: 227.1 kB / 440.8 MB, free: 8.684 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.0942, allocations: 0 / 440.8 MB, free: 8.684 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.09421, allocations: 0 / 440.8 MB, free: 8.684 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.09422, allocations: 0 / 440.8 MB, free: 8.684 MB / 318.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.0006441/0.09487, allocations: 0.5061 MB / 441.3 MB, free: 8.125 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.45e-05/0.09491, allocations: 12.03 kB / 441.3 MB, free: 8.113 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.037e-05/0.09497, allocations: 28.64 kB / 441.3 MB, free: 8.086 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002936/0.09527, allocations: 272.5 kB / 441.6 MB, free: 7.777 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.497e-05/0.09529, allocations: 12.38 kB / 441.6 MB, free: 7.766 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.821e-05/0.09532, allocations: 12.38 kB / 441.6 MB, free: 7.754 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002476/0.09558, allocations: 175.3 kB / 441.8 MB, free: 7.562 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.814e-06/0.09559, allocations: 0 / 441.8 MB, free: 7.562 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.459e-05/0.09561, allocations: 4 kB / 441.8 MB, free: 7.559 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.628e-06/0.09563, allocations: 4 kB / 441.8 MB, free: 7.555 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001749/0.09581, allocations: 91.89 kB / 441.9 MB, free: 7.465 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007667/0.09658, allocations: 0.8016 MB / 442.7 MB, free: 6.598 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001446/0.09674, allocations: 86.53 kB / 442.8 MB, free: 6.504 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.197e-05/0.09682, allocations: 40.78 kB / 442.8 MB, free: 6.461 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.131e-05/0.09684, allocations: 0 / 442.8 MB, free: 6.461 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.138e-05/0.09687, allocations: 38.56 kB / 442.8 MB, free: 6.414 MB / 318.1 MB Notification: Performance of pre-optimization done (n=8): time 1.092e-06/0.09687, allocations: 0 / 442.8 MB, free: 6.414 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002656/0.09714, allocations: 129.3 kB / 443 MB, free: 6.281 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.571e-05/0.09719, allocations: 55.41 kB / 443 MB, free: 6.215 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002407/0.09743, allocations: 267 kB / 443.3 MB, free: 5.941 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.42e-05/0.09745, allocations: 29.7 kB / 443.3 MB, free: 5.906 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.658e-05/0.09754, allocations: 139.9 kB / 443.4 MB, free: 5.766 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.447e-05/0.09757, allocations: 31.55 kB / 443.5 MB, free: 5.734 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.652e-05/0.09763, allocations: 29.66 kB / 443.5 MB, free: 5.699 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001006/0.09773, allocations: 334.8 kB / 443.8 MB, free: 5.363 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.964e-05/0.09781, allocations: 31.98 kB / 443.9 MB, free: 5.332 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.27e-05/0.09789, allocations: 53.44 kB / 443.9 MB, free: 5.273 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004896/0.09839, allocations: 154.4 kB / 444.1 MB, free: 5.113 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.0984, allocations: 0 / 444.1 MB, free: 5.113 MB / 318.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002109/0.09861, allocations: 141.3 kB / 444.2 MB, free: 4.969 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/0.09863, allocations: 4 kB / 444.2 MB, free: 4.965 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.09864, allocations: 4 kB / 444.2 MB, free: 4.961 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.09866, allocations: 64 / 444.2 MB, free: 4.961 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001648/0.09883, allocations: 35.92 kB / 444.2 MB, free: 4.926 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.667e-06/0.09885, allocations: 7.938 kB / 444.2 MB, free: 4.918 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.26e-05/0.09894, allocations: 19.69 kB / 444.3 MB, free: 4.898 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.167e-06/0.09896, allocations: 4 kB / 444.3 MB, free: 4.895 MB / 318.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.0001366/0.0991, allocations: 133.8 kB / 444.4 MB, free: 4.754 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.28e-05/0.09915, allocations: 27.72 kB / 444.4 MB, free: 4.727 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.466e-05/0.0992, allocations: 25.73 kB / 444.5 MB, free: 4.699 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.09921, allocations: 0 / 444.5 MB, free: 4.699 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.09922, allocations: 7.938 kB / 444.5 MB, free: 4.691 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.09923, allocations: 0 / 444.5 MB, free: 4.691 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002226/0.09945, allocations: 233.7 kB / 444.7 MB, free: 4.414 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.09946, allocations: 0 / 444.7 MB, free: 4.414 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001558/0.09962, allocations: 27.92 kB / 444.7 MB, free: 4.387 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.999e-06/0.09964, allocations: 4 kB / 444.7 MB, free: 4.383 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.829e-06/0.09965, allocations: 0 / 444.7 MB, free: 4.383 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.09966, allocations: 7.938 kB / 444.7 MB, free: 4.375 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.09967, allocations: 7.922 kB / 444.7 MB, free: 4.367 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002589/0.09993, allocations: 227.3 kB / 445 MB, free: 4.129 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.977e-05/0.1, allocations: 100.8 kB / 445.1 MB, free: 4.012 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.994e-05/0.1, allocations: 0 / 445.1 MB, free: 4.012 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001112/0.1002, allocations: 4 kB / 445.1 MB, free: 4.008 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.337e-05/0.1002, allocations: 11.92 kB / 445.1 MB, free: 3.996 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.746e-06/0.1002, allocations: 4 kB / 445.1 MB, free: 3.992 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001578/0.1004, allocations: 198 kB / 445.3 MB, free: 3.801 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1004, allocations: 0 / 445.3 MB, free: 3.801 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002615/0.1006, allocations: 40 kB / 445.3 MB, free: 3.762 MB / 318.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.57e-05/0.1007, allocations: 95.19 kB / 445.4 MB, free: 3.656 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001743/0.1009, allocations: 83.83 kB / 445.5 MB, free: 3.574 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1009, allocations: 0 / 445.5 MB, free: 3.574 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 5.528e-05/0.101, allocations: 32 kB / 445.5 MB, free: 3.543 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003421/0.1013, allocations: 53.95 kB / 445.6 MB, free: 3.488 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007548/0.1021, allocations: 0.489 MB / 446.1 MB, free: 2.973 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002475/0.1023, allocations: 0.7323 MB / 446.8 MB, free: 2.215 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 9.413e-05/0.1024, allocations: 34.27 kB / 446.8 MB, free: 2.18 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.3e-05/0.1025, allocations: 19.44 kB / 446.8 MB, free: 2.16 MB / 318.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1025, allocations: 0 / 446.8 MB, free: 2.16 MB / 318.1 MB Notification: Performance of Templates: time 0.004834/0.1073, allocations: 2.248 MB / 449.1 MB, free: 15.95 MB / 334.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 -s cvode -lv LOG_STATS > AES_AES.Coursework.ThermSys_Transport.HE_simple_case_001.pipe 2>&1)