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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001455/0.001455, allocations: 116.8 kB / 17.16 MB, free: 5.895 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001594/0.001594, allocations: 212 kB / 20.13 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.5/1.5, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1032/0.1032, allocations: 22.94 MB / 332.5 MB, free: 2.645 MB / 254.1 MB " [Timeout remaining time 180] Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(AES.Coursework.OOM_Intro.HelloWorld_inverse,fileNamePrefix="AES_AES_Coursework_OOM_Intro_HelloWorld_inverse",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Coursework.OOM_Intro.HelloWorld_inverse,fileNamePrefix="AES_AES_Coursework_OOM_Intro_HelloWorld_inverse",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: AES requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002001/0.002001, allocations: 67.59 kB / 466.7 MB, free: 32.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1008/0.1028, allocations: 59.26 MB / 0.5137 GB, free: 14.02 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.OOM_Intro.HelloWorld_inverse): time 0.001718/0.1045, allocations: 0.51 MB / 0.5142 GB, free: 13.52 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001776/0.1046, allocations: 31.88 kB / 0.5142 GB, free: 13.48 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.484e-05/0.1047, allocations: 0 / 0.5142 GB, free: 13.48 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.835e-05/0.1047, allocations: 0 / 0.5142 GB, free: 13.48 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.27e-05/0.1047, allocations: 3.938 kB / 0.5142 GB, free: 13.48 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001647/0.1049, allocations: 11.98 kB / 0.5142 GB, free: 13.47 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.593e-05/0.1049, allocations: 4 kB / 0.5142 GB, free: 13.46 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.7e-05/0.105, allocations: 3.984 kB / 0.5142 GB, free: 13.46 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.723e-05/0.105, allocations: 7.938 kB / 0.5142 GB, free: 13.45 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.387e-05/0.1051, allocations: 11.98 kB / 0.5142 GB, free: 13.44 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.28e-05/0.1051, allocations: 0 / 0.5142 GB, free: 13.44 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.54e-06/0.1051, allocations: 4 kB / 0.5142 GB, free: 13.44 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.338e-05/0.1051, allocations: 0 / 0.5142 GB, free: 13.44 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.161e-05/0.1051, allocations: 3.938 kB / 0.5142 GB, free: 13.43 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 5.235e-05/0.1052, allocations: 3.984 kB / 0.5142 GB, free: 13.43 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.1052, allocations: 4 kB / 0.5142 GB, free: 13.43 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1052, allocations: 0 / 0.5142 GB, free: 13.43 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.648e-06/0.1052, allocations: 0 / 0.5142 GB, free: 13.43 MB / 382.1 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.0004319/0.1056, allocations: 332.2 kB / 0.5146 GB, free: 13.05 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.1056, allocations: 8.625 kB / 0.5146 GB, free: 13.04 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.031e-05/0.1057, allocations: 192 / 0.5146 GB, free: 13.04 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.993e-05/0.1057, allocations: 34.75 kB / 0.5146 GB, free: 13 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.216e-05/0.1057, allocations: 4.891 kB / 0.5146 GB, free: 13 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001287/0.1058, allocations: 164.4 kB / 0.5148 GB, free: 12.8 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.225e-05/0.1059, allocations: 4.375 kB / 0.5148 GB, free: 12.79 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.499e-05/0.1059, allocations: 384 / 0.5148 GB, free: 12.79 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.777e-05/0.106, allocations: 38.02 kB / 0.5148 GB, free: 12.75 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.213e-06/0.106, allocations: 4 kB / 0.5148 GB, free: 12.75 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.983e-06/0.106, allocations: 3.938 kB / 0.5148 GB, free: 12.74 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.106, allocations: 4 kB / 0.5148 GB, free: 12.74 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.841e-05/0.106, allocations: 7.922 kB / 0.5148 GB, free: 12.73 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001674/0.1062, allocations: 149.7 kB / 0.515 GB, free: 12.54 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.549e-05/0.1062, allocations: 22.59 kB / 0.515 GB, free: 12.5 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.209e-05/0.1062, allocations: 12.92 kB / 0.515 GB, free: 12.49 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.463e-05/0.1063, allocations: 7.938 kB / 0.515 GB, free: 12.48 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.723e-05/0.1063, allocations: 34.5 kB / 0.515 GB, free: 12.44 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.1063, allocations: 0 / 0.515 GB, free: 12.44 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003136/0.1066, allocations: 65.62 kB / 0.5151 GB, free: 12.37 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.134e-05/0.1066, allocations: 55.39 kB / 0.5152 GB, free: 12.3 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.564e-05/0.1067, allocations: 93.86 kB / 0.5152 GB, free: 12.2 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.633e-05/0.1067, allocations: 25.7 kB / 0.5153 GB, free: 12.17 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.18e-05/0.1068, allocations: 84.45 kB / 0.5154 GB, free: 12.08 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.588e-05/0.1068, allocations: 15.84 kB / 0.5154 GB, free: 12.07 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.051e-05/0.1068, allocations: 13.72 kB / 0.5154 GB, free: 12.05 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001341/0.107, allocations: 318.8 kB / 0.5157 GB, free: 11.73 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.654e-05/0.107, allocations: 4 kB / 0.5157 GB, free: 11.72 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.185e-05/0.107, allocations: 4 kB / 0.5157 GB, free: 11.72 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.719e-05/0.107, allocations: 16.8 kB / 0.5157 GB, free: 11.7 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.11e-07/0.107, allocations: 0 / 0.5157 GB, free: 11.7 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 9.704e-05/0.1071, allocations: 53.75 kB / 0.5158 GB, free: 11.64 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/0.1071, allocations: 8 kB / 0.5158 GB, free: 11.63 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.1072, allocations: 4 kB / 0.5158 GB, free: 11.63 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.1072, allocations: 0 / 0.5158 GB, free: 11.63 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.968e-05/0.1072, allocations: 7.984 kB / 0.5158 GB, free: 11.62 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/0.1072, allocations: 0 / 0.5158 GB, free: 11.62 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.039e-05/0.1073, allocations: 4 kB / 0.5158 GB, free: 11.62 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.991e-06/0.1073, allocations: 0 / 0.5158 GB, free: 11.62 MB / 382.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.524e-05/0.1073, allocations: 110.6 kB / 0.5159 GB, free: 11.5 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.215e-05/0.1074, allocations: 7.938 kB / 0.5159 GB, free: 11.49 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001208/0.1075, allocations: 61.11 kB / 0.516 GB, free: 11.42 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.1075, allocations: 0 / 0.516 GB, free: 11.42 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.1075, allocations: 0 / 0.516 GB, free: 11.42 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.1075, allocations: 4 kB / 0.516 GB, free: 11.42 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001171/0.1076, allocations: 153.7 kB / 0.5161 GB, free: 11.22 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.1076, allocations: 3.938 kB / 0.5161 GB, free: 11.21 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.072e-05/0.1077, allocations: 7.938 kB / 0.5161 GB, free: 11.21 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.512e-06/0.1077, allocations: 0 / 0.5161 GB, free: 11.21 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.482e-05/0.1077, allocations: 8 kB / 0.5161 GB, free: 11.2 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.1077, allocations: 4 kB / 0.5161 GB, free: 11.2 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.1077, allocations: 0 / 0.5161 GB, free: 11.2 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.759e-05/0.1078, allocations: 77.02 kB / 0.5162 GB, free: 11.1 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.135e-05/0.1078, allocations: 81.05 kB / 0.5163 GB, free: 11 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.504e-05/0.1078, allocations: 7.984 kB / 0.5163 GB, free: 11 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.129e-05/0.1079, allocations: 4 kB / 0.5163 GB, free: 10.99 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.372e-05/0.1079, allocations: 4 kB / 0.5163 GB, free: 10.99 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.445e-06/0.1079, allocations: 0 / 0.5163 GB, free: 10.99 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.22e-05/0.1079, allocations: 83.22 kB / 0.5164 GB, free: 10.91 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1079, allocations: 0 / 0.5164 GB, free: 10.91 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0001752/0.1081, allocations: 4 kB / 0.5164 GB, free: 10.9 MB / 382.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003825/0.1085, allocations: 0.6007 MB / 0.517 GB, free: 10.27 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 8.996e-05/0.1086, allocations: 24.08 kB / 0.517 GB, free: 10.25 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1086, allocations: 0 / 0.517 GB, free: 10.25 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.483e-05/0.1086, allocations: 4 kB / 0.517 GB, free: 10.25 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001404/0.1087, allocations: 11.94 kB / 0.517 GB, free: 10.23 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003094/0.109, allocations: 118.5 kB / 0.5171 GB, free: 10.08 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003031/0.1093, allocations: 0.6768 MB / 0.5178 GB, free: 9.375 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.879e-05/0.1093, allocations: 3.938 kB / 0.5178 GB, free: 9.371 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.186e-05/0.1094, allocations: 15.44 kB / 0.5178 GB, free: 9.355 MB / 382.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1094, allocations: 0 / 0.5178 GB, free: 9.355 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01646/0.1258, allocations: 1.06 MB / 0.5188 GB, free: 8.375 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.358/8.484, allocations: 15.73 kB / 0.5188 GB, free: 8.359 MB / 382.1 MB " [Timeout remaining time 651] (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/bin/OMSimulator --tempDir=temp_AES_AES_Coursework_OOM_Intro_HelloWorld_inverse_fmu --startTime=0 --stopTime=100 --stepSize=0.0333333 --timeout=50 --tolerance=1e-06 AES_AES_Coursework_OOM_Intro_HelloWorld_inverse.fmu > AES_AES.Coursework.OOM_Intro.HelloWorld_inverse.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.309449364955071] Failed to read output from testmodel.py, exit status != 0: 8.617237295024097 8.632834637 8.524749743 Calling exit ...