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.001378/0.001378, allocations: 100.3 kB / 19.72 MB, free: 1.785 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.001517/0.001517, allocations: 209.9 kB / 23.01 MB, free: 4.621 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.556/1.556, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.1112/0.1112, allocations: 24.04 MB / 337.2 MB, free: 11.34 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="me",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="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.002104/0.002104, allocations: 71.89 kB / 471.5 MB, free: 8.742 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3363/0.3384, allocations: 59.57 MB / 0.5186 GB, free: 8.918 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_TITO_rational_zeroInit): time 0.002449/0.3409, allocations: 1.167 MB / 0.5197 GB, free: 8.309 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001669/0.3425, allocations: 1.374 MB / 0.5211 GB, free: 7.316 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001044/0.3426, allocations: 3.344 kB / 0.5211 GB, free: 7.316 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003293/0.343, allocations: 77.27 kB / 0.5212 GB, free: 7.277 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002356/0.3432, allocations: 93.45 kB / 0.5212 GB, free: 7.23 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003649/0.3436, allocations: 181.7 kB / 0.5214 GB, free: 7.137 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007054/0.3443, allocations: 0.6186 MB / 0.522 GB, free: 6.879 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001344/0.3444, allocations: 42.23 kB / 0.5221 GB, free: 6.855 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002571/0.3447, allocations: 212.2 kB / 0.5223 GB, free: 6.773 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002595/0.3449, allocations: 190.3 kB / 0.5225 GB, free: 6.703 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.671e-05/0.345, allocations: 28.59 kB / 0.5225 GB, free: 6.703 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.448e-05/0.345, allocations: 28 kB / 0.5225 GB, free: 6.703 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001219/0.3452, allocations: 112.7 kB / 0.5226 GB, free: 6.648 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.863e-05/0.3452, allocations: 97.27 kB / 0.5227 GB, free: 6.582 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003419/0.3456, allocations: 311.2 kB / 0.523 GB, free: 6.449 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.3456, allocations: 0 / 0.523 GB, free: 6.449 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3456, allocations: 0 / 0.523 GB, free: 6.449 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.025e-06/0.3456, allocations: 1.094 kB / 0.523 GB, free: 6.449 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.001657/0.3473, allocations: 0.6441 MB / 0.5236 GB, free: 6.035 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.3473, allocations: 10.45 kB / 0.5236 GB, free: 6.035 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.216e-05/0.3473, allocations: 44.92 kB / 0.5237 GB, free: 5.988 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.7e-05/0.3474, allocations: 31.64 kB / 0.5237 GB, free: 5.973 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008796/0.3483, allocations: 382.2 kB / 0.5241 GB, free: 5.754 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.85e-05/0.3483, allocations: 10.67 kB / 0.5241 GB, free: 5.75 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.985e-05/0.3483, allocations: 21.27 kB / 0.5241 GB, free: 5.738 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003104/0.3487, allocations: 173.2 kB / 0.5243 GB, free: 5.652 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.3487, allocations: 0 / 0.5243 GB, free: 5.652 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.791e-05/0.3487, allocations: 8.453 kB / 0.5243 GB, free: 5.648 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.3487, allocations: 4.562 kB / 0.5243 GB, free: 5.648 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003426/0.349, allocations: 182 kB / 0.5245 GB, free: 5.586 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001045/0.3501, allocations: 0.5841 MB / 0.525 GB, free: 5.211 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004036/0.3505, allocations: 248 kB / 0.5253 GB, free: 5.102 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001514/0.3506, allocations: 87.91 kB / 0.5254 GB, free: 5.062 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.979e-05/0.3507, allocations: 1.469 kB / 0.5254 GB, free: 5.062 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.867e-05/0.3507, allocations: 38.11 kB / 0.5254 GB, free: 5.02 MB / 382.1 MB Notification: Performance of pre-optimization done (n=16): time 1.232e-06/0.3507, allocations: 0 / 0.5254 GB, free: 5.02 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0006039/0.3513, allocations: 310.6 kB / 0.5257 GB, free: 4.883 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.555e-05/0.3513, allocations: 53.59 kB / 0.5257 GB, free: 4.82 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009237/0.3522, allocations: 440 kB / 0.5262 GB, free: 4.641 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.112e-05/0.3522, allocations: 30.98 kB / 0.5262 GB, free: 4.605 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.734e-05/0.3523, allocations: 154.4 kB / 0.5263 GB, free: 4.473 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.641e-05/0.3524, allocations: 63.28 kB / 0.5264 GB, free: 4.422 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.455e-05/0.3525, allocations: 37.72 kB / 0.5264 GB, free: 4.395 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.484e-05/0.3525, allocations: 340.4 kB / 0.5268 GB, free: 4.07 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001506/0.3527, allocations: 84.47 kB / 0.5268 GB, free: 4.039 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001419/0.3528, allocations: 96.34 kB / 0.5269 GB, free: 4 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002998/0.3531, allocations: 188 kB / 0.5271 GB, free: 3.922 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.3531, allocations: 4 kB / 0.5271 GB, free: 3.918 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004106/0.3535, allocations: 256.2 kB / 0.5274 GB, free: 3.797 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.3535, allocations: 7.359 kB / 0.5274 GB, free: 3.797 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.3536, allocations: 3.938 kB / 0.5274 GB, free: 3.793 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/0.3536, allocations: 1.5 kB / 0.5274 GB, free: 3.793 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003359/0.3539, allocations: 61.5 kB / 0.5274 GB, free: 3.785 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.603e-06/0.3539, allocations: 5.375 kB / 0.5274 GB, free: 3.781 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003303/0.3542, allocations: 52.14 kB / 0.5275 GB, free: 3.773 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.672e-05/0.3543, allocations: 8.344 kB / 0.5275 GB, free: 3.77 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.0001184/0.3544, allocations: 153.5 kB / 0.5276 GB, free: 3.637 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.349e-05/0.3544, allocations: 27.88 kB / 0.5277 GB, free: 3.621 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.657e-05/0.3545, allocations: 42.88 kB / 0.5277 GB, free: 3.59 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.3545, allocations: 2.344 kB / 0.5277 GB, free: 3.59 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.872e-06/0.3545, allocations: 1.312 kB / 0.5277 GB, free: 3.59 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.3545, allocations: 3.938 kB / 0.5277 GB, free: 3.586 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003274/0.3548, allocations: 287.1 kB / 0.528 GB, free: 3.367 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.3549, allocations: 0.9375 kB / 0.528 GB, free: 3.367 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001926/0.355, allocations: 24.39 kB / 0.528 GB, free: 3.367 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.355, allocations: 3.938 kB / 0.528 GB, free: 3.363 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.503e-05/0.3551, allocations: 12.97 kB / 0.528 GB, free: 3.355 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.3551, allocations: 0 / 0.528 GB, free: 3.355 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.3551, allocations: 1.25 kB / 0.528 GB, free: 3.355 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006113/0.3557, allocations: 445.4 kB / 0.5284 GB, free: 3.098 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.306e-05/0.3558, allocations: 35.62 kB / 0.5285 GB, free: 3.078 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.123e-05/0.3558, allocations: 6.688 kB / 0.5285 GB, free: 3.074 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003688/0.3562, allocations: 53.41 kB / 0.5285 GB, free: 3.066 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.145e-05/0.3562, allocations: 10.52 kB / 0.5286 GB, free: 3.066 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.353e-05/0.3563, allocations: 6.312 kB / 0.5286 GB, free: 3.062 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007688/0.357, allocations: 348.6 kB / 0.5289 GB, free: 2.926 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.357, allocations: 0 / 0.5289 GB, free: 2.926 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002949/0.3573, allocations: 43.39 kB / 0.5289 GB, free: 2.914 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.0007992/0.3581, allocations: 0.991 MB / 0.5299 GB, free: 2.117 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004088/0.3585, allocations: 197.8 kB / 0.5301 GB, free: 2.047 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3585, allocations: 0 / 0.5301 GB, free: 2.047 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001797/0.3587, allocations: 94.17 kB / 0.5302 GB, free: 2.016 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004271/0.3591, allocations: 47.69 kB / 0.5302 GB, free: 1.992 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00572/0.3649, allocations: 3.278 MB / 0.5334 GB, free: 148 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002636/0.3651, allocations: 177.5 kB / 0.5336 GB, free: 60 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002006/0.3653, allocations: 50.64 kB / 0.5336 GB, free: 52 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002112/0.3655, allocations: 92.86 kB / 0.5337 GB, free: 15.98 MB / 398.1 MB Notification: Performance of SimCode: time 7.81e-07/0.3655, allocations: 0 / 0.5337 GB, free: 15.98 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0349/0.4004, allocations: 6.063 MB / 0.5397 GB, free: 14.3 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.5/11.9, allocations: 8.594 kB / 0.5397 GB, free: 14.3 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 & python3 -m fmpy simulate --output-file AES_AES.Devel_test_models.Test_TITO_rational_zeroInit_res.csv --start-time 0 --stop-time 25 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.05 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: 14.773403800092638] Failed to read output from testmodel.py, exit status != 0: 12.00822145678103 12.025718478 11.676728438 Calling exit ...