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.00124/0.00124, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001408/0.001408, allocations: 213.9 kB / 23.04 MB, free: 5.078 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.494/1.494, allocations: 230.6 MB / 256.8 MB, free: 8 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.1047/0.1047, allocations: 22.93 MB / 336.2 MB, free: 12.62 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.003101/0.003101, allocations: 63.89 kB / 472.3 MB, free: 8.023 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4075/0.4106, allocations: 59.29 MB / 0.5191 GB, free: 10.63 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_SR01): time 0.001858/0.4125, allocations: 0.7139 MB / 0.5198 GB, free: 10.3 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001539/0.4126, allocations: 22.95 kB / 0.5198 GB, free: 10.28 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.175e-05/0.4127, allocations: 0 / 0.5198 GB, free: 10.28 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.716e-05/0.4127, allocations: 4.547 kB / 0.5198 GB, free: 10.28 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 7.02e-05/0.4128, allocations: 1.891 kB / 0.5198 GB, free: 10.28 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.867e-05/0.4129, allocations: 11.09 kB / 0.5198 GB, free: 10.27 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.89e-05/0.4129, allocations: 19.31 kB / 0.5199 GB, free: 10.27 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001072/0.413, allocations: 15.38 kB / 0.5199 GB, free: 10.26 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.199e-05/0.4131, allocations: 5.531 kB / 0.5199 GB, free: 10.26 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.253e-05/0.4131, allocations: 14.72 kB / 0.5199 GB, free: 10.25 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.791e-05/0.4132, allocations: 1.25 kB / 0.5199 GB, free: 10.25 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.897e-06/0.4132, allocations: 2.812 kB / 0.5199 GB, free: 10.25 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.56e-05/0.4132, allocations: 1.406 kB / 0.5199 GB, free: 10.25 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.241e-05/0.4132, allocations: 11.19 kB / 0.5199 GB, free: 10.24 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 7.734e-05/0.4133, allocations: 23.53 kB / 0.5199 GB, free: 10.23 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.4133, allocations: 0.5 kB / 0.5199 GB, free: 10.23 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.4133, allocations: 2 kB / 0.5199 GB, free: 10.23 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.4133, allocations: 3.938 kB / 0.5199 GB, free: 10.23 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.0003352/0.4136, allocations: 259.1 kB / 0.5202 GB, free: 9.961 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/0.4137, allocations: 10.92 kB / 0.5202 GB, free: 9.961 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.375e-05/0.4137, allocations: 4.188 kB / 0.5202 GB, free: 9.957 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.939e-05/0.4137, allocations: 36.44 kB / 0.5202 GB, free: 9.918 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.287e-05/0.4137, allocations: 2.953 kB / 0.5202 GB, free: 9.918 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9e-05/0.4138, allocations: 114.8 kB / 0.5203 GB, free: 9.785 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.123e-06/0.4138, allocations: 1.312 kB / 0.5203 GB, free: 9.785 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.16e-05/0.4138, allocations: 1.594 kB / 0.5203 GB, free: 9.785 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.562e-05/0.4139, allocations: 45.72 kB / 0.5204 GB, free: 9.746 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.163e-06/0.4139, allocations: 0 / 0.5204 GB, free: 9.746 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.624e-06/0.4139, allocations: 0 / 0.5204 GB, free: 9.746 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.4139, allocations: 5.5 kB / 0.5204 GB, free: 9.742 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.521e-05/0.414, allocations: 13.95 kB / 0.5204 GB, free: 9.738 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002855/0.4143, allocations: 228.4 kB / 0.5206 GB, free: 9.492 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001026/0.4144, allocations: 37.91 kB / 0.5207 GB, free: 9.461 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.686e-05/0.4144, allocations: 11.19 kB / 0.5207 GB, free: 9.453 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.279e-05/0.4144, allocations: 4.75 kB / 0.5207 GB, free: 9.449 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.396e-05/0.4144, allocations: 35.59 kB / 0.5207 GB, free: 9.406 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 9.22e-07/0.4144, allocations: 0 / 0.5207 GB, free: 9.406 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001834/0.4146, allocations: 52.81 kB / 0.5208 GB, free: 9.367 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.687e-05/0.4146, allocations: 53.17 kB / 0.5208 GB, free: 9.305 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.177e-05/0.4147, allocations: 100.8 kB / 0.5209 GB, free: 9.203 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.738e-06/0.4147, allocations: 25.7 kB / 0.5209 GB, free: 9.172 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.2e-05/0.4147, allocations: 86.23 kB / 0.521 GB, free: 9.086 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.912e-05/0.4148, allocations: 7.656 kB / 0.521 GB, free: 9.082 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.808e-05/0.4148, allocations: 17.27 kB / 0.521 GB, free: 9.062 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.156e-05/0.4149, allocations: 317 kB / 0.5213 GB, free: 8.746 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.921e-05/0.4149, allocations: 4.234 kB / 0.5213 GB, free: 8.746 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.621e-05/0.4149, allocations: 12.52 kB / 0.5214 GB, free: 8.738 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.103e-05/0.4149, allocations: 23.64 kB / 0.5214 GB, free: 8.723 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.4149, allocations: 0 / 0.5214 GB, free: 8.723 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.034e-05/0.415, allocations: 54.16 kB / 0.5214 GB, free: 8.68 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.415, allocations: 9.656 kB / 0.5214 GB, free: 8.676 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.415, allocations: 0 / 0.5214 GB, free: 8.676 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.415, allocations: 5.5 kB / 0.5214 GB, free: 8.672 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.341e-05/0.4151, allocations: 5.422 kB / 0.5214 GB, free: 8.672 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.4151, allocations: 0 / 0.5214 GB, free: 8.672 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.5e-05/0.4151, allocations: 2.062 kB / 0.5214 GB, free: 8.672 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.319e-06/0.4151, allocations: 0 / 0.5214 GB, free: 8.672 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.691e-05/0.4152, allocations: 117.3 kB / 0.5216 GB, free: 8.551 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.341e-05/0.4152, allocations: 1.188 kB / 0.5216 GB, free: 8.551 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000162/0.4154, allocations: 88.94 kB / 0.5216 GB, free: 8.484 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.4154, allocations: 0.5156 kB / 0.5216 GB, free: 8.484 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.4154, allocations: 1.438 kB / 0.5216 GB, free: 8.484 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.4154, allocations: 0.75 kB / 0.5216 GB, free: 8.484 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001306/0.4155, allocations: 138 kB / 0.5218 GB, free: 8.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.4155, allocations: 1.156 kB / 0.5218 GB, free: 8.32 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.537e-05/0.4156, allocations: 7.641 kB / 0.5218 GB, free: 8.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.195e-06/0.4156, allocations: 1.031 kB / 0.5218 GB, free: 8.32 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.859e-06/0.4156, allocations: 5.422 kB / 0.5218 GB, free: 8.316 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.4156, allocations: 4.562 kB / 0.5218 GB, free: 8.312 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.4156, allocations: 1.031 kB / 0.5218 GB, free: 8.312 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001078/0.4157, allocations: 154.2 kB / 0.5219 GB, free: 8.168 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.818e-06/0.4157, allocations: 1.984 kB / 0.5219 GB, free: 8.168 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.681e-05/0.4157, allocations: 5.594 kB / 0.522 GB, free: 8.164 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.574e-05/0.4158, allocations: 9.25 kB / 0.522 GB, free: 8.156 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.051e-05/0.4158, allocations: 2.797 kB / 0.522 GB, free: 8.156 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.48e-06/0.4158, allocations: 2.344 kB / 0.522 GB, free: 8.156 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.581e-05/0.4158, allocations: 87.34 kB / 0.5221 GB, free: 8.074 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4158, allocations: 1.125 kB / 0.5221 GB, free: 8.074 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002183/0.416, allocations: 4.25 kB / 0.5221 GB, free: 8.074 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.0002706/0.4163, allocations: 0.6772 MB / 0.5227 GB, free: 7.406 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001021/0.4164, allocations: 25.7 kB / 0.5227 GB, free: 7.395 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.4164, allocations: 1.531 kB / 0.5227 GB, free: 7.395 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.621e-05/0.4164, allocations: 14.14 kB / 0.5228 GB, free: 7.391 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003272/0.4168, allocations: 4.906 kB / 0.5228 GB, free: 7.391 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008276/0.4176, allocations: 1.192 MB / 0.5239 GB, free: 6.203 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001158/0.4177, allocations: 0.6777 MB / 0.5246 GB, free: 5.508 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.919e-05/0.4177, allocations: 12.78 kB / 0.5246 GB, free: 5.5 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.111e-05/0.4178, allocations: 15.31 kB / 0.5246 GB, free: 5.488 MB / 382.1 MB Notification: Performance of SimCode: time 3.2e-07/0.4178, allocations: 0 / 0.5246 GB, free: 5.488 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02052/0.4383, allocations: 1.456 MB / 0.526 GB, free: 5.086 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.15/11.59, allocations: 13.64 kB / 0.5261 GB, free: 5.082 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.365691729995888] Failed to read output from testmodel.py, exit status != 0: 11.751771962968633 11.771435299 11.353676646 Calling exit ...