Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Coursework.OOM_Intro.HelloWorld.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 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Running command: "" <> buildModelFMU(AES.Coursework.OOM_Intro.HelloWorld,fileNamePrefix="AES_AES_Coursework_OOM_Intro_HelloWorld",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Coursework.OOM_Intro.HelloWorld,fileNamePrefix="AES_AES_Coursework_OOM_Intro_HelloWorld",fmuType="me",version="2.0",platforms={"static"}) [/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.1196/0.1196, allocations: 21.62 MB / 36.56 MB, free: 1.055 MB / 24.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00124/0.00124, allocations: 186.4 kB / 42.83 MB, free: 3.785 MB / 33.03 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.459/1.459, allocations: 223.2 MB / 272.1 MB, free: 1.797 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000966/0.000966, allocations: 103.3 kB / 328.7 MB, free: 12.15 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003355/0.0003356, allocations: 8 kB / 395.1 MB, free: 48.45 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1051/0.1054, allocations: 55.82 MB / 450.9 MB, free: 8.621 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3279/0.4334, allocations: 77.48 MB / 0.516 GB, free: 11.62 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002439/0.4337, allocations: 64.42 kB / 0.5161 GB, free: 11.62 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0008954/0.4346, allocations: 446 kB / 0.5165 GB, free: 11.31 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.245e-06/0.4346, allocations: 0 / 0.5165 GB, free: 11.31 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.042e-06/0.4346, allocations: 0 / 0.5165 GB, free: 11.31 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002681/0.4349, allocations: 336.3 kB / 0.5168 GB, free: 10.96 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.4349, allocations: 14.88 kB / 0.5168 GB, free: 10.96 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.17e-05/0.435, allocations: 30.56 kB / 0.5169 GB, free: 10.92 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.358e-05/0.435, allocations: 7.844 kB / 0.5169 GB, free: 10.91 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.728e-05/0.4351, allocations: 162.9 kB / 0.517 GB, free: 10.71 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.734e-05/0.4351, allocations: 3.844 kB / 0.517 GB, free: 10.71 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.86e-05/0.4351, allocations: 0 / 0.517 GB, free: 10.71 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001119/0.4353, allocations: 34.16 kB / 0.5171 GB, free: 10.68 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.4353, allocations: 1.453 kB / 0.5171 GB, free: 10.68 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.758e-06/0.4353, allocations: 5.297 kB / 0.5171 GB, free: 10.68 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.4353, allocations: 0 / 0.5171 GB, free: 10.68 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.096e-05/0.4354, allocations: 6.469 kB / 0.5171 GB, free: 10.68 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001403/0.4355, allocations: 155.4 kB / 0.5172 GB, free: 10.49 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.172e-05/0.4356, allocations: 31.39 kB / 0.5173 GB, free: 10.46 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.168e-05/0.4356, allocations: 0 / 0.5173 GB, free: 10.46 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.668e-05/0.4356, allocations: 30.56 kB / 0.5173 GB, free: 10.42 MB / 362.7 MB Notification: Performance of pre-optimization done (n=2): time 2.164e-06/0.4356, allocations: 0.75 kB / 0.5173 GB, free: 10.42 MB / 362.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001892/0.4358, allocations: 49.27 kB / 0.5173 GB, free: 10.39 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.042e-05/0.4359, allocations: 63.2 kB / 0.5174 GB, free: 10.32 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.733e-05/0.4359, allocations: 95.88 kB / 0.5175 GB, free: 10.23 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.378e-06/0.436, allocations: 26.64 kB / 0.5175 GB, free: 10.2 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.481e-05/0.436, allocations: 80.14 kB / 0.5176 GB, free: 10.11 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.778e-05/0.436, allocations: 9.922 kB / 0.5176 GB, free: 10.11 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.785e-06/0.436, allocations: 0 / 0.5176 GB, free: 10.11 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.919e-05/0.4361, allocations: 314.5 kB / 0.5179 GB, free: 9.797 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.613e-05/0.4361, allocations: 0 / 0.5179 GB, free: 9.797 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.103e-05/0.4361, allocations: 9.562 kB / 0.5179 GB, free: 9.797 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.567e-05/0.4362, allocations: 8.688 kB / 0.5179 GB, free: 9.793 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.4362, allocations: 0 / 0.5179 GB, free: 9.793 MB / 362.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.389e-05/0.4363, allocations: 45.48 kB / 0.518 GB, free: 9.762 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.4363, allocations: 11.47 kB / 0.518 GB, free: 9.758 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.4363, allocations: 0 / 0.518 GB, free: 9.758 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.4363, allocations: 0 / 0.518 GB, free: 9.758 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.042e-05/0.4364, allocations: 7.406 kB / 0.518 GB, free: 9.758 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.271e-06/0.4364, allocations: 0 / 0.518 GB, free: 9.758 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.527e-05/0.4365, allocations: 14.39 kB / 0.518 GB, free: 9.75 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.042e-06/0.4365, allocations: 4 kB / 0.518 GB, free: 9.746 MB / 362.7 MB Warning: Assuming fixed start value for the following 1 variables: x:VARIABLE(start = xstart fixed = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 3 * 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.0001481/0.4366, allocations: 112 kB / 0.5181 GB, free: 9.629 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.646e-06/0.4366, allocations: 7.781 kB / 0.5181 GB, free: 9.625 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.206e-05/0.4367, allocations: 5.938 kB / 0.5181 GB, free: 9.625 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/0.4367, allocations: 0 / 0.5181 GB, free: 9.625 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.4367, allocations: 0 / 0.5181 GB, free: 9.625 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.708e-06/0.4367, allocations: 3.75 kB / 0.5181 GB, free: 9.625 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.222e-05/0.4368, allocations: 155.2 kB / 0.5183 GB, free: 9.434 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.4368, allocations: 0 / 0.5183 GB, free: 9.434 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.268e-05/0.4369, allocations: 11.69 kB / 0.5183 GB, free: 9.43 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.4369, allocations: 0 / 0.5183 GB, free: 9.43 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-06/0.4369, allocations: 0 / 0.5183 GB, free: 9.43 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.4369, allocations: 0 / 0.5183 GB, free: 9.43 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.4369, allocations: 2.766 kB / 0.5183 GB, free: 9.43 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001348/0.437, allocations: 76.83 kB / 0.5184 GB, free: 9.359 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.251e-05/0.4371, allocations: 79.83 kB / 0.5184 GB, free: 9.266 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.39e-05/0.4371, allocations: 11.55 kB / 0.5184 GB, free: 9.262 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.17e-05/0.4371, allocations: 0 / 0.5184 GB, free: 9.262 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.823e-05/0.4371, allocations: 0 / 0.5184 GB, free: 9.262 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.047e-06/0.4371, allocations: 2.469 kB / 0.5184 GB, free: 9.262 MB / 362.7 MB Notification: Performance of sorting global known variables: time 2.011e-05/0.4372, allocations: 85.97 kB / 0.5185 GB, free: 9.184 MB / 362.7 MB Notification: Performance of sort global known variables: time 1e-07/0.4372, allocations: 0 / 0.5185 GB, free: 9.184 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001706/0.4374, allocations: 3.844 kB / 0.5185 GB, free: 9.184 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (x) * 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 (2): * Single equations (assignments): 2 * 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 0.0002869/0.4376, allocations: 0.6095 MB / 0.5191 GB, free: 8.586 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.983e-05/0.4378, allocations: 21.31 kB / 0.5191 GB, free: 8.582 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.4378, allocations: 0 / 0.5191 GB, free: 8.582 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.828e-05/0.4378, allocations: 6.719 kB / 0.5192 GB, free: 8.582 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001092/0.4379, allocations: 3.656 kB / 0.5192 GB, free: 8.582 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004992/0.4384, allocations: 356.5 kB / 0.5195 GB, free: 8.266 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001048/0.4385, allocations: 0.6761 MB / 0.5202 GB, free: 7.57 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.132e-05/0.4386, allocations: 7.875 kB / 0.5202 GB, free: 7.562 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.444e-05/0.4386, allocations: 15.28 kB / 0.5202 GB, free: 7.551 MB / 362.7 MB Notification: Performance of SimCode: time 2.2e-07/0.4386, allocations: 0 / 0.5202 GB, free: 7.551 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01085/0.4495, allocations: 0.8733 MB / 0.521 GB, free: 7.406 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001325/0.4496, allocations: 146.3 kB / 0.5212 GB, free: 7.168 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.404/1.853, allocations: 0 / 0.5212 GB, free: 7.168 MB / 362.7 MB (rm -f AES_AES.Coursework.OOM_Intro.HelloWorld.pipe ; mkfifo AES_AES.Coursework.OOM_Intro.HelloWorld.pipe ; head -c 1048576 < AES_AES.Coursework.OOM_Intro.HelloWorld.pipe >> ../files/AES_AES.Coursework.OOM_Intro.HelloWorld.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_AES_AES_Coursework_OOM_Intro_HelloWorld_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 AES_AES_Coursework_OOM_Intro_HelloWorld.fmu > AES_AES.Coursework.OOM_Intro.HelloWorld.pipe 2>&1)