Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_FOPDT.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.001274/0.001274, allocations: 101.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.001423/0.001423, allocations: 220 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.45/1.45, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.1052/0.1052, allocations: 22.94 MB / 336.1 MB, free: 12.42 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_FOPDT,fileNamePrefix="AES_AES_Devel_test_models_Test_FOPDT",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_FOPDT,fileNamePrefix="AES_AES_Devel_test_models_Test_FOPDT",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.002028/0.002028, allocations: 63.84 kB / 469.8 MB, free: 10.23 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3672/0.3692, allocations: 59.28 MB / 0.5167 GB, free: 9.277 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_FOPDT): time 0.002902/0.3721, allocations: 1.637 MB / 0.5183 GB, free: 8.535 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003903/0.3725, allocations: 150.4 kB / 0.5184 GB, free: 8.434 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.895e-05/0.3726, allocations: 5.125 kB / 0.5185 GB, free: 8.43 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.236e-05/0.3726, allocations: 7.031 kB / 0.5185 GB, free: 8.426 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001088/0.3727, allocations: 18.84 kB / 0.5185 GB, free: 8.41 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002638/0.373, allocations: 51.41 kB / 0.5185 GB, free: 8.383 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001641/0.3731, allocations: 85.31 kB / 0.5186 GB, free: 8.34 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001121/0.3733, allocations: 29.16 kB / 0.5186 GB, free: 8.324 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.106e-05/0.3733, allocations: 31.91 kB / 0.5187 GB, free: 8.305 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.45e-05/0.3734, allocations: 33.03 kB / 0.5187 GB, free: 8.285 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.076e-05/0.3734, allocations: 6.594 kB / 0.5187 GB, free: 8.285 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.542e-05/0.3734, allocations: 7.562 kB / 0.5187 GB, free: 8.285 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.159e-05/0.3734, allocations: 15.42 kB / 0.5187 GB, free: 8.277 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.844e-05/0.3735, allocations: 33.2 kB / 0.5188 GB, free: 8.254 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001442/0.3736, allocations: 82 kB / 0.5188 GB, free: 8.215 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.3736, allocations: 0 / 0.5188 GB, free: 8.215 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.3736, allocations: 0.6875 kB / 0.5188 GB, free: 8.215 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.454e-06/0.3736, allocations: 0 / 0.5188 GB, free: 8.215 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004728/0.3741, allocations: 315.6 kB / 0.5191 GB, free: 7.91 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/0.3741, allocations: 11.52 kB / 0.5191 GB, free: 7.91 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.952e-05/0.3742, allocations: 2.75 kB / 0.5192 GB, free: 7.91 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.691e-05/0.3742, allocations: 44.28 kB / 0.5192 GB, free: 7.863 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.021e-05/0.3742, allocations: 10.14 kB / 0.5192 GB, free: 7.859 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000216/0.3744, allocations: 149 kB / 0.5193 GB, free: 7.711 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.65e-05/0.3745, allocations: 3.125 kB / 0.5193 GB, free: 7.711 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.963e-05/0.3745, allocations: 4.219 kB / 0.5194 GB, free: 7.711 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001569/0.3746, allocations: 73.8 kB / 0.5194 GB, free: 7.66 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.3746, allocations: 0 / 0.5194 GB, free: 7.66 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.368e-06/0.3746, allocations: 4 kB / 0.5194 GB, free: 7.656 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.3747, allocations: 1.375 kB / 0.5194 GB, free: 7.656 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.984e-05/0.3747, allocations: 31.36 kB / 0.5195 GB, free: 7.645 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003982/0.3751, allocations: 293.5 kB / 0.5197 GB, free: 7.375 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003353/0.3755, allocations: 57.48 kB / 0.5198 GB, free: 7.344 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.069e-05/0.3755, allocations: 17.33 kB / 0.5198 GB, free: 7.332 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.292e-05/0.3755, allocations: 1.812 kB / 0.5198 GB, free: 7.332 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.411e-05/0.3756, allocations: 36.53 kB / 0.5198 GB, free: 7.289 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.3756, allocations: 0 / 0.5198 GB, free: 7.289 MB / 382.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002564/0.3758, allocations: 75.91 kB / 0.5199 GB, free: 7.238 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.747e-05/0.3758, allocations: 52.78 kB / 0.52 GB, free: 7.176 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001279/0.376, allocations: 147.8 kB / 0.5201 GB, free: 7.055 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.998e-06/0.376, allocations: 25.7 kB / 0.5201 GB, free: 7.023 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.932e-05/0.376, allocations: 108.5 kB / 0.5202 GB, free: 6.922 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.036e-05/0.3761, allocations: 23.7 kB / 0.5203 GB, free: 6.902 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.642e-05/0.3761, allocations: 14.64 kB / 0.5203 GB, free: 6.887 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.819e-05/0.3762, allocations: 320.8 kB / 0.5206 GB, free: 6.57 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.026e-05/0.3762, allocations: 16.19 kB / 0.5206 GB, free: 6.562 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.715e-05/0.3762, allocations: 17.17 kB / 0.5206 GB, free: 6.555 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.411e-05/0.3763, allocations: 35.47 kB / 0.5206 GB, free: 6.535 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.3763, allocations: 0.6875 kB / 0.5206 GB, free: 6.535 MB / 382.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001376/0.3765, allocations: 74.77 kB / 0.5207 GB, free: 6.484 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.3765, allocations: 5.562 kB / 0.5207 GB, free: 6.484 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.3765, allocations: 4.703 kB / 0.5207 GB, free: 6.48 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.3765, allocations: 1.438 kB / 0.5207 GB, free: 6.48 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.193e-05/0.3766, allocations: 8.828 kB / 0.5207 GB, free: 6.48 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.323e-06/0.3766, allocations: 8.969 kB / 0.5207 GB, free: 6.473 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.242e-05/0.3766, allocations: 1.781 kB / 0.5207 GB, free: 6.473 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.175e-06/0.3766, allocations: 5.125 kB / 0.5208 GB, free: 6.469 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 (6): * Single equations (assignments): 6 * 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 6.731e-05/0.3767, allocations: 115.1 kB / 0.5209 GB, free: 6.352 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.064e-05/0.3767, allocations: 7.703 kB / 0.5209 GB, free: 6.348 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.571e-05/0.3768, allocations: 11.88 kB / 0.5209 GB, free: 6.332 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.3768, allocations: 1.125 kB / 0.5209 GB, free: 6.332 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.3768, allocations: 3.938 kB / 0.5209 GB, free: 6.328 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.3768, allocations: 1.844 kB / 0.5209 GB, free: 6.328 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001697/0.3769, allocations: 151.2 kB / 0.521 GB, free: 6.164 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.3769, allocations: 5.031 kB / 0.521 GB, free: 6.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.37e-05/0.377, allocations: 10.91 kB / 0.521 GB, free: 6.156 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.377, allocations: 1.219 kB / 0.521 GB, free: 6.156 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/0.377, allocations: 2.156 kB / 0.5211 GB, free: 6.156 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.377, allocations: 1.688 kB / 0.5211 GB, free: 6.156 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.377, allocations: 4.734 kB / 0.5211 GB, free: 6.152 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002229/0.3773, allocations: 181.1 kB / 0.5212 GB, free: 5.996 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.71e-05/0.3773, allocations: 7.797 kB / 0.5212 GB, free: 5.992 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.9e-05/0.3773, allocations: 1.094 kB / 0.5212 GB, free: 5.992 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.48e-05/0.3774, allocations: 1.156 kB / 0.5212 GB, free: 5.992 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.654e-05/0.3774, allocations: 12.94 kB / 0.5213 GB, free: 5.984 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.26e-06/0.3774, allocations: 6 kB / 0.5213 GB, free: 5.98 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.585e-05/0.3775, allocations: 112.1 kB / 0.5214 GB, free: 5.895 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3775, allocations: 0 / 0.5214 GB, free: 5.895 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002452/0.3777, allocations: 13.92 kB / 0.5214 GB, free: 5.891 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (P1.Pr.y,P2.Pr.y) * 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 (4): * Single equations (assignments): 4 * 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.0003481/0.3781, allocations: 0.7048 MB / 0.5221 GB, free: 5.211 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001381/0.3782, allocations: 31.59 kB / 0.5221 GB, free: 5.203 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3782, allocations: 3.938 kB / 0.5221 GB, free: 5.199 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.646e-05/0.3783, allocations: 19.03 kB / 0.5221 GB, free: 5.191 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003279/0.3786, allocations: 32.44 kB / 0.5221 GB, free: 5.172 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001353/0.3799, allocations: 1.512 MB / 0.5236 GB, free: 3.867 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.425e-05/0.38, allocations: 81.11 kB / 0.5237 GB, free: 3.793 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.003e-05/0.38, allocations: 14.2 kB / 0.5237 GB, free: 3.785 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.274e-05/0.3801, allocations: 24.81 kB / 0.5237 GB, free: 3.766 MB / 382.1 MB Notification: Performance of SimCode: time 6.61e-07/0.3801, allocations: 4.969 kB / 0.5237 GB, free: 3.762 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02411/0.4042, allocations: 2.327 MB / 0.526 GB, free: 3.277 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.54/11.95, allocations: 5.406 kB / 0.526 GB, free: 3.277 MB / 382.1 MB " [Timeout remaining time 648] (rm -f AES_AES.Devel_test_models.Test_FOPDT.pipe ; mkfifo AES_AES.Devel_test_models.Test_FOPDT.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_FOPDT.pipe >> ../files/AES_AES.Devel_test_models.Test_FOPDT.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Devel_test_models_Test_FOPDT_fmu --startTime=0 --stopTime=15 --stepSize=0.03 --timeout=50 --tolerance=1e-06 AES_AES_Devel_test_models_Test_FOPDT.fmu > AES_AES.Devel_test_models.Test_FOPDT.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.635007243021391] Failed to read output from testmodel.py, exit status != 0: 12.107321068062447 12.122355868 11.745581522 Calling exit ...