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.001415/0.001415, allocations: 108.3 kB / 19.73 MB, free: 1.898 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.00167/0.00167, allocations: 212.6 kB / 23.01 MB, free: 4.992 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.532/1.532, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.1083/0.1083, allocations: 24.03 MB / 337.2 MB, free: 11.43 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.002258/0.002258, allocations: 67.89 kB / 471.5 MB, free: 8.742 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3157/0.3179, allocations: 59.57 MB / 0.5186 GB, free: 8.898 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_TITO_rational_zeroInit): time 0.002251/0.3202, allocations: 1.163 MB / 0.5197 GB, free: 8.293 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001556/0.3217, allocations: 1.379 MB / 0.5211 GB, free: 7.301 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001058/0.3218, allocations: 2.375 kB / 0.5211 GB, free: 7.301 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003107/0.3222, allocations: 78.59 kB / 0.5212 GB, free: 7.258 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002345/0.3224, allocations: 88.33 kB / 0.5212 GB, free: 7.215 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003531/0.3227, allocations: 190.2 kB / 0.5214 GB, free: 7.113 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006989/0.3234, allocations: 0.616 MB / 0.522 GB, free: 6.859 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001341/0.3236, allocations: 42.61 kB / 0.5221 GB, free: 6.836 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002514/0.3238, allocations: 211.3 kB / 0.5223 GB, free: 6.754 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002584/0.3241, allocations: 190.5 kB / 0.5225 GB, free: 6.684 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.071e-05/0.3241, allocations: 28.28 kB / 0.5225 GB, free: 6.684 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.472e-05/0.3242, allocations: 28.62 kB / 0.5225 GB, free: 6.684 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000117/0.3243, allocations: 112.3 kB / 0.5226 GB, free: 6.629 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.094e-05/0.3244, allocations: 89.22 kB / 0.5227 GB, free: 6.57 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003136/0.3247, allocations: 317.8 kB / 0.523 GB, free: 6.43 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.3247, allocations: 1.125 kB / 0.523 GB, free: 6.43 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.3247, allocations: 0 / 0.523 GB, free: 6.43 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.3247, allocations: 0.75 kB / 0.523 GB, free: 6.43 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.001653/0.3264, allocations: 0.6433 MB / 0.5236 GB, free: 6.016 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.3264, allocations: 10.14 kB / 0.5236 GB, free: 6.016 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.694e-05/0.3265, allocations: 46.97 kB / 0.5237 GB, free: 5.969 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.982e-05/0.3265, allocations: 30.75 kB / 0.5237 GB, free: 5.953 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008982/0.3274, allocations: 387.9 kB / 0.5241 GB, free: 5.73 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.903e-05/0.3274, allocations: 14.61 kB / 0.5241 GB, free: 5.723 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.477e-05/0.3275, allocations: 17.73 kB / 0.5241 GB, free: 5.715 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002905/0.3278, allocations: 168 kB / 0.5243 GB, free: 5.633 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.3278, allocations: 3.938 kB / 0.5243 GB, free: 5.633 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.752e-05/0.3278, allocations: 5.031 kB / 0.5243 GB, free: 5.629 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.3278, allocations: 3.5 kB / 0.5243 GB, free: 5.629 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003465/0.3281, allocations: 183 kB / 0.5245 GB, free: 5.566 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001026/0.3292, allocations: 0.5847 MB / 0.525 GB, free: 5.191 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003993/0.3296, allocations: 243.5 kB / 0.5253 GB, free: 5.086 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00015/0.3297, allocations: 87.89 kB / 0.5254 GB, free: 5.047 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.864e-05/0.3297, allocations: 2 kB / 0.5254 GB, free: 5.047 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.688e-05/0.3297, allocations: 40 kB / 0.5254 GB, free: 5 MB / 382.1 MB Notification: Performance of pre-optimization done (n=16): time 1.503e-06/0.3297, allocations: 0 / 0.5254 GB, free: 5 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0005899/0.3303, allocations: 303.7 kB / 0.5257 GB, free: 4.867 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.738e-05/0.3304, allocations: 54.36 kB / 0.5257 GB, free: 4.805 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009127/0.3313, allocations: 439.7 kB / 0.5262 GB, free: 4.625 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.74e-05/0.3313, allocations: 27.27 kB / 0.5262 GB, free: 4.594 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.608e-05/0.3314, allocations: 158.6 kB / 0.5263 GB, free: 4.457 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.675e-05/0.3314, allocations: 63.48 kB / 0.5264 GB, free: 4.406 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.627e-05/0.3315, allocations: 37.89 kB / 0.5264 GB, free: 4.379 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.944e-05/0.3316, allocations: 339.2 kB / 0.5268 GB, free: 4.055 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000161/0.3317, allocations: 86.22 kB / 0.5268 GB, free: 4.023 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001508/0.3319, allocations: 96.12 kB / 0.5269 GB, free: 3.984 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000313/0.3322, allocations: 194.5 kB / 0.5271 GB, free: 3.902 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.3322, allocations: 1.125 kB / 0.5271 GB, free: 3.902 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003934/0.3326, allocations: 256.4 kB / 0.5274 GB, free: 3.781 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.3326, allocations: 5.375 kB / 0.5274 GB, free: 3.781 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.3326, allocations: 7.875 kB / 0.5274 GB, free: 3.773 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.3326, allocations: 1.031 kB / 0.5274 GB, free: 3.773 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003373/0.333, allocations: 61.38 kB / 0.5274 GB, free: 3.766 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.682e-06/0.333, allocations: 5 kB / 0.5274 GB, free: 3.762 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003405/0.3333, allocations: 49.95 kB / 0.5275 GB, free: 3.758 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.564e-05/0.3333, allocations: 7.5 kB / 0.5275 GB, free: 3.754 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.0001081/0.3334, allocations: 153.3 kB / 0.5276 GB, free: 3.621 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.474e-05/0.3335, allocations: 27.09 kB / 0.5277 GB, free: 3.605 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.734e-05/0.3336, allocations: 39.91 kB / 0.5277 GB, free: 3.578 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.3336, allocations: 6.5 kB / 0.5277 GB, free: 3.574 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.732e-06/0.3336, allocations: 3.938 kB / 0.5277 GB, free: 3.57 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.828e-06/0.3336, allocations: 0.9375 kB / 0.5277 GB, free: 3.57 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003003/0.3339, allocations: 283.2 kB / 0.528 GB, free: 3.355 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.3339, allocations: 0 / 0.528 GB, free: 3.355 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001939/0.3341, allocations: 29.28 kB / 0.528 GB, free: 3.352 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.3341, allocations: 1.156 kB / 0.528 GB, free: 3.352 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.094e-05/0.3341, allocations: 10.25 kB / 0.528 GB, free: 3.344 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.3341, allocations: 2.688 kB / 0.528 GB, free: 3.344 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3341, allocations: 0 / 0.528 GB, free: 3.344 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005848/0.3347, allocations: 451.8 kB / 0.5285 GB, free: 3.078 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.719e-05/0.3348, allocations: 31.66 kB / 0.5285 GB, free: 3.062 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.248e-05/0.3348, allocations: 11.94 kB / 0.5285 GB, free: 3.055 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003745/0.3352, allocations: 48.8 kB / 0.5285 GB, free: 3.051 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.191e-05/0.3352, allocations: 10.11 kB / 0.5285 GB, free: 3.051 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.145e-05/0.3352, allocations: 2.219 kB / 0.5286 GB, free: 3.051 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007333/0.336, allocations: 351.4 kB / 0.5289 GB, free: 2.914 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.336, allocations: 0 / 0.5289 GB, free: 2.914 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002922/0.3363, allocations: 43.14 kB / 0.5289 GB, free: 2.902 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.0007177/0.337, allocations: 0.9881 MB / 0.5299 GB, free: 2.102 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003797/0.3374, allocations: 193.9 kB / 0.5301 GB, free: 2.035 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.3374, allocations: 0 / 0.5301 GB, free: 2.035 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001701/0.3375, allocations: 97.38 kB / 0.5302 GB, free: 2 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004186/0.338, allocations: 41.55 kB / 0.5302 GB, free: 1.98 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005602/0.3436, allocations: 3.287 MB / 0.5334 GB, free: 132 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001815/0.3437, allocations: 177.2 kB / 0.5336 GB, free: 44 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001735/0.3439, allocations: 51.08 kB / 0.5336 GB, free: 36 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001985/0.3441, allocations: 90.39 kB / 0.5337 GB, free: 15.96 MB / 398.1 MB Notification: Performance of SimCode: time 7.31e-07/0.3441, allocations: 0 / 0.5337 GB, free: 15.96 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0342/0.3783, allocations: 6.077 MB / 0.5397 GB, free: 14.27 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.3/11.68, allocations: 5 kB / 0.5397 GB, free: 14.27 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.395970951765776] Failed to read output from testmodel.py, exit status != 0: 11.803904603235424 11.828872625 11.499809643 Calling exit ...