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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001241/0.001241, allocations: 109 kB / 16.45 MB, free: 6.508 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001297/0.001297, allocations: 196.6 kB / 19.41 MB, free: 3.676 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.398/1.398, allocations: 225.6 MB / 247.8 MB, free: 13.95 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.1072/0.1072, allocations: 22.7 MB / 325.4 MB, free: 3.527 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.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: "" <> 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001901/0.001901, allocations: 59.89 kB / 457.1 MB, free: 1.797 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1075/0.1094, allocations: 58.03 MB / 0.5031 GB, free: 7.66 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.OOM_Intro.HelloWorld_inverse): time 0.001661/0.111, allocations: 0.5128 MB / 0.5036 GB, free: 7.148 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001767/0.1112, allocations: 31.89 kB / 0.5036 GB, free: 7.117 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.129e-05/0.1112, allocations: 4 kB / 0.5036 GB, free: 7.113 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.287e-05/0.1112, allocations: 0 / 0.5036 GB, free: 7.113 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.575e-05/0.1113, allocations: 7.938 kB / 0.5036 GB, free: 7.105 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001819/0.1115, allocations: 11.97 kB / 0.5036 GB, free: 7.094 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.377e-05/0.1115, allocations: 8 kB / 0.5037 GB, free: 7.086 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.185e-05/0.1116, allocations: 7.984 kB / 0.5037 GB, free: 7.078 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.612e-05/0.1116, allocations: 0 / 0.5037 GB, free: 7.078 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.414e-05/0.1116, allocations: 3.938 kB / 0.5037 GB, free: 7.074 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.358e-05/0.1117, allocations: 4 kB / 0.5037 GB, free: 7.07 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.992e-06/0.1117, allocations: 0 / 0.5037 GB, free: 7.07 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.323e-05/0.1117, allocations: 0 / 0.5037 GB, free: 7.07 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.099e-05/0.1117, allocations: 0 / 0.5037 GB, free: 7.07 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 6.637e-05/0.1118, allocations: 19.91 kB / 0.5037 GB, free: 7.051 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.1118, allocations: 4 kB / 0.5037 GB, free: 7.047 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.1118, allocations: 0 / 0.5037 GB, free: 7.047 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.223e-06/0.1118, allocations: 0 / 0.5037 GB, free: 7.047 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.0004857/0.1123, allocations: 323.5 kB / 0.504 GB, free: 6.68 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.1123, allocations: 11.97 kB / 0.504 GB, free: 6.668 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.071e-05/0.1124, allocations: 34.75 kB / 0.504 GB, free: 6.625 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.184e-05/0.1124, allocations: 0.9375 kB / 0.504 GB, free: 6.625 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001592/0.1125, allocations: 164.4 kB / 0.5042 GB, free: 6.426 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.207e-05/0.1125, allocations: 8.375 kB / 0.5042 GB, free: 6.418 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.494e-05/0.1126, allocations: 4.328 kB / 0.5042 GB, free: 6.414 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001023/0.1127, allocations: 30.27 kB / 0.5042 GB, free: 6.379 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.1127, allocations: 3.938 kB / 0.5042 GB, free: 6.375 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.1127, allocations: 0 / 0.5042 GB, free: 6.375 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.1127, allocations: 4 kB / 0.5043 GB, free: 6.371 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.338e-05/0.1127, allocations: 0 / 0.5043 GB, free: 6.371 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001987/0.1129, allocations: 157.6 kB / 0.5044 GB, free: 6.168 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.848e-05/0.113, allocations: 26.61 kB / 0.5044 GB, free: 6.133 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.5e-05/0.113, allocations: 12.91 kB / 0.5044 GB, free: 6.117 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.236e-05/0.113, allocations: 0 / 0.5044 GB, free: 6.117 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.632e-05/0.113, allocations: 34.56 kB / 0.5045 GB, free: 6.074 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 7.41e-07/0.113, allocations: 0 / 0.5045 GB, free: 6.074 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003233/0.1134, allocations: 69.56 kB / 0.5045 GB, free: 6 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.933e-05/0.1134, allocations: 51.41 kB / 0.5046 GB, free: 5.938 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.571e-05/0.1135, allocations: 106 kB / 0.5047 GB, free: 5.824 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.919e-05/0.1135, allocations: 25.7 kB / 0.5047 GB, free: 5.793 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.499e-05/0.1136, allocations: 80.14 kB / 0.5048 GB, free: 5.711 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.389e-05/0.1136, allocations: 11.84 kB / 0.5048 GB, free: 5.699 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.341e-05/0.1136, allocations: 17.72 kB / 0.5048 GB, free: 5.676 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001421/0.1138, allocations: 314.8 kB / 0.5051 GB, free: 5.359 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.531e-05/0.1138, allocations: 4 kB / 0.5051 GB, free: 5.355 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.13e-05/0.1138, allocations: 7.938 kB / 0.5051 GB, free: 5.348 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.683e-05/0.1138, allocations: 24.92 kB / 0.5052 GB, free: 5.32 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.21e-07/0.1138, allocations: 0 / 0.5052 GB, free: 5.32 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.898e-05/0.1139, allocations: 45.69 kB / 0.5052 GB, free: 5.27 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.1139, allocations: 11.38 kB / 0.5052 GB, free: 5.262 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.1139, allocations: 0 / 0.5052 GB, free: 5.262 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.1139, allocations: 4 kB / 0.5052 GB, free: 5.258 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.231e-05/0.114, allocations: 7.984 kB / 0.5052 GB, free: 5.25 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.558e-06/0.114, allocations: 0 / 0.5052 GB, free: 5.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.346e-05/0.1141, allocations: 4 kB / 0.5052 GB, free: 5.246 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.41e-06/0.1141, allocations: 0 / 0.5052 GB, free: 5.246 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.183e-05/0.1141, allocations: 110.6 kB / 0.5053 GB, free: 5.129 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.139e-05/0.1141, allocations: 7.938 kB / 0.5053 GB, free: 5.121 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001183/0.1143, allocations: 61.28 kB / 0.5054 GB, free: 5.051 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-06/0.1143, allocations: 0 / 0.5054 GB, free: 5.051 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.1143, allocations: 0 / 0.5054 GB, free: 5.051 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-06/0.1143, allocations: 7.938 kB / 0.5054 GB, free: 5.043 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001265/0.1144, allocations: 153.7 kB / 0.5055 GB, free: 4.844 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.1144, allocations: 0 / 0.5055 GB, free: 4.844 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.7e-05/0.1144, allocations: 8 kB / 0.5056 GB, free: 4.836 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.1144, allocations: 3.938 kB / 0.5056 GB, free: 4.832 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.179e-06/0.1144, allocations: 0 / 0.5056 GB, free: 4.832 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.1144, allocations: 4 kB / 0.5056 GB, free: 4.828 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1144, allocations: 0 / 0.5056 GB, free: 4.828 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.97e-05/0.1145, allocations: 73.06 kB / 0.5056 GB, free: 4.738 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.764e-05/0.1146, allocations: 85 kB / 0.5057 GB, free: 4.637 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.202e-05/0.1146, allocations: 3.984 kB / 0.5057 GB, free: 4.633 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.916e-05/0.1146, allocations: 4 kB / 0.5057 GB, free: 4.629 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.717e-05/0.1146, allocations: 4 kB / 0.5057 GB, free: 4.625 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.394e-06/0.1146, allocations: 0 / 0.5057 GB, free: 4.625 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.93e-05/0.1147, allocations: 75.28 kB / 0.5058 GB, free: 4.551 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1147, allocations: 0 / 0.5058 GB, free: 4.551 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0001709/0.1149, allocations: 4 kB / 0.5058 GB, free: 4.547 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.000419/0.1153, allocations: 0.6086 MB / 0.5064 GB, free: 3.91 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 8.362e-05/0.1154, allocations: 15.98 kB / 0.5064 GB, free: 3.895 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.1154, allocations: 0 / 0.5064 GB, free: 3.895 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.517e-05/0.1154, allocations: 11.94 kB / 0.5064 GB, free: 3.883 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001275/0.1155, allocations: 0 / 0.5064 GB, free: 3.883 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003097/0.1158, allocations: 122.5 kB / 0.5065 GB, free: 3.723 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003488/0.1162, allocations: 0.6768 MB / 0.5072 GB, free: 3.02 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.075e-05/0.1162, allocations: 4 kB / 0.5072 GB, free: 3.016 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.025e-05/0.1162, allocations: 11.44 kB / 0.5072 GB, free: 3.004 MB / 382.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1162, allocations: 3.938 kB / 0.5072 GB, free: 3 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02149/0.1377, allocations: 1.037 MB / 0.5082 GB, free: 2.027 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.711/7.848, allocations: 2.969 kB / 0.5082 GB, free: 2.027 MB / 382.1 MB " [Timeout remaining time 652] (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: 10.574458860326558] Failed to read output from testmodel.py, exit status != 0: 7.9117850051261485 8.147694571 8.033411756 Calling exit ...