Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_TITO_rational_zeroInit.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.002013/0.002013, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.002624/0.002624, allocations: 217 kB / 23.04 MB, free: 5.074 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.506/1.506, allocations: 230.6 MB / 256.8 MB, free: 7.984 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.1099/0.1099, allocations: 22.94 MB / 336.2 MB, free: 12.58 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_TITO_rational_zeroInit,fileNamePrefix="AES_AES_Devel_test_models_Test_TITO_rational_zeroInit",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_TITO_rational_zeroInit,fileNamePrefix="AES_AES_Devel_test_models_Test_TITO_rational_zeroInit",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.002444/0.002444, allocations: 63.89 kB / 469.9 MB, free: 10.35 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.385/0.3874, allocations: 59.29 MB / 0.5168 GB, free: 9.238 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_TITO_rational_zeroInit): time 0.002798/0.3902, allocations: 1.239 MB / 0.518 GB, free: 8.703 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002184/0.3924, allocations: 1.415 MB / 0.5194 GB, free: 7.793 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001779/0.3926, allocations: 3.281 kB / 0.5194 GB, free: 7.793 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004545/0.393, allocations: 77.34 kB / 0.5195 GB, free: 7.754 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002602/0.3933, allocations: 96.59 kB / 0.5196 GB, free: 7.703 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004305/0.3937, allocations: 184.8 kB / 0.5197 GB, free: 7.605 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008789/0.3946, allocations: 0.6248 MB / 0.5203 GB, free: 7.344 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001657/0.3948, allocations: 45.28 kB / 0.5204 GB, free: 7.316 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003209/0.3951, allocations: 216.8 kB / 0.5206 GB, free: 7.23 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003149/0.3954, allocations: 200 kB / 0.5208 GB, free: 7.152 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.352e-05/0.3955, allocations: 28.53 kB / 0.5208 GB, free: 7.152 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.323e-05/0.3955, allocations: 28.12 kB / 0.5208 GB, free: 7.152 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001374/0.3957, allocations: 108.2 kB / 0.5209 GB, free: 7.105 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001159/0.3958, allocations: 124.3 kB / 0.5211 GB, free: 7.012 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004257/0.3962, allocations: 307.9 kB / 0.5213 GB, free: 6.879 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.3962, allocations: 0.875 kB / 0.5213 GB, free: 6.879 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3962, allocations: 0 / 0.5213 GB, free: 6.879 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.314e-05/0.3962, allocations: 0 / 0.5213 GB, free: 6.879 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.001773/0.398, allocations: 0.6439 MB / 0.522 GB, free: 6.465 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/0.3981, allocations: 10.52 kB / 0.522 GB, free: 6.465 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.867e-05/0.3981, allocations: 3.422 kB / 0.522 GB, free: 6.465 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.134e-05/0.3981, allocations: 49.91 kB / 0.522 GB, free: 6.414 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.921e-05/0.3982, allocations: 30.94 kB / 0.5221 GB, free: 6.398 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009892/0.3992, allocations: 388.4 kB / 0.5224 GB, free: 6.176 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.155e-05/0.3992, allocations: 10.36 kB / 0.5224 GB, free: 6.172 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.623e-05/0.3992, allocations: 25.8 kB / 0.5225 GB, free: 6.156 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00036/0.3996, allocations: 165.8 kB / 0.5226 GB, free: 6.082 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.3996, allocations: 3.938 kB / 0.5226 GB, free: 6.078 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.116e-05/0.3996, allocations: 5.031 kB / 0.5226 GB, free: 6.074 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-06/0.3996, allocations: 3.156 kB / 0.5226 GB, free: 6.074 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00038/0.4, allocations: 184.8 kB / 0.5228 GB, free: 6.012 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001169/0.4012, allocations: 0.6344 MB / 0.5234 GB, free: 5.621 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004071/0.4016, allocations: 244.5 kB / 0.5237 GB, free: 5.516 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001495/0.4017, allocations: 91.28 kB / 0.5238 GB, free: 5.473 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.994e-05/0.4018, allocations: 2.094 kB / 0.5238 GB, free: 5.473 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.949e-05/0.4018, allocations: 35.62 kB / 0.5238 GB, free: 5.43 MB / 382.1 MB Notification: Performance of pre-optimization done (n=16): time 1.763e-06/0.4018, allocations: 0 / 0.5238 GB, free: 5.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0006351/0.4024, allocations: 308.5 kB / 0.5241 GB, free: 5.297 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.774e-05/0.4024, allocations: 52.5 kB / 0.5241 GB, free: 5.234 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008973/0.4033, allocations: 440.3 kB / 0.5246 GB, free: 5.055 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.01e-05/0.4034, allocations: 30.86 kB / 0.5246 GB, free: 5.02 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.631e-05/0.4035, allocations: 152.2 kB / 0.5247 GB, free: 4.887 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.689e-05/0.4035, allocations: 61.06 kB / 0.5248 GB, free: 4.84 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.81e-05/0.4036, allocations: 40.17 kB / 0.5248 GB, free: 4.809 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.795e-05/0.4037, allocations: 340.9 kB / 0.5252 GB, free: 4.484 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001539/0.4038, allocations: 85.67 kB / 0.5252 GB, free: 4.453 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001468/0.404, allocations: 93.5 kB / 0.5253 GB, free: 4.414 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000298/0.4043, allocations: 189.1 kB / 0.5255 GB, free: 4.336 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.4043, allocations: 0 / 0.5255 GB, free: 4.336 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004412/0.4047, allocations: 265.6 kB / 0.5258 GB, free: 4.207 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.4047, allocations: 9 kB / 0.5258 GB, free: 4.203 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.4047, allocations: 1.531 kB / 0.5258 GB, free: 4.203 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.4047, allocations: 3.938 kB / 0.5258 GB, free: 4.199 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003404/0.4051, allocations: 58.41 kB / 0.5258 GB, free: 4.195 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/0.4051, allocations: 0.9688 kB / 0.5258 GB, free: 4.195 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000356/0.4054, allocations: 57.62 kB / 0.5259 GB, free: 4.184 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.674e-05/0.4055, allocations: 3.438 kB / 0.5259 GB, free: 4.184 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 (20): * Single equations (assignments): 20 * 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.0001323/0.4056, allocations: 152.8 kB / 0.526 GB, free: 4.051 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.774e-05/0.4056, allocations: 32.83 kB / 0.5261 GB, free: 4.031 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.969e-05/0.4057, allocations: 38.14 kB / 0.5261 GB, free: 4.004 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.552e-06/0.4057, allocations: 2.844 kB / 0.5261 GB, free: 4.004 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.4057, allocations: 3.938 kB / 0.5261 GB, free: 4 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.4057, allocations: 1.703 kB / 0.5261 GB, free: 4 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003785/0.4061, allocations: 326.3 kB / 0.5264 GB, free: 3.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.4061, allocations: 4 kB / 0.5264 GB, free: 3.766 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001983/0.4063, allocations: 29.22 kB / 0.5265 GB, free: 3.762 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.4063, allocations: 3.938 kB / 0.5265 GB, free: 3.758 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.219e-05/0.4064, allocations: 6.469 kB / 0.5265 GB, free: 3.758 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.4064, allocations: 1.656 kB / 0.5265 GB, free: 3.758 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.4064, allocations: 1.078 kB / 0.5265 GB, free: 3.758 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006057/0.407, allocations: 444.8 kB / 0.5269 GB, free: 3.496 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.138e-05/0.407, allocations: 37.05 kB / 0.5269 GB, free: 3.477 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.394e-05/0.4071, allocations: 11.45 kB / 0.5269 GB, free: 3.469 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003811/0.4075, allocations: 44.73 kB / 0.527 GB, free: 3.469 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.37e-05/0.4075, allocations: 13.92 kB / 0.527 GB, free: 3.465 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.315e-05/0.4075, allocations: 2.156 kB / 0.527 GB, free: 3.465 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008791/0.4084, allocations: 350 kB / 0.5273 GB, free: 3.328 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4084, allocations: 0 / 0.5273 GB, free: 3.328 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003102/0.4087, allocations: 42.33 kB / 0.5274 GB, free: 3.316 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (P.P11.x_scaled[1],P.P12.x_scaled[1],P.P21.x_scaled[1],P.P22.x_scaled[1]) * 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 (16): * Single equations (assignments): 16 * 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.0007986/0.4095, allocations: 0.9827 MB / 0.5283 GB, free: 2.523 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00043/0.41, allocations: 192.1 kB / 0.5285 GB, free: 2.457 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.41, allocations: 0 / 0.5285 GB, free: 2.457 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001793/0.4101, allocations: 93 kB / 0.5286 GB, free: 2.426 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004363/0.4106, allocations: 58.28 kB / 0.5287 GB, free: 2.398 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005954/0.4165, allocations: 3.277 MB / 0.5319 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000401/0.4169, allocations: 0.7934 MB / 0.5326 GB, free: 15.83 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002208/0.4172, allocations: 47.66 kB / 0.5327 GB, free: 15.83 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000188/0.4173, allocations: 90.88 kB / 0.5328 GB, free: 15.77 MB / 398.1 MB Notification: Performance of SimCode: time 9.52e-07/0.4173, allocations: 0 / 0.5328 GB, free: 15.77 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0337/0.451, allocations: 5.627 MB / 0.5383 GB, free: 14.71 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.81/12.26, allocations: 12.47 kB / 0.5383 GB, free: 14.7 MB / 398.1 MB " [Timeout remaining time 648] (rm -f AES_AES.Devel_test_models.Test_TITO_rational_zeroInit.pipe ; mkfifo AES_AES.Devel_test_models.Test_TITO_rational_zeroInit.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_TITO_rational_zeroInit.pipe >> ../files/AES_AES.Devel_test_models.Test_TITO_rational_zeroInit.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Devel_test_models_Test_TITO_rational_zeroInit_fmu --startTime=0 --stopTime=25 --stepSize=0.05 --timeout=50 --tolerance=1e-06 AES_AES_Devel_test_models_Test_TITO_rational_zeroInit.fmu > AES_AES.Devel_test_models.Test_TITO_rational_zeroInit.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.153085239988286] Failed to read output from testmodel.py, exit status != 0: 12.431332406005822 12.456684206 12.056797184 Calling exit ...