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.001354/0.001354, allocations: 100.3 kB / 19.73 MB, free: 2.133 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.001565/0.001565, allocations: 221.4 kB / 23.03 MB, free: 4.945 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.503/1.503, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.1058/0.1058, allocations: 22.94 MB / 336.1 MB, free: 12.43 MB / 270.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.002309/0.002309, allocations: 63.89 kB / 472.2 MB, free: 7.906 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3117/0.314, allocations: 59.29 MB / 0.519 GB, free: 10.61 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.OOM_Intro.HelloWorld_inverse): time 0.00155/0.3155, allocations: 0.5258 MB / 0.5195 GB, free: 10.37 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001592/0.3157, allocations: 31.27 kB / 0.5195 GB, free: 10.35 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.495e-05/0.3157, allocations: 0.6875 kB / 0.5195 GB, free: 10.35 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.214e-05/0.3157, allocations: 3.938 kB / 0.5195 GB, free: 10.34 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.037e-05/0.3158, allocations: 0.5312 kB / 0.5195 GB, free: 10.34 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001403/0.3159, allocations: 4.203 kB / 0.5195 GB, free: 10.34 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.11e-05/0.3159, allocations: 12.58 kB / 0.5196 GB, free: 10.34 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.93e-05/0.316, allocations: 2.031 kB / 0.5196 GB, free: 10.34 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.761e-05/0.316, allocations: 7.219 kB / 0.5196 GB, free: 10.34 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.016e-05/0.3161, allocations: 11.42 kB / 0.5196 GB, free: 10.33 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.224e-05/0.3161, allocations: 1.531 kB / 0.5196 GB, free: 10.33 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.382e-06/0.3161, allocations: 0 / 0.5196 GB, free: 10.33 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.542e-05/0.3161, allocations: 0.6094 kB / 0.5196 GB, free: 10.33 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.999e-05/0.3161, allocations: 2.047 kB / 0.5196 GB, free: 10.33 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 5.429e-05/0.3162, allocations: 8.641 kB / 0.5196 GB, free: 10.32 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.3162, allocations: 3.094 kB / 0.5196 GB, free: 10.32 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.3162, allocations: 0 / 0.5196 GB, free: 10.32 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.551e-06/0.3162, allocations: 0 / 0.5196 GB, free: 10.32 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.0003008/0.3165, allocations: 248.6 kB / 0.5198 GB, free: 10.07 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.3165, allocations: 10.02 kB / 0.5198 GB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.554e-05/0.3165, allocations: 1.312 kB / 0.5198 GB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.803e-05/0.3166, allocations: 32.73 kB / 0.5199 GB, free: 10.03 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.076e-05/0.3166, allocations: 8.891 kB / 0.5199 GB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.619e-05/0.3166, allocations: 105.5 kB / 0.52 GB, free: 9.895 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.177e-06/0.3166, allocations: 1.625 kB / 0.52 GB, free: 9.895 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.665e-05/0.3167, allocations: 1.469 kB / 0.52 GB, free: 9.895 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.83e-05/0.3167, allocations: 40.17 kB / 0.52 GB, free: 9.855 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.3167, allocations: 3.938 kB / 0.52 GB, free: 9.852 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.643e-06/0.3168, allocations: 0 / 0.52 GB, free: 9.852 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.637e-06/0.3168, allocations: 1.156 kB / 0.52 GB, free: 9.852 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.365e-05/0.3168, allocations: 3.531 kB / 0.52 GB, free: 9.852 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001065/0.3169, allocations: 126.8 kB / 0.5202 GB, free: 9.691 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.057e-05/0.3169, allocations: 24.7 kB / 0.5202 GB, free: 9.664 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.706e-05/0.317, allocations: 11.91 kB / 0.5202 GB, free: 9.652 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.532e-05/0.317, allocations: 1.875 kB / 0.5202 GB, free: 9.652 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.929e-05/0.317, allocations: 35.81 kB / 0.5202 GB, free: 9.609 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.317, allocations: 0 / 0.5202 GB, free: 9.609 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002862/0.3173, allocations: 66.09 kB / 0.5203 GB, free: 9.566 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.142e-05/0.3173, allocations: 51.41 kB / 0.5203 GB, free: 9.504 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.139e-05/0.3173, allocations: 95.06 kB / 0.5204 GB, free: 9.406 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.512e-06/0.3173, allocations: 26.02 kB / 0.5204 GB, free: 9.375 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.122e-05/0.3174, allocations: 89.69 kB / 0.5205 GB, free: 9.285 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.926e-05/0.3174, allocations: 18.61 kB / 0.5206 GB, free: 9.27 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.711e-05/0.3174, allocations: 14.25 kB / 0.5206 GB, free: 9.254 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.334e-05/0.3174, allocations: 316.8 kB / 0.5209 GB, free: 8.938 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.52e-05/0.3175, allocations: 7.828 kB / 0.5209 GB, free: 8.934 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.157e-05/0.3175, allocations: 3.297 kB / 0.5209 GB, free: 8.934 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.342e-05/0.3175, allocations: 18.14 kB / 0.5209 GB, free: 8.922 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.91e-07/0.3175, allocations: 0 / 0.5209 GB, free: 8.922 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.171e-05/0.3176, allocations: 48.75 kB / 0.5209 GB, free: 8.883 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.078e-05/0.3176, allocations: 4.5 kB / 0.5209 GB, free: 8.883 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.3176, allocations: 1.938 kB / 0.5209 GB, free: 8.883 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.046e-05/0.3176, allocations: 4 kB / 0.521 GB, free: 8.879 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.97e-05/0.3177, allocations: 11.75 kB / 0.521 GB, free: 8.875 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.3177, allocations: 1.094 kB / 0.521 GB, free: 8.875 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.243e-05/0.3177, allocations: 1.734 kB / 0.521 GB, free: 8.875 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.231e-06/0.3177, allocations: 1.125 kB / 0.521 GB, free: 8.875 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 3.892e-05/0.3177, allocations: 111.6 kB / 0.5211 GB, free: 8.758 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.047e-06/0.3177, allocations: 5.719 kB / 0.5211 GB, free: 8.754 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.858e-05/0.3178, allocations: 56.34 kB / 0.5211 GB, free: 8.707 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.3178, allocations: 0 / 0.5211 GB, free: 8.707 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.3178, allocations: 5.062 kB / 0.5211 GB, free: 8.703 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.3178, allocations: 0.6562 kB / 0.5211 GB, free: 8.703 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.75e-05/0.3179, allocations: 122.8 kB / 0.5213 GB, free: 8.547 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.3179, allocations: 1.734 kB / 0.5213 GB, free: 8.547 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.4e-05/0.318, allocations: 15.38 kB / 0.5213 GB, free: 8.539 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/0.318, allocations: 4.594 kB / 0.5213 GB, free: 8.535 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.833e-06/0.318, allocations: 1.094 kB / 0.5213 GB, free: 8.535 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.318, allocations: 0 / 0.5213 GB, free: 8.535 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/0.318, allocations: 0.7031 kB / 0.5213 GB, free: 8.535 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.922e-05/0.3181, allocations: 70.56 kB / 0.5213 GB, free: 8.465 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.843e-06/0.3181, allocations: 9.531 kB / 0.5214 GB, free: 8.457 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.191e-05/0.3181, allocations: 5.453 kB / 0.5214 GB, free: 8.453 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.111e-05/0.3181, allocations: 1.156 kB / 0.5214 GB, free: 8.453 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.198e-05/0.3181, allocations: 2.219 kB / 0.5214 GB, free: 8.453 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.146e-06/0.3181, allocations: 0.5625 kB / 0.5214 GB, free: 8.453 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.584e-05/0.3181, allocations: 77.98 kB / 0.5214 GB, free: 8.379 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3181, allocations: 0 / 0.5214 GB, free: 8.379 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0001756/0.3183, allocations: 3.5 kB / 0.5214 GB, free: 8.379 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.0001966/0.3185, allocations: 0.6068 MB / 0.522 GB, free: 7.773 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 7.703e-05/0.3186, allocations: 21.47 kB / 0.5221 GB, free: 7.766 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.3186, allocations: 3.938 kB / 0.5221 GB, free: 7.762 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.675e-05/0.3186, allocations: 18.39 kB / 0.5221 GB, free: 7.75 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001326/0.3187, allocations: 1.656 kB / 0.5221 GB, free: 7.75 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002563/0.319, allocations: 127.7 kB / 0.5222 GB, free: 7.605 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.747e-05/0.319, allocations: 58.22 kB / 0.5223 GB, free: 7.535 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.875e-05/0.319, allocations: 1.797 kB / 0.5223 GB, free: 7.535 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.861e-05/0.3191, allocations: 9.141 kB / 0.5223 GB, free: 7.531 MB / 382.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3191, allocations: 5.25 kB / 0.5223 GB, free: 7.527 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0193/0.3384, allocations: 1.201 MB / 0.5234 GB, free: 7.121 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.39/11.73, allocations: 13.14 kB / 0.5235 GB, free: 7.117 MB / 382.1 MB " [Timeout remaining time 648] (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: 14.62184358597733] Failed to read output from testmodel.py, exit status != 0: 11.896291421959177 11.919455072 11.598840357 Calling exit ...