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.001775/0.001775, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002352/0.002352, allocations: 216.7 kB / 22.26 MB, free: 5.082 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.466/1.466, allocations: 230.6 MB / 256 MB, free: 8.035 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.1131/0.1131, allocations: 24.13 MB / 336.6 MB, free: 11.46 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.002187/0.002187, allocations: 60.19 kB / 470.9 MB, free: 8.797 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3322/0.3344, allocations: 59.6 MB / 0.5181 GB, free: 8.512 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_TITO_rational_zeroInit): time 0.002433/0.3368, allocations: 1.246 MB / 0.5193 GB, free: 7.969 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001756/0.3385, allocations: 1.419 MB / 0.5207 GB, free: 7.121 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001119/0.3387, allocations: 2.594 kB / 0.5207 GB, free: 7.121 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003635/0.339, allocations: 73.83 kB / 0.5208 GB, free: 7.082 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002311/0.3393, allocations: 100.8 kB / 0.5209 GB, free: 7.027 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003508/0.3396, allocations: 192.9 kB / 0.5211 GB, free: 6.922 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007479/0.3403, allocations: 0.6161 MB / 0.5217 GB, free: 6.668 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001326/0.3405, allocations: 46.91 kB / 0.5217 GB, free: 6.641 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002789/0.3408, allocations: 215.8 kB / 0.5219 GB, free: 6.555 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002735/0.341, allocations: 199.3 kB / 0.5221 GB, free: 6.477 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.015e-05/0.3411, allocations: 28.16 kB / 0.5221 GB, free: 6.477 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.5e-05/0.3411, allocations: 31.94 kB / 0.5222 GB, free: 6.473 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001245/0.3413, allocations: 108.6 kB / 0.5223 GB, free: 6.422 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001012/0.3414, allocations: 120.7 kB / 0.5224 GB, free: 6.332 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003305/0.3417, allocations: 308.9 kB / 0.5227 GB, free: 6.199 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.3417, allocations: 0 / 0.5227 GB, free: 6.199 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.3417, allocations: 0 / 0.5227 GB, free: 6.199 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.482e-06/0.3417, allocations: 0 / 0.5227 GB, free: 6.199 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.001692/0.3434, allocations: 0.6503 MB / 0.5233 GB, free: 5.781 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.72e-05/0.3434, allocations: 10.17 kB / 0.5233 GB, free: 5.781 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.414e-05/0.3435, allocations: 43.23 kB / 0.5234 GB, free: 5.738 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.266e-05/0.3436, allocations: 29.66 kB / 0.5234 GB, free: 5.723 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008968/0.3445, allocations: 385.9 kB / 0.5237 GB, free: 5.5 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.784e-05/0.3445, allocations: 10.23 kB / 0.5238 GB, free: 5.496 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.43e-05/0.3445, allocations: 17.77 kB / 0.5238 GB, free: 5.488 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003017/0.3448, allocations: 174.7 kB / 0.5239 GB, free: 5.402 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/0.3448, allocations: 4 kB / 0.5239 GB, free: 5.398 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.926e-05/0.3448, allocations: 5.156 kB / 0.524 GB, free: 5.395 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.822e-06/0.3449, allocations: 3.156 kB / 0.524 GB, free: 5.395 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003276/0.3452, allocations: 180.8 kB / 0.5241 GB, free: 5.336 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00113/0.3463, allocations: 0.6362 MB / 0.5247 GB, free: 4.941 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000435/0.3467, allocations: 246.4 kB / 0.525 GB, free: 4.836 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001642/0.3469, allocations: 84.14 kB / 0.5251 GB, free: 4.801 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.871e-05/0.3469, allocations: 6.344 kB / 0.5251 GB, free: 4.797 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.777e-05/0.3469, allocations: 40.27 kB / 0.5251 GB, free: 4.75 MB / 382.1 MB Notification: Performance of pre-optimization done (n=16): time 2.425e-06/0.3469, allocations: 3.281 kB / 0.5251 GB, free: 4.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0006788/0.3476, allocations: 299.1 kB / 0.5254 GB, free: 4.621 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.236e-05/0.3477, allocations: 58.12 kB / 0.5255 GB, free: 4.555 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009646/0.3486, allocations: 441.1 kB / 0.5259 GB, free: 4.375 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.079e-05/0.3486, allocations: 26.83 kB / 0.5259 GB, free: 4.344 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001094/0.3488, allocations: 157.4 kB / 0.526 GB, free: 4.207 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.566e-05/0.3488, allocations: 59.27 kB / 0.5261 GB, free: 4.16 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.941e-05/0.3489, allocations: 37.14 kB / 0.5261 GB, free: 4.133 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001039/0.349, allocations: 343.9 kB / 0.5265 GB, free: 3.805 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001759/0.3492, allocations: 89.89 kB / 0.5266 GB, free: 3.77 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001544/0.3493, allocations: 90.25 kB / 0.5266 GB, free: 3.734 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003187/0.3496, allocations: 194.3 kB / 0.5268 GB, free: 3.652 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.3496, allocations: 0 / 0.5268 GB, free: 3.652 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003921/0.35, allocations: 257.5 kB / 0.5271 GB, free: 3.531 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.3501, allocations: 4.469 kB / 0.5271 GB, free: 3.531 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.3501, allocations: 3.938 kB / 0.5271 GB, free: 3.527 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.267e-05/0.3501, allocations: 5.625 kB / 0.5271 GB, free: 3.523 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003529/0.3504, allocations: 56.48 kB / 0.5271 GB, free: 3.52 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.745e-06/0.3504, allocations: 1.906 kB / 0.5271 GB, free: 3.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003241/0.3508, allocations: 58.64 kB / 0.5272 GB, free: 3.508 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.577e-05/0.3508, allocations: 4.312 kB / 0.5272 GB, free: 3.508 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.0001214/0.3509, allocations: 160.1 kB / 0.5274 GB, free: 3.367 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.472e-05/0.351, allocations: 27.41 kB / 0.5274 GB, free: 3.352 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.291e-05/0.351, allocations: 42.27 kB / 0.5274 GB, free: 3.32 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.351, allocations: 6.156 kB / 0.5274 GB, free: 3.316 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.351, allocations: 1 kB / 0.5274 GB, free: 3.316 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.351, allocations: 1.312 kB / 0.5274 GB, free: 3.316 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003814/0.3514, allocations: 326.8 kB / 0.5277 GB, free: 3.086 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.3514, allocations: 0 / 0.5277 GB, free: 3.086 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001974/0.3516, allocations: 24.77 kB / 0.5278 GB, free: 3.086 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.3516, allocations: 5.375 kB / 0.5278 GB, free: 3.082 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.312e-05/0.3517, allocations: 9.766 kB / 0.5278 GB, free: 3.074 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.3517, allocations: 1.406 kB / 0.5278 GB, free: 3.074 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.3517, allocations: 0 / 0.5278 GB, free: 3.074 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006654/0.3523, allocations: 445.6 kB / 0.5282 GB, free: 2.816 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.108e-05/0.3524, allocations: 35.33 kB / 0.5282 GB, free: 2.797 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.809e-05/0.3525, allocations: 7.547 kB / 0.5282 GB, free: 2.793 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003899/0.3528, allocations: 52.77 kB / 0.5283 GB, free: 2.785 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.975e-05/0.3529, allocations: 9.438 kB / 0.5283 GB, free: 2.785 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.424e-05/0.3529, allocations: 7.156 kB / 0.5283 GB, free: 2.781 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007615/0.3537, allocations: 345.4 kB / 0.5286 GB, free: 2.648 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3537, allocations: 0 / 0.5286 GB, free: 2.648 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002875/0.354, allocations: 43.39 kB / 0.5287 GB, free: 2.637 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.000803/0.3548, allocations: 0.9899 MB / 0.5296 GB, free: 1.836 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004255/0.3552, allocations: 192.5 kB / 0.5298 GB, free: 1.77 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3552, allocations: 3.938 kB / 0.5298 GB, free: 1.766 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001924/0.3554, allocations: 94.25 kB / 0.5299 GB, free: 1.734 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000429/0.3558, allocations: 47.42 kB / 0.53 GB, free: 1.711 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005909/0.3617, allocations: 3.279 MB / 0.5332 GB, free: 15.86 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005557/0.3623, allocations: 0.7863 MB / 0.5339 GB, free: 15.15 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001556/0.3624, allocations: 54.67 kB / 0.534 GB, free: 15.15 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001766/0.3626, allocations: 88 kB / 0.5341 GB, free: 15.08 MB / 398.1 MB Notification: Performance of SimCode: time 7.21e-07/0.3626, allocations: 0 / 0.5341 GB, free: 15.08 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03549/0.3981, allocations: 5.607 MB / 0.5396 GB, free: 13.81 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.74/12.14, allocations: 3.719 kB / 0.5396 GB, free: 13.81 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: 14.79291348089464] Failed to read output from testmodel.py, exit status != 0: 12.245110856136307 12.263756418 11.918529014 Calling exit ...