Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.ProcessBlocks.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.001299/0.001299, 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.00168/0.00168, allocations: 208.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.492/1.492, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.111/0.111, allocations: 24.03 MB / 337.2 MB, free: 11.37 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.ProcessBlocks.TITO_rational_zeroInit,fileNamePrefix="AES_AES_ProcessBlocks_TITO_rational_zeroInit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.ProcessBlocks.TITO_rational_zeroInit,fileNamePrefix="AES_AES_ProcessBlocks_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.002095/0.002095, allocations: 67.91 kB / 471.5 MB, free: 8.793 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3696/0.3717, allocations: 59.57 MB / 0.5186 GB, free: 8.969 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessBlocks.TITO_rational_zeroInit): time 0.002729/0.3744, allocations: 1.055 MB / 0.5196 GB, free: 8.43 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00216/0.3766, allocations: 1.318 MB / 0.5209 GB, free: 7.484 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002012/0.3768, allocations: 2.531 kB / 0.5209 GB, free: 7.484 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004036/0.3772, allocations: 77.25 kB / 0.521 GB, free: 7.445 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002724/0.3775, allocations: 88.33 kB / 0.5211 GB, free: 7.402 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005003/0.378, allocations: 155.7 kB / 0.5212 GB, free: 7.332 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007712/0.3788, allocations: 0.5248 MB / 0.5217 GB, free: 7.148 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001507/0.3789, allocations: 34.97 kB / 0.5218 GB, free: 7.129 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002986/0.3792, allocations: 201.8 kB / 0.5219 GB, free: 7.055 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003077/0.3795, allocations: 181.2 kB / 0.5221 GB, free: 6.992 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.889e-05/0.3796, allocations: 17.97 kB / 0.5221 GB, free: 6.992 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.631e-05/0.3796, allocations: 18.72 kB / 0.5222 GB, free: 6.992 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001386/0.3797, allocations: 95.39 kB / 0.5222 GB, free: 6.953 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.855e-05/0.3798, allocations: 80.3 kB / 0.5223 GB, free: 6.902 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003091/0.3802, allocations: 229.6 kB / 0.5225 GB, free: 6.809 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.3802, allocations: 0 / 0.5225 GB, free: 6.809 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.405e-06/0.3802, allocations: 3.938 kB / 0.5225 GB, free: 6.805 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.885e-06/0.3802, allocations: 0 / 0.5225 GB, free: 6.805 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001693/0.3819, allocations: 0.6299 MB / 0.5232 GB, free: 6.406 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/0.3819, allocations: 10.3 kB / 0.5232 GB, free: 6.406 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.38e-05/0.382, allocations: 46.95 kB / 0.5232 GB, free: 6.359 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.45e-05/0.382, allocations: 34.14 kB / 0.5232 GB, free: 6.34 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009042/0.3829, allocations: 359.3 kB / 0.5236 GB, free: 6.137 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.671e-05/0.383, allocations: 9.812 kB / 0.5236 GB, free: 6.133 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.482e-05/0.383, allocations: 18.03 kB / 0.5236 GB, free: 6.125 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002626/0.3833, allocations: 161.2 kB / 0.5238 GB, free: 6.039 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.3833, allocations: 3.938 kB / 0.5238 GB, free: 6.039 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.576e-05/0.3833, allocations: 9 kB / 0.5238 GB, free: 6.031 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.135e-06/0.3833, allocations: 3.281 kB / 0.5238 GB, free: 6.031 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002521/0.3836, allocations: 141.3 kB / 0.5239 GB, free: 5.992 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009681/0.3845, allocations: 0.591 MB / 0.5245 GB, free: 5.578 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006336/0.3852, allocations: 213.5 kB / 0.5247 GB, free: 5.488 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001207/0.3853, allocations: 70.97 kB / 0.5248 GB, free: 5.453 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.355e-05/0.3853, allocations: 2.75 kB / 0.5248 GB, free: 5.453 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.852e-05/0.3853, allocations: 37.52 kB / 0.5248 GB, free: 5.41 MB / 382.1 MB Notification: Performance of pre-optimization done (n=14): time 1.293e-06/0.3853, allocations: 0 / 0.5248 GB, free: 5.41 MB / 382.1 MB Notification: Performance of matching and sorting (n=14): time 0.0004865/0.3858, allocations: 247.1 kB / 0.525 GB, free: 5.305 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.198e-05/0.3859, allocations: 87.22 kB / 0.5251 GB, free: 5.203 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009015/0.3868, allocations: 423.5 kB / 0.5255 GB, free: 5.039 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.606e-05/0.3868, allocations: 30.83 kB / 0.5256 GB, free: 5.004 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.234e-05/0.3869, allocations: 167.7 kB / 0.5257 GB, free: 4.855 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.578e-05/0.3869, allocations: 53.69 kB / 0.5258 GB, free: 4.812 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.317e-05/0.387, allocations: 33.98 kB / 0.5258 GB, free: 4.789 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.014e-05/0.3871, allocations: 338.6 kB / 0.5261 GB, free: 4.465 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001131/0.3872, allocations: 59.66 kB / 0.5262 GB, free: 4.449 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001165/0.3873, allocations: 79.94 kB / 0.5263 GB, free: 4.414 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002332/0.3875, allocations: 154.3 kB / 0.5264 GB, free: 4.348 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3875, allocations: 0 / 0.5264 GB, free: 4.348 MB / 382.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003197/0.3878, allocations: 212.4 kB / 0.5266 GB, free: 4.25 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.3879, allocations: 5.25 kB / 0.5266 GB, free: 4.25 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.022e-06/0.3879, allocations: 4 kB / 0.5266 GB, free: 4.246 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.979e-05/0.3879, allocations: 10.16 kB / 0.5266 GB, free: 4.238 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002773/0.3882, allocations: 52.09 kB / 0.5267 GB, free: 4.234 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.3882, allocations: 1.094 kB / 0.5267 GB, free: 4.234 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003206/0.3885, allocations: 56.58 kB / 0.5267 GB, free: 4.223 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.367e-05/0.3885, allocations: 7.438 kB / 0.5267 GB, free: 4.219 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (18): * Single equations (assignments): 18 * 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.0001106/0.3886, allocations: 154.6 kB / 0.5269 GB, free: 4.082 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.845e-05/0.3887, allocations: 25.16 kB / 0.5269 GB, free: 4.07 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.454e-05/0.3888, allocations: 41.97 kB / 0.5269 GB, free: 4.039 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.3888, allocations: 2.062 kB / 0.5269 GB, free: 4.039 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.493e-06/0.3888, allocations: 1.406 kB / 0.527 GB, free: 4.039 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.3888, allocations: 1.734 kB / 0.527 GB, free: 4.039 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003617/0.3891, allocations: 244.2 kB / 0.5272 GB, free: 3.844 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.3891, allocations: 1.188 kB / 0.5272 GB, free: 3.844 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001615/0.3893, allocations: 21.12 kB / 0.5272 GB, free: 3.844 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-06/0.3893, allocations: 1.156 kB / 0.5272 GB, free: 3.844 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.98e-05/0.3893, allocations: 11.22 kB / 0.5272 GB, free: 3.836 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.3893, allocations: 6.328 kB / 0.5272 GB, free: 3.832 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.3893, allocations: 0 / 0.5272 GB, free: 3.832 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00046/0.3898, allocations: 446.5 kB / 0.5276 GB, free: 3.543 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.006e-05/0.3899, allocations: 35.81 kB / 0.5277 GB, free: 3.523 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.097e-05/0.3899, allocations: 11.28 kB / 0.5277 GB, free: 3.516 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003841/0.3903, allocations: 43.88 kB / 0.5277 GB, free: 3.516 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.285e-05/0.3903, allocations: 12.94 kB / 0.5277 GB, free: 3.512 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.108e-05/0.3903, allocations: 6.656 kB / 0.5278 GB, free: 3.508 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007588/0.3911, allocations: 332.3 kB / 0.5281 GB, free: 3.383 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3911, allocations: 0 / 0.5281 GB, free: 3.383 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003242/0.3914, allocations: 38.09 kB / 0.5281 GB, free: 3.375 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (P11.x_scaled[1],P12.x_scaled[1],P21.x_scaled[1],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 (14): * Single equations (assignments): 14 * 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.0006069/0.392, allocations: 0.9898 MB / 0.5291 GB, free: 2.543 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002807/0.3923, allocations: 145.7 kB / 0.5292 GB, free: 2.5 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3923, allocations: 0 / 0.5292 GB, free: 2.5 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001138/0.3924, allocations: 71.52 kB / 0.5293 GB, free: 2.48 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004766/0.3929, allocations: 46.61 kB / 0.5293 GB, free: 2.461 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005194/0.3981, allocations: 3.132 MB / 0.5324 GB, free: 0.6562 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002064/0.3983, allocations: 172.5 kB / 0.5325 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001726/0.3985, allocations: 50.08 kB / 0.5326 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001506/0.3986, allocations: 90.53 kB / 0.5327 GB, free: 0.5 MB / 382.1 MB Notification: Performance of SimCode: time 9.22e-07/0.3986, allocations: 7.938 kB / 0.5327 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03484/0.4335, allocations: 5.67 MB / 0.5382 GB, free: 15.11 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.22/11.66, allocations: 13.03 kB / 0.5382 GB, free: 15.1 MB / 398.1 MB " [Timeout remaining time 648] (rm -f AES_AES.ProcessBlocks.TITO_rational_zeroInit.pipe ; mkfifo AES_AES.ProcessBlocks.TITO_rational_zeroInit.pipe ; head -c 1048576 < AES_AES.ProcessBlocks.TITO_rational_zeroInit.pipe >> ../files/AES_AES.ProcessBlocks.TITO_rational_zeroInit.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_ProcessBlocks_TITO_rational_zeroInit_fmu --startTime=0 --stopTime=1 --stepSize=0.002 --timeout=50 --tolerance=1e-06 AES_AES_ProcessBlocks_TITO_rational_zeroInit.fmu > AES_AES.ProcessBlocks.TITO_rational_zeroInit.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.325327624101192] Failed to read output from testmodel.py, exit status != 0: 11.770273514091969 11.795516444 11.410669544 Calling exit ...