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.001708/0.001708, allocations: 110.6 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.002164/0.002164, allocations: 220.2 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.536/1.536, allocations: 230.6 MB / 256 MB, free: 7.992 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.1079/0.1079, allocations: 24.12 MB / 336.6 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.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.002006/0.002006, allocations: 59.91 kB / 470.9 MB, free: 8.785 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.407/0.409, allocations: 59.6 MB / 0.5181 GB, free: 9.035 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessBlocks.TITO_rational_zeroInit): time 0.002429/0.4115, allocations: 1.13 MB / 0.5192 GB, free: 8.418 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00187/0.4133, allocations: 1.359 MB / 0.5205 GB, free: 7.43 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001177/0.4135, allocations: 2.344 kB / 0.5205 GB, free: 7.43 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003752/0.4138, allocations: 78.58 kB / 0.5206 GB, free: 7.387 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000232/0.4141, allocations: 82.45 kB / 0.5207 GB, free: 7.348 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003709/0.4144, allocations: 164.8 kB / 0.5208 GB, free: 7.27 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007711/0.4152, allocations: 0.5398 MB / 0.5214 GB, free: 7.07 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001542/0.4154, allocations: 36.38 kB / 0.5214 GB, free: 7.051 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002887/0.4157, allocations: 193.1 kB / 0.5216 GB, free: 6.984 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003069/0.416, allocations: 189.5 kB / 0.5218 GB, free: 6.914 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.78e-05/0.416, allocations: 18.25 kB / 0.5218 GB, free: 6.914 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.101e-05/0.416, allocations: 23.03 kB / 0.5218 GB, free: 6.91 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001371/0.4162, allocations: 96.27 kB / 0.5219 GB, free: 6.871 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001003/0.4163, allocations: 102.8 kB / 0.522 GB, free: 6.797 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000314/0.4166, allocations: 230 kB / 0.5222 GB, free: 6.699 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.4166, allocations: 0 / 0.5222 GB, free: 6.699 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.4166, allocations: 1.469 kB / 0.5222 GB, free: 6.699 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.695e-06/0.4166, allocations: 0 / 0.5222 GB, free: 6.699 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.001748/0.4184, allocations: 0.6304 MB / 0.5228 GB, free: 6.301 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.774e-05/0.4184, allocations: 9.578 kB / 0.5228 GB, free: 6.301 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.864e-05/0.4185, allocations: 50.98 kB / 0.5229 GB, free: 6.25 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.213e-05/0.4186, allocations: 35.42 kB / 0.5229 GB, free: 6.23 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009384/0.4195, allocations: 346.6 kB / 0.5232 GB, free: 6.039 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.684e-05/0.4195, allocations: 13.22 kB / 0.5233 GB, free: 6.031 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.783e-05/0.4196, allocations: 15.11 kB / 0.5233 GB, free: 6.027 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002849/0.4199, allocations: 166.2 kB / 0.5234 GB, free: 5.934 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.4199, allocations: 0 / 0.5234 GB, free: 5.934 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.724e-05/0.4199, allocations: 5.344 kB / 0.5234 GB, free: 5.93 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.854e-06/0.4199, allocations: 2.5 kB / 0.5234 GB, free: 5.93 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002681/0.4202, allocations: 145.8 kB / 0.5236 GB, free: 5.891 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001081/0.4212, allocations: 0.6274 MB / 0.5242 GB, free: 5.465 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006303/0.4219, allocations: 216.8 kB / 0.5244 GB, free: 5.371 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001323/0.422, allocations: 70.31 kB / 0.5245 GB, free: 5.336 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.424e-05/0.422, allocations: 2.875 kB / 0.5245 GB, free: 5.336 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.431e-05/0.422, allocations: 32.56 kB / 0.5245 GB, free: 5.297 MB / 382.1 MB Notification: Performance of pre-optimization done (n=14): time 3.176e-06/0.4221, allocations: 2.859 kB / 0.5245 GB, free: 5.297 MB / 382.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005469/0.4226, allocations: 254.7 kB / 0.5247 GB, free: 5.184 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.068e-05/0.4226, allocations: 83.27 kB / 0.5248 GB, free: 5.086 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009237/0.4236, allocations: 423.8 kB / 0.5252 GB, free: 4.922 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.814e-05/0.4236, allocations: 30.77 kB / 0.5253 GB, free: 4.887 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.107e-05/0.4237, allocations: 163.2 kB / 0.5254 GB, free: 4.742 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.075e-05/0.4237, allocations: 58.94 kB / 0.5255 GB, free: 4.695 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.177e-05/0.4238, allocations: 35.67 kB / 0.5255 GB, free: 4.668 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.141e-05/0.4239, allocations: 339.6 kB / 0.5258 GB, free: 4.344 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001096/0.424, allocations: 59.09 kB / 0.5259 GB, free: 4.328 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001226/0.4241, allocations: 80.27 kB / 0.526 GB, free: 4.293 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002454/0.4243, allocations: 152.5 kB / 0.5261 GB, free: 4.227 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.4243, allocations: 5.156 kB / 0.5261 GB, free: 4.223 MB / 382.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000332/0.4247, allocations: 214.6 kB / 0.5263 GB, free: 4.121 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.387e-05/0.4247, allocations: 5.875 kB / 0.5263 GB, free: 4.121 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.4247, allocations: 0 / 0.5263 GB, free: 4.121 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.047e-05/0.4247, allocations: 5.188 kB / 0.5263 GB, free: 4.117 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003092/0.425, allocations: 50.34 kB / 0.5264 GB, free: 4.117 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.116e-06/0.425, allocations: 1.094 kB / 0.5264 GB, free: 4.117 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003362/0.4254, allocations: 62.39 kB / 0.5264 GB, free: 4.102 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.535e-05/0.4254, allocations: 3.375 kB / 0.5264 GB, free: 4.102 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.0001198/0.4255, allocations: 145.3 kB / 0.5266 GB, free: 3.973 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.065e-05/0.4256, allocations: 25.25 kB / 0.5266 GB, free: 3.961 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.528e-05/0.4257, allocations: 41.52 kB / 0.5266 GB, free: 3.93 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.4257, allocations: 6.156 kB / 0.5266 GB, free: 3.926 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/0.4257, allocations: 0 / 0.5266 GB, free: 3.926 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.4257, allocations: 10.61 kB / 0.5266 GB, free: 3.918 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004056/0.4261, allocations: 268.5 kB / 0.5269 GB, free: 3.719 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.4261, allocations: 1.094 kB / 0.5269 GB, free: 3.719 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001797/0.4263, allocations: 24.41 kB / 0.5269 GB, free: 3.715 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.4263, allocations: 1.25 kB / 0.5269 GB, free: 3.715 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.21e-05/0.4263, allocations: 11.58 kB / 0.5269 GB, free: 3.707 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.4263, allocations: 1.281 kB / 0.5269 GB, free: 3.707 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.4263, allocations: 1.312 kB / 0.5269 GB, free: 3.707 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005379/0.4268, allocations: 441.8 kB / 0.5274 GB, free: 3.418 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.912e-05/0.4269, allocations: 36.47 kB / 0.5274 GB, free: 3.398 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.138e-05/0.427, allocations: 6.578 kB / 0.5274 GB, free: 3.395 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003989/0.4274, allocations: 47.69 kB / 0.5275 GB, free: 3.391 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.481e-05/0.4274, allocations: 7.781 kB / 0.5275 GB, free: 3.391 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.086e-05/0.4274, allocations: 7.281 kB / 0.5275 GB, free: 3.387 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000773/0.4282, allocations: 336 kB / 0.5278 GB, free: 3.258 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4282, allocations: 1.156 kB / 0.5278 GB, free: 3.258 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003475/0.4285, allocations: 37.58 kB / 0.5278 GB, free: 3.25 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.0006904/0.4292, allocations: 0.9956 MB / 0.5288 GB, free: 2.41 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003292/0.4295, allocations: 140.5 kB / 0.5289 GB, free: 2.375 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.4295, allocations: 0 / 0.5289 GB, free: 2.375 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001237/0.4297, allocations: 74.91 kB / 0.529 GB, free: 2.352 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004908/0.4302, allocations: 48.33 kB / 0.529 GB, free: 2.332 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006068/0.4362, allocations: 3.138 MB / 0.5321 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004769/0.4367, allocations: 0.7809 MB / 0.5329 GB, free: 15.81 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002347/0.4369, allocations: 50.88 kB / 0.5329 GB, free: 15.81 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001886/0.4371, allocations: 85.92 kB / 0.533 GB, free: 15.75 MB / 398.1 MB Notification: Performance of SimCode: time 1.543e-06/0.4371, allocations: 0 / 0.533 GB, free: 15.75 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03803/0.4752, allocations: 5.203 MB / 0.5381 GB, free: 14.78 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.25/11.73, allocations: 7.406 kB / 0.5381 GB, free: 14.77 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 & python3 -m fmpy simulate --output-file AES_AES.ProcessBlocks.TITO_rational_zeroInit_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 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.603245732003415] Failed to read output from testmodel.py, exit status != 0: 11.8345549020014 11.850480294 11.430566495 Calling exit ...