Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_SR01.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.001289/0.001289, allocations: 97.92 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.001544/0.001544, allocations: 220.6 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.531/1.531, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.1086/0.1086, allocations: 22.94 MB / 336.2 MB, free: 12.4 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.Devel_test_models.Test_SR01,fileNamePrefix="AES_AES_Devel_test_models_Test_SR01",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_SR01,fileNamePrefix="AES_AES_Devel_test_models_Test_SR01",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.002433/0.002433, allocations: 71.89 kB / 472.2 MB, free: 7.84 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4006/0.403, allocations: 59.28 MB / 0.519 GB, free: 10.57 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_SR01): time 0.002316/0.4053, allocations: 0.7151 MB / 0.5197 GB, free: 10.23 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001928/0.4055, allocations: 10.38 kB / 0.5197 GB, free: 10.23 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.623e-05/0.4056, allocations: 1.031 kB / 0.5197 GB, free: 10.23 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.123e-05/0.4056, allocations: 3.938 kB / 0.5197 GB, free: 10.23 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 7.973e-05/0.4057, allocations: 5.641 kB / 0.5197 GB, free: 10.22 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.591e-05/0.4058, allocations: 7.453 kB / 0.5197 GB, free: 10.22 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 8.262e-05/0.4058, allocations: 27.16 kB / 0.5198 GB, free: 10.21 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.406, allocations: 3.438 kB / 0.5198 GB, free: 10.21 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.82e-05/0.406, allocations: 9.672 kB / 0.5198 GB, free: 10.2 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.708e-05/0.4061, allocations: 10.38 kB / 0.5198 GB, free: 10.2 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.949e-05/0.4061, allocations: 2.281 kB / 0.5198 GB, free: 10.2 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.187e-05/0.4061, allocations: 1.188 kB / 0.5198 GB, free: 10.2 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.871e-05/0.4061, allocations: 5.578 kB / 0.5198 GB, free: 10.2 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.876e-05/0.4061, allocations: 15.61 kB / 0.5198 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 8.725e-05/0.4062, allocations: 22.48 kB / 0.5198 GB, free: 10.17 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.7e-06/0.4062, allocations: 0 / 0.5198 GB, free: 10.17 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.146e-06/0.4062, allocations: 1.734 kB / 0.5198 GB, free: 10.17 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.761e-06/0.4062, allocations: 0 / 0.5198 GB, free: 10.17 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003524/0.4066, allocations: 256.5 kB / 0.5201 GB, free: 9.906 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/0.4066, allocations: 10.14 kB / 0.5201 GB, free: 9.906 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.845e-05/0.4067, allocations: 5.281 kB / 0.5201 GB, free: 9.902 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.943e-05/0.4067, allocations: 32.84 kB / 0.5201 GB, free: 9.863 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.732e-05/0.4067, allocations: 2.281 kB / 0.5201 GB, free: 9.863 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.922e-05/0.4068, allocations: 115.1 kB / 0.5202 GB, free: 9.734 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.052e-05/0.4068, allocations: 5.562 kB / 0.5202 GB, free: 9.73 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.588e-06/0.4068, allocations: 1.844 kB / 0.5202 GB, free: 9.73 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.492e-05/0.4069, allocations: 44.31 kB / 0.5203 GB, free: 9.691 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.839e-06/0.4069, allocations: 5 kB / 0.5203 GB, free: 9.691 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.237e-06/0.4069, allocations: 0 / 0.5203 GB, free: 9.691 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.4069, allocations: 1.672 kB / 0.5203 GB, free: 9.691 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.964e-05/0.407, allocations: 18.22 kB / 0.5203 GB, free: 9.684 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000303/0.4073, allocations: 222 kB / 0.5205 GB, free: 9.441 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.708e-05/0.4074, allocations: 38.08 kB / 0.5205 GB, free: 9.41 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.699e-05/0.4074, allocations: 18.55 kB / 0.5206 GB, free: 9.395 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.513e-05/0.4074, allocations: 1.094 kB / 0.5206 GB, free: 9.395 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.025e-05/0.4075, allocations: 33.41 kB / 0.5206 GB, free: 9.355 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.4075, allocations: 0 / 0.5206 GB, free: 9.355 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.000182/0.4077, allocations: 52.5 kB / 0.5207 GB, free: 9.316 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.882e-05/0.4077, allocations: 53.3 kB / 0.5207 GB, free: 9.254 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.985e-05/0.4077, allocations: 100.7 kB / 0.5208 GB, free: 9.152 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.913e-06/0.4077, allocations: 25.7 kB / 0.5208 GB, free: 9.121 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.608e-05/0.4078, allocations: 86.77 kB / 0.5209 GB, free: 9.035 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.695e-05/0.4078, allocations: 5.641 kB / 0.5209 GB, free: 9.031 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.821e-05/0.4078, allocations: 14.45 kB / 0.5209 GB, free: 9.016 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.922e-05/0.4079, allocations: 320.7 kB / 0.5212 GB, free: 8.695 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.764e-05/0.4079, allocations: 7.812 kB / 0.5212 GB, free: 8.691 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.355e-05/0.4079, allocations: 9.812 kB / 0.5212 GB, free: 8.688 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.864e-05/0.4079, allocations: 26.67 kB / 0.5213 GB, free: 8.668 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.4079, allocations: 0 / 0.5213 GB, free: 8.668 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.766e-05/0.408, allocations: 49.25 kB / 0.5213 GB, free: 8.629 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.408, allocations: 6.469 kB / 0.5213 GB, free: 8.629 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.408, allocations: 0 / 0.5213 GB, free: 8.629 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.408, allocations: 0 / 0.5213 GB, free: 8.629 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.077e-05/0.4081, allocations: 6.203 kB / 0.5213 GB, free: 8.629 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.4081, allocations: 4.891 kB / 0.5213 GB, free: 8.625 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.674e-05/0.4081, allocations: 1.25 kB / 0.5213 GB, free: 8.625 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.199e-06/0.4081, allocations: 4.969 kB / 0.5213 GB, free: 8.621 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 5.483e-05/0.4082, allocations: 116.8 kB / 0.5215 GB, free: 8.5 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.449e-05/0.4082, allocations: 1.094 kB / 0.5215 GB, free: 8.5 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001634/0.4084, allocations: 85.61 kB / 0.5215 GB, free: 8.434 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.4084, allocations: 4.562 kB / 0.5215 GB, free: 8.434 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.4084, allocations: 1.094 kB / 0.5215 GB, free: 8.434 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.668e-06/0.4084, allocations: 4.703 kB / 0.5215 GB, free: 8.43 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001305/0.4085, allocations: 131.4 kB / 0.5217 GB, free: 8.27 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.4085, allocations: 1 kB / 0.5217 GB, free: 8.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.775e-05/0.4086, allocations: 8.625 kB / 0.5217 GB, free: 8.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.4086, allocations: 0 / 0.5217 GB, free: 8.27 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.568e-06/0.4086, allocations: 2.016 kB / 0.5217 GB, free: 8.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.4086, allocations: 0 / 0.5217 GB, free: 8.27 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.4086, allocations: 1.766 kB / 0.5217 GB, free: 8.27 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001238/0.4087, allocations: 163 kB / 0.5218 GB, free: 8.117 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.558e-06/0.4087, allocations: 2.047 kB / 0.5218 GB, free: 8.117 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.358e-05/0.4087, allocations: 5.781 kB / 0.5218 GB, free: 8.113 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.594e-05/0.4088, allocations: 4 kB / 0.5219 GB, free: 8.109 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.74e-05/0.4088, allocations: 4.109 kB / 0.5219 GB, free: 8.109 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.19e-06/0.4088, allocations: 1.734 kB / 0.5219 GB, free: 8.109 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.391e-05/0.4089, allocations: 80.25 kB / 0.5219 GB, free: 8.035 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4089, allocations: 0 / 0.5219 GB, free: 8.035 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002147/0.4091, allocations: 9.062 kB / 0.5219 GB, free: 8.031 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 (5): * Single equations (assignments): 5 * 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.000301/0.4094, allocations: 0.681 MB / 0.5226 GB, free: 7.359 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001014/0.4095, allocations: 20.06 kB / 0.5226 GB, free: 7.355 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.4095, allocations: 3.938 kB / 0.5226 GB, free: 7.352 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.656e-05/0.4095, allocations: 18.41 kB / 0.5226 GB, free: 7.344 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003336/0.4098, allocations: 8.75 kB / 0.5227 GB, free: 7.34 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008214/0.4107, allocations: 1.195 MB / 0.5238 GB, free: 6.152 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.285e-05/0.4107, allocations: 62.83 kB / 0.5239 GB, free: 6.082 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.781e-05/0.4107, allocations: 4.625 kB / 0.5239 GB, free: 6.082 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.988e-05/0.4108, allocations: 18.88 kB / 0.5239 GB, free: 6.066 MB / 382.1 MB Notification: Performance of SimCode: time 3.11e-07/0.4108, allocations: 0 / 0.5239 GB, free: 6.066 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02062/0.4314, allocations: 1.485 MB / 0.5254 GB, free: 5.637 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.14/11.57, allocations: 7.156 kB / 0.5254 GB, free: 5.633 MB / 382.1 MB " [Timeout remaining time 648] (rm -f AES_AES.Devel_test_models.Test_SR01.pipe ; mkfifo AES_AES.Devel_test_models.Test_SR01.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_SR01.pipe >> ../files/AES_AES.Devel_test_models.Test_SR01.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Devel_test_models_Test_SR01_fmu --startTime=0 --stopTime=10 --stepSize=0.02 --timeout=50 --tolerance=1e-06 AES_AES_Devel_test_models_Test_SR01.fmu > AES_AES.Devel_test_models.Test_SR01.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.470128083019517] Failed to read output from testmodel.py, exit status != 0: 11.732519791927189 11.746326841 11.336857701 Calling exit ...