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.001737/0.001737, allocations: 108.3 kB / 19.73 MB, free: 1.898 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.00198/0.00198, allocations: 212.6 kB / 23.01 MB, free: 4.992 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.514/1.514, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.1084/0.1084, allocations: 24.05 MB / 337.2 MB, free: 11.32 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_SR01,fileNamePrefix="AES_AES_Devel_test_models_Test_SR01",fmuType="me",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.002815/0.002815, allocations: 71.89 kB / 473.8 MB, free: 6.371 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3969/0.3997, allocations: 59.57 MB / 0.5209 GB, free: 10.12 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_SR01): time 0.001871/0.4016, allocations: 0.7192 MB / 0.5216 GB, free: 9.676 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001642/0.4017, allocations: 22.61 kB / 0.5216 GB, free: 9.66 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.858e-05/0.4018, allocations: 1.156 kB / 0.5216 GB, free: 9.66 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.302e-05/0.4018, allocations: 0.6094 kB / 0.5216 GB, free: 9.66 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.507e-05/0.4019, allocations: 5.688 kB / 0.5216 GB, free: 9.656 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.609e-05/0.4019, allocations: 11.75 kB / 0.5216 GB, free: 9.648 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.513e-05/0.402, allocations: 14.56 kB / 0.5217 GB, free: 9.645 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.823e-05/0.4021, allocations: 8.406 kB / 0.5217 GB, free: 9.641 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.504e-05/0.4021, allocations: 7.828 kB / 0.5217 GB, free: 9.637 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.758e-05/0.4022, allocations: 16.42 kB / 0.5217 GB, free: 9.629 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.765e-05/0.4022, allocations: 1.5 kB / 0.5217 GB, free: 9.629 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.014e-05/0.4022, allocations: 2.781 kB / 0.5217 GB, free: 9.629 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.651e-05/0.4022, allocations: 8.688 kB / 0.5217 GB, free: 9.621 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.354e-05/0.4023, allocations: 3.188 kB / 0.5217 GB, free: 9.621 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 7.464e-05/0.4023, allocations: 19.14 kB / 0.5217 GB, free: 9.613 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.4023, allocations: 4 kB / 0.5217 GB, free: 9.609 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.4023, allocations: 0 / 0.5217 GB, free: 9.609 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.4024, allocations: 1.312 kB / 0.5217 GB, free: 9.609 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.0003184/0.4027, allocations: 254.8 kB / 0.522 GB, free: 9.348 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.4027, allocations: 9.828 kB / 0.522 GB, free: 9.348 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.637e-05/0.4027, allocations: 36.78 kB / 0.522 GB, free: 9.305 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.12e-05/0.4028, allocations: 2.781 kB / 0.522 GB, free: 9.305 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.098e-05/0.4028, allocations: 114.5 kB / 0.5221 GB, free: 9.172 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.136e-05/0.4029, allocations: 1.781 kB / 0.5221 GB, free: 9.172 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.348e-06/0.4029, allocations: 1.812 kB / 0.5221 GB, free: 9.172 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.794e-05/0.403, allocations: 48.45 kB / 0.5222 GB, free: 9.129 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.677e-06/0.403, allocations: 3.938 kB / 0.5222 GB, free: 9.125 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.736e-06/0.403, allocations: 1.312 kB / 0.5222 GB, free: 9.125 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.403, allocations: 0.7969 kB / 0.5222 GB, free: 9.125 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.627e-05/0.403, allocations: 14.02 kB / 0.5222 GB, free: 9.121 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002679/0.4033, allocations: 222.9 kB / 0.5224 GB, free: 8.879 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001119/0.4034, allocations: 44.72 kB / 0.5225 GB, free: 8.84 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.743e-05/0.4034, allocations: 18.73 kB / 0.5225 GB, free: 8.824 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.007e-05/0.4035, allocations: 1.672 kB / 0.5225 GB, free: 8.824 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.734e-05/0.4035, allocations: 37.44 kB / 0.5225 GB, free: 8.781 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.4035, allocations: 0 / 0.5225 GB, free: 8.781 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001507/0.4036, allocations: 52.59 kB / 0.5226 GB, free: 8.742 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.544e-05/0.4036, allocations: 53.55 kB / 0.5226 GB, free: 8.68 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.098e-05/0.4037, allocations: 100.1 kB / 0.5227 GB, free: 8.578 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.065e-06/0.4037, allocations: 29.7 kB / 0.5227 GB, free: 8.543 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.485e-05/0.4037, allocations: 85.94 kB / 0.5228 GB, free: 8.457 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.675e-05/0.4037, allocations: 7.812 kB / 0.5228 GB, free: 8.453 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.694e-05/0.4038, allocations: 18.17 kB / 0.5228 GB, free: 8.434 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.226e-05/0.4038, allocations: 313.6 kB / 0.5231 GB, free: 8.121 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.63e-05/0.4038, allocations: 3.156 kB / 0.5231 GB, free: 8.121 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.348e-05/0.4038, allocations: 12.56 kB / 0.5232 GB, free: 8.113 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.547e-05/0.4039, allocations: 19.25 kB / 0.5232 GB, free: 8.102 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.4039, allocations: 3.938 kB / 0.5232 GB, free: 8.098 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.695e-05/0.4039, allocations: 49.53 kB / 0.5232 GB, free: 8.059 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.404, allocations: 6.875 kB / 0.5232 GB, free: 8.059 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.404, allocations: 0 / 0.5232 GB, free: 8.059 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.404, allocations: 0 / 0.5232 GB, free: 8.059 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.975e-05/0.404, allocations: 10.31 kB / 0.5232 GB, free: 8.055 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.404, allocations: 0 / 0.5232 GB, free: 8.055 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.469e-05/0.4041, allocations: 5.375 kB / 0.5232 GB, free: 8.051 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.021e-06/0.4041, allocations: 2.031 kB / 0.5232 GB, free: 8.051 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 4.431e-05/0.4041, allocations: 117 kB / 0.5234 GB, free: 7.93 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.263e-05/0.4041, allocations: 1.219 kB / 0.5234 GB, free: 7.93 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001407/0.4043, allocations: 77.36 kB / 0.5234 GB, free: 7.875 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.4043, allocations: 1.312 kB / 0.5234 GB, free: 7.875 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.4043, allocations: 0.7969 kB / 0.5234 GB, free: 7.875 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.4043, allocations: 1.188 kB / 0.5234 GB, free: 7.875 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001126/0.4044, allocations: 131.7 kB / 0.5236 GB, free: 7.715 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.4044, allocations: 4 kB / 0.5236 GB, free: 7.711 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.453e-05/0.4044, allocations: 13.25 kB / 0.5236 GB, free: 7.707 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.4044, allocations: 0 / 0.5236 GB, free: 7.707 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.626e-06/0.4045, allocations: 6.172 kB / 0.5236 GB, free: 7.703 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.4045, allocations: 0 / 0.5236 GB, free: 7.703 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.4045, allocations: 0 / 0.5236 GB, free: 7.703 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.159e-05/0.4046, allocations: 156.4 kB / 0.5237 GB, free: 7.559 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.548e-06/0.4046, allocations: 2.641 kB / 0.5237 GB, free: 7.559 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.299e-05/0.4046, allocations: 5.75 kB / 0.5237 GB, free: 7.555 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.499e-05/0.4046, allocations: 1.219 kB / 0.5237 GB, free: 7.555 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.649e-05/0.4046, allocations: 3.578 kB / 0.5237 GB, free: 7.555 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.626e-06/0.4046, allocations: 12.94 kB / 0.5238 GB, free: 7.543 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.625e-05/0.4047, allocations: 88.41 kB / 0.5238 GB, free: 7.461 MB / 382.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.4047, allocations: 0 / 0.5238 GB, free: 7.461 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002114/0.4049, allocations: 4.625 kB / 0.5238 GB, free: 7.461 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.0002417/0.4051, allocations: 0.686 MB / 0.5245 GB, free: 6.785 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 9.105e-05/0.4052, allocations: 19.17 kB / 0.5245 GB, free: 6.781 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.4052, allocations: 0 / 0.5245 GB, free: 6.781 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.713e-05/0.4052, allocations: 18.48 kB / 0.5246 GB, free: 6.773 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003013/0.4055, allocations: 8.625 kB / 0.5246 GB, free: 6.77 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007292/0.4063, allocations: 1.194 MB / 0.5257 GB, free: 5.582 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.108e-05/0.4063, allocations: 62.31 kB / 0.5258 GB, free: 5.512 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.639e-05/0.4064, allocations: 4.781 kB / 0.5258 GB, free: 5.512 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.715e-05/0.4064, allocations: 14.98 kB / 0.5258 GB, free: 5.5 MB / 382.1 MB Notification: Performance of SimCode: time 3.41e-07/0.4064, allocations: 1.188 kB / 0.5258 GB, free: 5.5 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02754/0.4339, allocations: 1.808 MB / 0.5276 GB, free: 4.699 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.88/11.31, allocations: 3.672 kB / 0.5276 GB, free: 4.699 MB / 382.1 MB " [Timeout remaining time 649] (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.06524754408747] Failed to read output from testmodel.py, exit status != 0: 11.421177407260984 11.446907238 11.038884959 Calling exit ...