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/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.001393/0.001393, allocations: 114.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.001433/0.001433, allocations: 210.3 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.508/1.508, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.1027/0.1027, 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,fileNamePrefix="AES_AES_Coursework_OOM_Intro_HelloWorld",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Coursework.OOM_Intro.HelloWorld,fileNamePrefix="AES_AES_Coursework_OOM_Intro_HelloWorld",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.00198/0.00198, allocations: 63.39 kB / 464.6 MB, free: 33.42 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1005/0.1024, allocations: 59.26 MB / 0.5116 GB, free: 168 kB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.OOM_Intro.HelloWorld): time 0.001761/0.1042, allocations: 0.5195 MB / 0.5121 GB, free: 15.64 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001338/0.1043, allocations: 15.92 kB / 0.5121 GB, free: 15.62 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.73e-05/0.1044, allocations: 4 kB / 0.5121 GB, free: 15.62 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.153e-05/0.1044, allocations: 0 / 0.5121 GB, free: 15.62 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.59e-05/0.1044, allocations: 7.938 kB / 0.5121 GB, free: 15.61 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.81e-05/0.1045, allocations: 3.984 kB / 0.5121 GB, free: 15.61 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.524e-05/0.1046, allocations: 11.98 kB / 0.5121 GB, free: 15.6 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.914e-05/0.1046, allocations: 4 kB / 0.5121 GB, free: 15.59 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.32e-05/0.1046, allocations: 3.828 kB / 0.5121 GB, free: 15.59 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.996e-05/0.1047, allocations: 7.984 kB / 0.5122 GB, free: 15.59 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.29e-05/0.1047, allocations: 0 / 0.5122 GB, free: 15.59 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.973e-06/0.1047, allocations: 0 / 0.5122 GB, free: 15.59 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.229e-05/0.1047, allocations: 0 / 0.5122 GB, free: 15.59 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.672e-05/0.1048, allocations: 7.938 kB / 0.5122 GB, free: 15.58 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 5.891e-05/0.1048, allocations: 12.2 kB / 0.5122 GB, free: 15.57 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.1048, allocations: 4 kB / 0.5122 GB, free: 15.56 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1048, allocations: 3.938 kB / 0.5122 GB, free: 15.56 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.586e-06/0.1048, allocations: 0 / 0.5122 GB, free: 15.56 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.0004672/0.1053, allocations: 327.5 kB / 0.5125 GB, free: 15.19 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.1053, allocations: 12.62 kB / 0.5125 GB, free: 15.18 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.384e-05/0.1054, allocations: 4.188 kB / 0.5125 GB, free: 15.17 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.577e-05/0.1054, allocations: 30.75 kB / 0.5125 GB, free: 15.13 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.909e-05/0.1054, allocations: 0.9375 kB / 0.5125 GB, free: 15.13 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001884/0.1056, allocations: 172.3 kB / 0.5127 GB, free: 14.93 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.97e-05/0.1056, allocations: 4.375 kB / 0.5127 GB, free: 14.92 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.746e-05/0.1056, allocations: 384 / 0.5127 GB, free: 14.92 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001119/0.1057, allocations: 38 kB / 0.5127 GB, free: 14.88 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.154e-06/0.1057, allocations: 0 / 0.5127 GB, free: 14.88 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.053e-06/0.1058, allocations: 0 / 0.5127 GB, free: 14.88 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.805e-06/0.1058, allocations: 0 / 0.5127 GB, free: 14.88 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.714e-05/0.1058, allocations: 11.94 kB / 0.5128 GB, free: 14.87 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001913/0.106, allocations: 157.7 kB / 0.5129 GB, free: 14.66 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.909e-05/0.1061, allocations: 26.59 kB / 0.5129 GB, free: 14.63 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.555e-05/0.1061, allocations: 4.859 kB / 0.5129 GB, free: 14.62 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.251e-05/0.1062, allocations: 4.062 kB / 0.5129 GB, free: 14.62 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.917e-05/0.1062, allocations: 38.5 kB / 0.513 GB, free: 14.57 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.1062, allocations: 0 / 0.513 GB, free: 14.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001949/0.1064, allocations: 53.62 kB / 0.513 GB, free: 14.51 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.705e-05/0.1064, allocations: 55.34 kB / 0.5131 GB, free: 14.45 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.632e-05/0.1065, allocations: 97.84 kB / 0.5132 GB, free: 14.34 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.565e-05/0.1065, allocations: 25.7 kB / 0.5132 GB, free: 14.31 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.008e-05/0.1066, allocations: 80.14 kB / 0.5133 GB, free: 14.23 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.83e-05/0.1066, allocations: 15.91 kB / 0.5133 GB, free: 14.21 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.808e-05/0.1066, allocations: 9.719 kB / 0.5133 GB, free: 14.2 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001514/0.1068, allocations: 314.8 kB / 0.5136 GB, free: 13.88 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.68e-05/0.1068, allocations: 12.11 kB / 0.5136 GB, free: 13.87 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.384e-05/0.1068, allocations: 4 kB / 0.5136 GB, free: 13.86 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002046/0.107, allocations: 28.84 kB / 0.5136 GB, free: 13.83 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/0.107, allocations: 3.984 kB / 0.5136 GB, free: 13.83 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001001/0.1071, allocations: 45.64 kB / 0.5137 GB, free: 13.78 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.1072, allocations: 11.92 kB / 0.5137 GB, free: 13.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.1072, allocations: 0 / 0.5137 GB, free: 13.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.1072, allocations: 32 / 0.5137 GB, free: 13.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.784e-05/0.1072, allocations: 12 kB / 0.5137 GB, free: 13.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.1072, allocations: 3.938 kB / 0.5137 GB, free: 13.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.377e-05/0.1073, allocations: 4 kB / 0.5137 GB, free: 13.75 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.889e-06/0.1073, allocations: 0 / 0.5137 GB, free: 13.75 MB / 382.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001626/0.1074, allocations: 118.6 kB / 0.5138 GB, free: 13.62 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.019e-05/0.1074, allocations: 3.938 kB / 0.5138 GB, free: 13.62 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.156e-05/0.1075, allocations: 7.391 kB / 0.5138 GB, free: 13.61 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-06/0.1075, allocations: 4 kB / 0.5138 GB, free: 13.61 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.1075, allocations: 4 kB / 0.5138 GB, free: 13.6 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.1075, allocations: 3.984 kB / 0.5139 GB, free: 13.6 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000138/0.1076, allocations: 153.7 kB / 0.514 GB, free: 13.4 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.1076, allocations: 0 / 0.514 GB, free: 13.4 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.765e-05/0.1077, allocations: 7.938 kB / 0.514 GB, free: 13.39 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.1077, allocations: 3.938 kB / 0.514 GB, free: 13.39 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.011e-06/0.1077, allocations: 0 / 0.514 GB, free: 13.39 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.1077, allocations: 0 / 0.514 GB, free: 13.39 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1077, allocations: 0 / 0.514 GB, free: 13.39 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001701/0.1079, allocations: 81.08 kB / 0.5141 GB, free: 13.29 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.987e-05/0.1079, allocations: 89.06 kB / 0.5142 GB, free: 13.18 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.063e-05/0.1079, allocations: 0 / 0.5142 GB, free: 13.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.392e-05/0.108, allocations: 0 / 0.5142 GB, free: 13.18 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.785e-05/0.108, allocations: 0 / 0.5142 GB, free: 13.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.544e-06/0.108, allocations: 0 / 0.5142 GB, free: 13.18 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.188e-05/0.108, allocations: 79.28 kB / 0.5142 GB, free: 13.11 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.108, allocations: 4.094 kB / 0.5143 GB, free: 13.1 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0001797/0.1082, allocations: 8 kB / 0.5143 GB, free: 13.09 MB / 382.1 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 (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.0004696/0.1087, allocations: 0.6127 MB / 0.5149 GB, free: 12.45 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001106/0.1088, allocations: 11.98 kB / 0.5149 GB, free: 12.44 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.654e-06/0.1088, allocations: 4.094 kB / 0.5149 GB, free: 12.43 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.832e-05/0.1088, allocations: 15.94 kB / 0.5149 GB, free: 12.42 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001351/0.109, allocations: 2.391 kB / 0.5149 GB, free: 12.42 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001112/0.1101, allocations: 1.11 MB / 0.516 GB, free: 11.23 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003175/0.1104, allocations: 0.6768 MB / 0.5166 GB, free: 10.52 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.978e-05/0.1104, allocations: 32 / 0.5166 GB, free: 10.52 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.096e-05/0.1104, allocations: 11.44 kB / 0.5166 GB, free: 10.51 MB / 382.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1104, allocations: 0 / 0.5166 GB, free: 10.51 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01728/0.1277, allocations: 1.141 MB / 0.5178 GB, free: 9.441 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.267/8.395, allocations: 8 kB / 0.5178 GB, free: 9.434 MB / 382.1 MB " [Timeout remaining time 651] (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/bin/OMSimulator --tempDir=temp_AES_AES_Coursework_OOM_Intro_HelloWorld_fmu --startTime=0 --stopTime=100 --stepSize=0.0333333 --timeout=50 --tolerance=1e-06 AES_AES_Coursework_OOM_Intro_HelloWorld.fmu > AES_AES.Coursework.OOM_Intro.HelloWorld.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.149338981951587] Failed to read output from testmodel.py, exit status != 0: 8.521688183012884 8.54392642 8.435095989 Calling exit ...