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.0009779/0.000978, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.001107/0.001107, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.381/1.381, allocations: 223.2 MB / 239.9 MB, free: 5.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2495/0.2495, allocations: 22.33 MB / 313.3 MB, free: 13.14 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003246/0.0003246, allocations: 11.94 kB / 381.8 MB, free: 10.55 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3227/0.323, allocations: 55.97 MB / 437.8 MB, free: 39.3 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_Transport.HE_simple_case_001): time 0.001913/0.325, allocations: 1.86 MB / 439.7 MB, free: 37.95 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004065/0.3254, allocations: 262.4 kB / 439.9 MB, free: 37.76 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001263/0.3256, allocations: 13.22 kB / 439.9 MB, free: 37.75 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.862e-05/0.3256, allocations: 21.8 kB / 440 MB, free: 37.74 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002211/0.3258, allocations: 132 kB / 440.1 MB, free: 37.64 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001192/0.326, allocations: 24.25 kB / 440.1 MB, free: 37.63 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002146/0.3262, allocations: 201.5 kB / 440.3 MB, free: 37.52 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002273/0.3264, allocations: 104.2 kB / 440.4 MB, free: 37.48 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001881/0.3266, allocations: 132.7 kB / 440.5 MB, free: 37.42 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001138/0.3268, allocations: 83.81 kB / 440.6 MB, free: 37.38 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.212e-05/0.3268, allocations: 8.594 kB / 440.6 MB, free: 37.38 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.947e-05/0.3268, allocations: 8.156 kB / 440.6 MB, free: 37.38 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.677e-05/0.3268, allocations: 32.45 kB / 440.7 MB, free: 37.36 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.308e-05/0.3269, allocations: 73.08 kB / 440.7 MB, free: 37.31 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001245/0.327, allocations: 150.6 kB / 440.9 MB, free: 37.27 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.327, allocations: 0 / 440.9 MB, free: 37.27 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.327, allocations: 0 / 440.9 MB, free: 37.27 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.529e-06/0.327, allocations: 0 / 440.9 MB, free: 37.27 MB / 350.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.0005643/0.3276, allocations: 488.8 kB / 441.4 MB, free: 36.83 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.3277, allocations: 8.188 kB / 441.4 MB, free: 36.83 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.936e-05/0.3277, allocations: 28.61 kB / 441.4 MB, free: 36.82 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002493/0.328, allocations: 263.1 kB / 441.7 MB, free: 36.57 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.494e-05/0.328, allocations: 9.656 kB / 441.7 MB, free: 36.57 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.639e-05/0.328, allocations: 14.41 kB / 441.7 MB, free: 36.56 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002274/0.3283, allocations: 169.4 kB / 441.8 MB, free: 36.44 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.3283, allocations: 0 / 441.8 MB, free: 36.44 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.867e-05/0.3283, allocations: 14.61 kB / 441.9 MB, free: 36.43 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.072e-06/0.3283, allocations: 2.906 kB / 441.9 MB, free: 36.43 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001575/0.3285, allocations: 98.02 kB / 442 MB, free: 36.39 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006775/0.3292, allocations: 0.7988 MB / 442.8 MB, free: 35.68 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001374/0.3293, allocations: 79.97 kB / 442.8 MB, free: 35.63 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.374e-05/0.3293, allocations: 3.125 kB / 442.8 MB, free: 35.63 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.426e-05/0.3294, allocations: 34.52 kB / 442.9 MB, free: 35.59 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.183e-06/0.3294, allocations: 0 / 442.9 MB, free: 35.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002605/0.3296, allocations: 130.3 kB / 443 MB, free: 35.52 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.951e-05/0.3297, allocations: 51.41 kB / 443.1 MB, free: 35.45 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002351/0.3299, allocations: 268.5 kB / 443.3 MB, free: 35.3 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.043e-05/0.3299, allocations: 29.7 kB / 443.3 MB, free: 35.27 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.029e-05/0.33, allocations: 143.2 kB / 443.5 MB, free: 35.14 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.812e-05/0.33, allocations: 29.5 kB / 443.5 MB, free: 35.12 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.41e-06/0.33, allocations: 0 / 443.5 MB, free: 35.12 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.275e-05/0.3301, allocations: 337.9 kB / 443.8 MB, free: 34.79 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.154e-05/0.3302, allocations: 23.62 kB / 443.9 MB, free: 34.79 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.563e-05/0.3302, allocations: 52.06 kB / 443.9 MB, free: 34.75 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.017e-05/0.3303, allocations: 42.58 kB / 444 MB, free: 34.72 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.3303, allocations: 2.844 kB / 444 MB, free: 34.72 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001791/0.3305, allocations: 138 kB / 444.1 MB, free: 34.64 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.3305, allocations: 2.812 kB / 444.1 MB, free: 34.64 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.3305, allocations: 7.516 kB / 444.1 MB, free: 34.64 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.3305, allocations: 0 / 444.1 MB, free: 34.64 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001655/0.3307, allocations: 23.97 kB / 444.1 MB, free: 34.64 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.745e-06/0.3307, allocations: 6.297 kB / 444.1 MB, free: 34.64 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.849e-05/0.3308, allocations: 14.66 kB / 444.1 MB, free: 34.63 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.596e-06/0.3308, allocations: 6.938 kB / 444.2 MB, free: 34.62 MB / 350.1 MB Warning: Assuming fixed start value for the following 2 variables: HE.Tco:VARIABLE(min = 0.0 start = 299.958408982322 unit = "K" fixed = true nominal = 300.0 ) type: Real HE.Tho:VARIABLE(min = 0.0 start = 339.5666268514094 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001761/0.331, allocations: 133.4 kB / 444.3 MB, free: 34.5 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.631e-05/0.3311, allocations: 20.69 kB / 444.3 MB, free: 34.48 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.377e-05/0.3311, allocations: 30.53 kB / 444.3 MB, free: 34.47 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.3311, allocations: 7.516 kB / 444.3 MB, free: 34.46 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.3311, allocations: 4 kB / 444.3 MB, free: 34.46 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.3311, allocations: 0 / 444.3 MB, free: 34.46 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001903/0.3313, allocations: 246.7 kB / 444.6 MB, free: 34.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.3313, allocations: 0 / 444.6 MB, free: 34.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001363/0.3315, allocations: 17.88 kB / 444.6 MB, free: 34.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.3315, allocations: 3.938 kB / 444.6 MB, free: 34.23 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.109e-05/0.3315, allocations: 6.938 kB / 444.6 MB, free: 34.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.3315, allocations: 0 / 444.6 MB, free: 34.23 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.3315, allocations: 3.953 kB / 444.6 MB, free: 34.22 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002242/0.3318, allocations: 236.3 kB / 444.8 MB, free: 34.04 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.609e-05/0.3318, allocations: 101.9 kB / 444.9 MB, free: 33.93 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.063e-05/0.3318, allocations: 0 / 444.9 MB, free: 33.93 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.794e-05/0.332, allocations: 0 / 444.9 MB, free: 33.93 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.708e-05/0.332, allocations: 10.17 kB / 445 MB, free: 33.93 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.152e-06/0.332, allocations: 10.94 kB / 445 MB, free: 33.92 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001339/0.3321, allocations: 191.1 kB / 445.2 MB, free: 33.81 MB / 350.1 MB Notification: Performance of sort global known variables: time 2e-07/0.3321, allocations: 0 / 445.2 MB, free: 33.81 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002587/0.3324, allocations: 34.28 kB / 445.2 MB, free: 33.81 MB / 350.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.895e-05/0.3325, allocations: 101.1 kB / 445.3 MB, free: 33.71 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001621/0.3327, allocations: 73.05 kB / 445.4 MB, free: 33.69 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3327, allocations: 0 / 445.4 MB, free: 33.69 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.358e-05/0.3327, allocations: 39.09 kB / 445.4 MB, free: 33.67 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002741/0.333, allocations: 53.64 kB / 445.4 MB, free: 33.65 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007615/0.3338, allocations: 0.5825 MB / 446 MB, free: 33.27 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001609/0.334, allocations: 0.7422 MB / 446.8 MB, free: 32.57 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001103/0.3341, allocations: 28.39 kB / 446.8 MB, free: 32.56 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.107e-05/0.3341, allocations: 19.22 kB / 446.8 MB, free: 32.55 MB / 350.1 MB Notification: Performance of SimCode: time 2.7e-07/0.3341, allocations: 0 / 446.8 MB, free: 32.55 MB / 350.1 MB Notification: Performance of Templates: time 0.004358/0.3385, allocations: 2.05 MB / 448.9 MB, free: 32.41 MB / 350.1 MB make -j1 -f AES_AES.Coursework.ThermSys_Transport.HE_simple_case_001.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: