Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Coursework.OOM_Intro.HelloWorld_inverse.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_inverse,fileNamePrefix="AES_AES_Coursework_OOM_Intro_HelloWorld_inverse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Coursework.OOM_Intro.HelloWorld_inverse,fileNamePrefix="AES_AES_Coursework_OOM_Intro_HelloWorld_inverse",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.1121/0.1121, allocations: 21.61 MB / 36.56 MB, free: 1.121 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.001031/0.001031, allocations: 183.5 kB / 42.83 MB, free: 3.836 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.374/1.374, allocations: 223.2 MB / 272.1 MB, free: 1.781 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.0008856/0.0008855, allocations: 99.12 kB / 328.7 MB, free: 12.12 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003354/0.0003354, allocations: 12 kB / 397.1 MB, free: 46.41 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09474/0.09509, allocations: 55.81 MB / 452.9 MB, free: 6.578 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3523/0.4474, allocations: 77.51 MB / 0.518 GB, free: 13.02 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001947/0.4477, allocations: 63.95 kB / 0.5181 GB, free: 13.02 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0008774/0.4486, allocations: 467.6 kB / 0.5185 GB, free: 12.71 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.055e-06/0.4486, allocations: 2.438 kB / 0.5185 GB, free: 12.71 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.253e-05/0.4486, allocations: 0.75 kB / 0.5185 GB, free: 12.71 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.0002275/0.4488, allocations: 326 kB / 0.5188 GB, free: 12.36 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.4489, allocations: 10.84 kB / 0.5188 GB, free: 12.36 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.493e-05/0.4489, allocations: 34.22 kB / 0.5189 GB, free: 12.32 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.988e-05/0.4489, allocations: 4.719 kB / 0.5189 GB, free: 12.31 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.73e-05/0.449, allocations: 165.3 kB / 0.519 GB, free: 12.12 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.049e-05/0.449, allocations: 1.219 kB / 0.519 GB, free: 12.12 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.48e-05/0.449, allocations: 3.875 kB / 0.519 GB, free: 12.12 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.871e-05/0.4491, allocations: 27.91 kB / 0.5191 GB, free: 12.09 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.622e-06/0.4491, allocations: 4 kB / 0.5191 GB, free: 12.08 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.456e-06/0.4491, allocations: 7.766 kB / 0.5191 GB, free: 12.08 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.4492, allocations: 0 / 0.5191 GB, free: 12.08 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.575e-05/0.4492, allocations: 3.312 kB / 0.5191 GB, free: 12.08 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001187/0.4493, allocations: 160.2 kB / 0.5192 GB, free: 11.89 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.352e-05/0.4494, allocations: 29.39 kB / 0.5193 GB, free: 11.86 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.479e-05/0.4494, allocations: 0 / 0.5193 GB, free: 11.86 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.714e-05/0.4494, allocations: 35.5 kB / 0.5193 GB, free: 11.82 MB / 362.7 MB Notification: Performance of pre-optimization done (n=2): time 7.91e-07/0.4494, allocations: 0 / 0.5193 GB, free: 11.82 MB / 362.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002874/0.4497, allocations: 66.3 kB / 0.5194 GB, free: 11.78 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.338e-05/0.4497, allocations: 59.17 kB / 0.5194 GB, free: 11.71 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.108e-05/0.4498, allocations: 87.06 kB / 0.5195 GB, free: 11.62 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.254e-06/0.4498, allocations: 25.7 kB / 0.5195 GB, free: 11.59 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.686e-05/0.4498, allocations: 87.92 kB / 0.5196 GB, free: 11.51 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.099e-05/0.4499, allocations: 12.16 kB / 0.5196 GB, free: 11.5 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.497e-06/0.4499, allocations: 3.312 kB / 0.5196 GB, free: 11.5 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 4.758e-05/0.4499, allocations: 313 kB / 0.5199 GB, free: 11.18 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.268e-05/0.4499, allocations: 3.688 kB / 0.5199 GB, free: 11.18 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.959e-06/0.4499, allocations: 9.453 kB / 0.5199 GB, free: 11.18 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.964e-05/0.45, allocations: 3.844 kB / 0.5199 GB, free: 11.18 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-07/0.45, allocations: 0 / 0.5199 GB, free: 11.18 MB / 362.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.665e-05/0.45, allocations: 50.72 kB / 0.52 GB, free: 11.14 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/0.4501, allocations: 9.891 kB / 0.52 GB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.4501, allocations: 0 / 0.52 GB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.4501, allocations: 4 kB / 0.52 GB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.81e-05/0.4502, allocations: 10.78 kB / 0.52 GB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.674e-06/0.4502, allocations: 4.203 kB / 0.52 GB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.223e-05/0.4502, allocations: 3.953 kB / 0.52 GB, free: 11.13 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.532e-06/0.4502, allocations: 0 / 0.52 GB, free: 11.13 MB / 362.7 MB 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 4.628e-05/0.4503, allocations: 109.8 kB / 0.5201 GB, free: 11.02 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.193e-06/0.4503, allocations: 0 / 0.5201 GB, free: 11.02 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001024/0.4504, allocations: 56.39 kB / 0.5202 GB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.4504, allocations: 4 kB / 0.5202 GB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.4504, allocations: 0 / 0.5202 GB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.4504, allocations: 2.484 kB / 0.5202 GB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.422e-05/0.4505, allocations: 162 kB / 0.5203 GB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.4505, allocations: 0 / 0.5203 GB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.765e-05/0.4506, allocations: 10.22 kB / 0.5203 GB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.4506, allocations: 1.094 kB / 0.5203 GB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.202e-06/0.4506, allocations: 0 / 0.5203 GB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.4506, allocations: 0 / 0.5203 GB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.4506, allocations: 0 / 0.5203 GB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.189e-05/0.4506, allocations: 77.38 kB / 0.5204 GB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.811e-05/0.4507, allocations: 81.84 kB / 0.5205 GB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.058e-05/0.4507, allocations: 0 / 0.5205 GB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.918e-05/0.4507, allocations: 0 / 0.5205 GB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.12e-05/0.4507, allocations: 0 / 0.5205 GB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.662e-06/0.4507, allocations: 3.844 kB / 0.5205 GB, free: 10.62 MB / 362.7 MB Notification: Performance of sorting global known variables: time 1.715e-05/0.4508, allocations: 88.81 kB / 0.5206 GB, free: 10.54 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4508, allocations: 4.094 kB / 0.5206 GB, free: 10.54 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001758/0.451, allocations: 7.094 kB / 0.5206 GB, free: 10.54 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (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 Backend phase and start with SimCode phase: time 0.0002068/0.4512, allocations: 0.6024 MB / 0.5212 GB, free: 9.945 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 6.616e-05/0.4512, allocations: 13.47 kB / 0.5212 GB, free: 9.945 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.4512, allocations: 3.938 kB / 0.5212 GB, free: 9.941 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.233e-05/0.4513, allocations: 15.47 kB / 0.5212 GB, free: 9.934 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.442e-05/0.4514, allocations: 0 / 0.5212 GB, free: 9.934 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002567/0.4516, allocations: 123.1 kB / 0.5213 GB, free: 9.797 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.426e-05/0.4517, allocations: 0.6752 MB / 0.522 GB, free: 9.102 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.538e-05/0.4518, allocations: 0 / 0.522 GB, free: 9.102 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.351e-05/0.4518, allocations: 12.56 kB / 0.522 GB, free: 9.094 MB / 362.7 MB Notification: Performance of SimCode: time 3.01e-07/0.4518, allocations: 3.844 kB / 0.522 GB, free: 9.094 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01082/0.4626, allocations: 0.8261 MB / 0.5228 GB, free: 8.941 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001476/0.4628, allocations: 155.8 kB / 0.523 GB, free: 8.707 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.394/1.857, allocations: 0 / 0.523 GB, free: 8.707 MB / 362.7 MB (rm -f AES_AES.Coursework.OOM_Intro.HelloWorld_inverse.pipe ; mkfifo AES_AES.Coursework.OOM_Intro.HelloWorld_inverse.pipe ; head -c 1048576 < AES_AES.Coursework.OOM_Intro.HelloWorld_inverse.pipe >> ../files/AES_AES.Coursework.OOM_Intro.HelloWorld_inverse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_AES_AES_Coursework_OOM_Intro_HelloWorld_inverse_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 AES_AES_Coursework_OOM_Intro_HelloWorld_inverse.fmu > AES_AES.Coursework.OOM_Intro.HelloWorld_inverse.pipe 2>&1)