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/AES main/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/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") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/Coursework/ThermSys_case_studies/Heat_network/HC_SS_case_001.mo:3:1-67:19:writable] Warning: Expected the package to have within AES.Coursework.ThermSys_case_studies.Heat_network; but got within AES.Coursework.ThermSys_case_studies.heat_network; (ignoring the potential error; the class might have been inserted at an unexpected location). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/Coursework/ThermSys_case_studies/Heat_network/HC_case_001.mo:3:1-55:16:writable] Warning: Expected the package to have within AES.Coursework.ThermSys_case_studies.Heat_network; but got within AES.Coursework.ThermSys_case_studies.heat_network; (ignoring the potential error; the class might have been inserted at an unexpected location). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/Coursework/ThermSys_case_studies/Heat_network/HNcontrol_HC_SS_case_002.mo:3:1-91:29:writable] Warning: Expected the package to have within AES.Coursework.ThermSys_case_studies.Heat_network; but got within AES.Coursework.ThermSys_case_studies.heat_network; (ignoring the potential error; the class might have been inserted at an unexpected location). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/Coursework/ThermSys_case_studies/Heat_network/HNcontrol_HC_SS_case_001.mo:3:1-85:29:writable] Warning: Expected the package to have within AES.Coursework.ThermSys_case_studies.Heat_network; but got within AES.Coursework.ThermSys_case_studies.heat_network; (ignoring the potential error; the class might have been inserted at an unexpected location). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1312/0.1312, allocations: 21.41 MB / 36.67 MB, free: 1.105 MB / 24.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001442/0.001442, allocations: 181.2 kB / 42.84 MB, free: 3.863 MB / 33.03 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.531/1.531, allocations: 205 MB / 253.9 MB, free: 15.02 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006829/0.000683, allocations: 84.17 kB / 307.2 MB, free: 11.46 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002799/0.00028, allocations: 11.34 kB / 372.5 MB, free: 59.6 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07153/0.07182, allocations: 52.51 MB / 425 MB, free: 14.32 MB / 298.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_Transport.HE_simple_case_001): time 0.002535/0.07439, allocations: 2.444 MB / 427.4 MB, free: 11.85 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003426/0.07476, allocations: 235.1 kB / 427.7 MB, free: 11.62 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001111/0.0749, allocations: 11.94 kB / 427.7 MB, free: 11.61 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 5.932e-05/0.07496, allocations: 23.83 kB / 427.7 MB, free: 11.59 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001534/0.07512, allocations: 91.23 kB / 427.8 MB, free: 11.5 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001063/0.07523, allocations: 31.97 kB / 427.8 MB, free: 11.46 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001798/0.07542, allocations: 278.5 kB / 428.1 MB, free: 11.19 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001681/0.0756, allocations: 116.2 kB / 428.2 MB, free: 11.08 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001148/0.07572, allocations: 107.4 kB / 428.3 MB, free: 10.97 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.946e-05/0.07583, allocations: 95.44 kB / 428.4 MB, free: 10.88 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.398e-05/0.07586, allocations: 16 kB / 428.4 MB, free: 10.86 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.147e-05/0.07589, allocations: 8 kB / 428.4 MB, free: 10.86 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.621e-05/0.07592, allocations: 27.86 kB / 428.4 MB, free: 10.83 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.969e-05/0.076, allocations: 103.5 kB / 428.6 MB, free: 10.73 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001276/0.07613, allocations: 211.1 kB / 428.8 MB, free: 10.52 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.07614, allocations: 0 / 428.8 MB, free: 10.52 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.07615, allocations: 0 / 428.8 MB, free: 10.52 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.707e-06/0.07616, allocations: 0 / 428.8 MB, free: 10.52 MB / 298.7 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.0005019/0.07666, allocations: 0.514 MB / 429.3 MB, free: 9.953 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.958e-05/0.0767, allocations: 8.031 kB / 429.3 MB, free: 9.945 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.954e-05/0.07674, allocations: 24.66 kB / 429.3 MB, free: 9.922 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000197/0.07695, allocations: 260.8 kB / 429.6 MB, free: 9.625 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.054e-05/0.07697, allocations: 12.38 kB / 429.6 MB, free: 9.613 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.313e-05/0.07699, allocations: 16.28 kB / 429.6 MB, free: 9.598 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001947/0.07719, allocations: 174.5 kB / 429.8 MB, free: 9.406 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.07721, allocations: 4 kB / 429.8 MB, free: 9.402 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.312e-05/0.07723, allocations: 4 kB / 429.8 MB, free: 9.398 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.139e-06/0.07724, allocations: 4 kB / 429.8 MB, free: 9.395 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001445/0.07739, allocations: 91.89 kB / 429.9 MB, free: 9.305 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005502/0.07794, allocations: 0.8055 MB / 430.7 MB, free: 8.434 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001215/0.07808, allocations: 74.55 kB / 430.7 MB, free: 8.352 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.544e-05/0.07814, allocations: 44.84 kB / 430.8 MB, free: 8.305 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.066e-05/0.07816, allocations: 0 / 430.8 MB, free: 8.305 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.099e-05/0.07817, allocations: 34.56 kB / 430.8 MB, free: 8.262 MB / 298.7 MB Notification: Performance of pre-optimization done (n=8): time 8.42e-07/0.07818, allocations: 3.938 kB / 430.8 MB, free: 8.258 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002179/0.0784, allocations: 125.3 kB / 430.9 MB, free: 8.129 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.685e-05/0.07843, allocations: 51.56 kB / 431 MB, free: 8.066 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001754/0.07861, allocations: 275 kB / 431.3 MB, free: 7.789 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.885e-06/0.07862, allocations: 29.7 kB / 431.3 MB, free: 7.754 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.472e-05/0.07868, allocations: 155.8 kB / 431.4 MB, free: 7.598 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.542e-05/0.07871, allocations: 27.56 kB / 431.5 MB, free: 7.57 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.699e-05/0.07875, allocations: 29.7 kB / 431.5 MB, free: 7.535 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.209e-05/0.0788, allocations: 334.8 kB / 431.8 MB, free: 7.199 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.94e-05/0.07885, allocations: 24 kB / 431.8 MB, free: 7.176 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.198e-05/0.07891, allocations: 50.55 kB / 431.9 MB, free: 7.117 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004473/0.07936, allocations: 154.4 kB / 432 MB, free: 6.957 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.07937, allocations: 0 / 432 MB, free: 6.957 MB / 298.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000166/0.07954, allocations: 141.3 kB / 432.2 MB, free: 6.812 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.07956, allocations: 4 kB / 432.2 MB, free: 6.809 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.187e-06/0.07957, allocations: 0 / 432.2 MB, free: 6.809 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.07959, allocations: 4 kB / 432.2 MB, free: 6.805 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001523/0.07975, allocations: 31.92 kB / 432.2 MB, free: 6.773 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.07976, allocations: 3.938 kB / 432.2 MB, free: 6.77 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.097e-05/0.07985, allocations: 15.75 kB / 432.2 MB, free: 6.754 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.126e-06/0.07986, allocations: 4 kB / 432.2 MB, free: 6.75 MB / 298.7 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.0001693/0.08004, allocations: 140 kB / 432.4 MB, free: 6.605 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.482e-05/0.08008, allocations: 19.72 kB / 432.4 MB, free: 6.586 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.17e-05/0.08013, allocations: 25.73 kB / 432.4 MB, free: 6.555 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.08013, allocations: 0 / 432.4 MB, free: 6.555 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.08014, allocations: 3.938 kB / 432.4 MB, free: 6.551 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.08015, allocations: 3.938 kB / 432.4 MB, free: 6.547 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001718/0.08033, allocations: 245.5 kB / 432.7 MB, free: 6.258 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.08033, allocations: 4 kB / 432.7 MB, free: 6.254 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001325/0.08047, allocations: 16 kB / 432.7 MB, free: 6.238 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.08048, allocations: 4 kB / 432.7 MB, free: 6.234 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/0.0805, allocations: 7.984 kB / 432.7 MB, free: 6.227 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.0805, allocations: 0 / 432.7 MB, free: 6.227 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.08051, allocations: 3.938 kB / 432.7 MB, free: 6.223 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002119/0.08073, allocations: 231.2 kB / 432.9 MB, free: 5.98 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.091e-05/0.08078, allocations: 100.9 kB / 433 MB, free: 5.863 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.655e-05/0.08081, allocations: 4.062 kB / 433 MB, free: 5.859 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.976e-05/0.08092, allocations: 7.922 kB / 433 MB, free: 5.852 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.653e-05/0.08095, allocations: 15.81 kB / 433.1 MB, free: 5.836 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.649e-06/0.08096, allocations: 0 / 433.1 MB, free: 5.836 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001177/0.08108, allocations: 198 kB / 433.3 MB, free: 5.645 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.08109, allocations: 0 / 433.3 MB, free: 5.645 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000223/0.08132, allocations: 36 kB / 433.3 MB, free: 5.609 MB / 298.7 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 7.229e-05/0.08139, allocations: 95.25 kB / 433.4 MB, free: 5.508 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001403/0.08154, allocations: 79.91 kB / 433.5 MB, free: 5.43 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.08155, allocations: 0 / 433.5 MB, free: 5.43 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.42e-05/0.0816, allocations: 31.98 kB / 433.5 MB, free: 5.398 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003221/0.08193, allocations: 45.53 kB / 433.5 MB, free: 5.355 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006386/0.08257, allocations: 0.5537 MB / 434.1 MB, free: 4.773 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001318/0.08272, allocations: 0.7287 MB / 434.8 MB, free: 4.02 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001133/0.08284, allocations: 30.27 kB / 434.8 MB, free: 3.984 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.717e-05/0.08288, allocations: 19.44 kB / 434.9 MB, free: 3.965 MB / 298.7 MB Notification: Performance of SimCode: time 2.4e-07/0.08288, allocations: 4 kB / 434.9 MB, free: 3.961 MB / 298.7 MB Notification: Performance of Templates: time 0.003793/0.08668, allocations: 2.121 MB / 437 MB, free: 1.84 MB / 298.7 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)