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.001397/0.001397, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001594/0.001594, allocations: 220.3 kB / 22.26 MB, free: 5.125 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.445/1.445, allocations: 230.6 MB / 256 MB, free: 7.965 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.1087/0.1087, allocations: 24.12 MB / 336.6 MB, free: 11.4 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.002025/0.002025, allocations: 71.81 kB / 470.9 MB, free: 8.715 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3332/0.3352, allocations: 59.6 MB / 0.5181 GB, free: 8.945 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_TITO_rational_zeroInit): time 0.002796/0.338, allocations: 1.243 MB / 0.5193 GB, free: 8.262 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002072/0.3401, allocations: 1.419 MB / 0.5207 GB, free: 7.223 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001103/0.3402, allocations: 3.062 kB / 0.5207 GB, free: 7.223 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003527/0.3405, allocations: 74.2 kB / 0.5208 GB, free: 7.184 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002376/0.3408, allocations: 99.7 kB / 0.5209 GB, free: 7.129 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003668/0.3411, allocations: 186.4 kB / 0.5211 GB, free: 7.031 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008536/0.342, allocations: 0.6199 MB / 0.5217 GB, free: 6.773 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001609/0.3421, allocations: 45.33 kB / 0.5217 GB, free: 6.746 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003257/0.3425, allocations: 220.6 kB / 0.5219 GB, free: 6.656 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003319/0.3428, allocations: 191.5 kB / 0.5221 GB, free: 6.586 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.108e-05/0.3429, allocations: 32 kB / 0.5221 GB, free: 6.582 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.926e-05/0.3429, allocations: 27.91 kB / 0.5222 GB, free: 6.582 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001457/0.3431, allocations: 113.8 kB / 0.5223 GB, free: 6.527 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001139/0.3432, allocations: 119.1 kB / 0.5224 GB, free: 6.438 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004327/0.3436, allocations: 312.7 kB / 0.5227 GB, free: 6.301 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.3436, allocations: 0 / 0.5227 GB, free: 6.301 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.3436, allocations: 0 / 0.5227 GB, free: 6.301 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.502e-06/0.3436, allocations: 1 kB / 0.5227 GB, free: 6.301 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.001755/0.3454, allocations: 0.6441 MB / 0.5233 GB, free: 5.887 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.3454, allocations: 13.48 kB / 0.5233 GB, free: 5.883 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.422e-05/0.3455, allocations: 46.23 kB / 0.5234 GB, free: 5.836 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.369e-05/0.3455, allocations: 30.69 kB / 0.5234 GB, free: 5.82 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000904/0.3464, allocations: 380.4 kB / 0.5238 GB, free: 5.605 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.463e-05/0.3464, allocations: 14.73 kB / 0.5238 GB, free: 5.598 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4e-05/0.3465, allocations: 21.42 kB / 0.5238 GB, free: 5.586 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002934/0.3468, allocations: 167.8 kB / 0.5239 GB, free: 5.504 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.3468, allocations: 0 / 0.5239 GB, free: 5.504 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.854e-05/0.3468, allocations: 5.734 kB / 0.524 GB, free: 5.5 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-06/0.3468, allocations: 2.688 kB / 0.524 GB, free: 5.5 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003379/0.3471, allocations: 180.4 kB / 0.5241 GB, free: 5.441 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001096/0.3482, allocations: 0.6377 MB / 0.5248 GB, free: 5.047 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003931/0.3486, allocations: 248.7 kB / 0.525 GB, free: 4.938 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001579/0.3488, allocations: 87.25 kB / 0.5251 GB, free: 4.898 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.165e-05/0.3488, allocations: 5.156 kB / 0.5251 GB, free: 4.895 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.31e-05/0.3488, allocations: 32.28 kB / 0.5251 GB, free: 4.855 MB / 382.1 MB Notification: Performance of pre-optimization done (n=16): time 1.242e-06/0.3488, allocations: 1.125 kB / 0.5251 GB, free: 4.855 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0005958/0.3494, allocations: 303.5 kB / 0.5254 GB, free: 4.723 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.739e-05/0.3495, allocations: 57.59 kB / 0.5255 GB, free: 4.656 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009038/0.3504, allocations: 440.7 kB / 0.5259 GB, free: 4.477 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.992e-05/0.3504, allocations: 26.98 kB / 0.5259 GB, free: 4.445 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.493e-05/0.3505, allocations: 158.8 kB / 0.5261 GB, free: 4.309 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.418e-05/0.3505, allocations: 61.66 kB / 0.5261 GB, free: 4.258 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.443e-05/0.3506, allocations: 38.78 kB / 0.5261 GB, free: 4.23 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.02e-05/0.3506, allocations: 342.6 kB / 0.5265 GB, free: 3.902 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001606/0.3508, allocations: 85.09 kB / 0.5266 GB, free: 3.871 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000157/0.351, allocations: 88.33 kB / 0.5266 GB, free: 3.84 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003396/0.3513, allocations: 194.9 kB / 0.5268 GB, free: 3.758 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.3513, allocations: 0 / 0.5268 GB, free: 3.758 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003938/0.3517, allocations: 258.4 kB / 0.5271 GB, free: 3.637 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.3517, allocations: 9.312 kB / 0.5271 GB, free: 3.633 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.3517, allocations: 7.938 kB / 0.5271 GB, free: 3.625 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.3517, allocations: 1.156 kB / 0.5271 GB, free: 3.625 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003538/0.3521, allocations: 58.72 kB / 0.5271 GB, free: 3.621 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.3521, allocations: 5 kB / 0.5271 GB, free: 3.617 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003457/0.3524, allocations: 47.73 kB / 0.5272 GB, free: 3.613 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.728e-05/0.3525, allocations: 12.39 kB / 0.5272 GB, free: 3.605 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.0001176/0.3526, allocations: 161.5 kB / 0.5274 GB, free: 3.465 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.59e-05/0.3526, allocations: 26.81 kB / 0.5274 GB, free: 3.449 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.582e-05/0.3527, allocations: 39.81 kB / 0.5274 GB, free: 3.422 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.3527, allocations: 2.156 kB / 0.5274 GB, free: 3.422 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.3527, allocations: 0 / 0.5274 GB, free: 3.422 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.3527, allocations: 1.094 kB / 0.5274 GB, free: 3.422 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003568/0.3531, allocations: 329.6 kB / 0.5277 GB, free: 3.188 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.3531, allocations: 0 / 0.5277 GB, free: 3.188 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002086/0.3533, allocations: 30.45 kB / 0.5278 GB, free: 3.184 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.776e-06/0.3533, allocations: 1.312 kB / 0.5278 GB, free: 3.184 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.338e-05/0.3533, allocations: 11.08 kB / 0.5278 GB, free: 3.176 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.3533, allocations: 2.109 kB / 0.5278 GB, free: 3.176 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.3533, allocations: 0 / 0.5278 GB, free: 3.176 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005791/0.3539, allocations: 450.8 kB / 0.5282 GB, free: 2.914 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.437e-05/0.354, allocations: 32.59 kB / 0.5282 GB, free: 2.898 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.386e-05/0.354, allocations: 10.86 kB / 0.5283 GB, free: 2.891 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003841/0.3544, allocations: 48.59 kB / 0.5283 GB, free: 2.887 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.786e-05/0.3545, allocations: 13.36 kB / 0.5283 GB, free: 2.883 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.234e-05/0.3545, allocations: 3.375 kB / 0.5283 GB, free: 2.883 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007904/0.3553, allocations: 345 kB / 0.5286 GB, free: 2.75 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3553, allocations: 0 / 0.5286 GB, free: 2.75 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000299/0.3556, allocations: 47.2 kB / 0.5287 GB, free: 2.734 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.0007325/0.3563, allocations: 0.9862 MB / 0.5297 GB, free: 1.934 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003832/0.3567, allocations: 191.9 kB / 0.5298 GB, free: 1.867 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.3567, allocations: 1 kB / 0.5298 GB, free: 1.867 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001618/0.3568, allocations: 94.08 kB / 0.5299 GB, free: 1.836 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004139/0.3573, allocations: 44.09 kB / 0.53 GB, free: 1.812 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005745/0.363, allocations: 3.284 MB / 0.5332 GB, free: 15.96 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004781/0.3635, allocations: 0.7806 MB / 0.5339 GB, free: 15.25 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001635/0.3636, allocations: 52.16 kB / 0.534 GB, free: 15.25 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001774/0.3638, allocations: 94.91 kB / 0.5341 GB, free: 15.18 MB / 398.1 MB Notification: Performance of SimCode: time 1.222e-06/0.3638, allocations: 0 / 0.5341 GB, free: 15.18 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03392/0.3977, allocations: 5.596 MB / 0.5395 GB, free: 13.89 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.47/11.87, allocations: 1.125 kB / 0.5395 GB, free: 13.89 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.665556509993621] Failed to read output from testmodel.py, exit status != 0: 11.974246792997292 12.003705088 11.654340696 Calling exit ...