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.001944/0.001944, allocations: 107.6 kB / 16.45 MB, free: 6.453 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.002337/0.002337, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.534/1.534, allocations: 230.6 MB / 252.8 MB, free: 8.941 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.11 MB / 333 MB, free: 12.6 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.002241/0.002241, allocations: 67.91 kB / 465.7 MB, free: 11.18 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.416/0.4182, allocations: 59.57 MB / 0.513 GB, free: 8.398 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessBlocks.TITO_rational_zeroInit): time 0.003484/0.4217, allocations: 1.11 MB / 0.5141 GB, free: 7.914 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002664/0.4244, allocations: 1.353 MB / 0.5154 GB, free: 7.078 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002594/0.4246, allocations: 3.188 kB / 0.5154 GB, free: 7.078 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004684/0.4251, allocations: 73.34 kB / 0.5155 GB, free: 7.043 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004178/0.4255, allocations: 91.12 kB / 0.5155 GB, free: 6.996 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004871/0.426, allocations: 132.5 kB / 0.5157 GB, free: 6.934 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008176/0.4268, allocations: 443.2 kB / 0.5161 GB, free: 6.781 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001727/0.427, allocations: 38.66 kB / 0.5161 GB, free: 6.762 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004744/0.4275, allocations: 185.6 kB / 0.5163 GB, free: 6.699 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005179/0.428, allocations: 192.5 kB / 0.5165 GB, free: 6.629 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001313/0.4281, allocations: 18.47 kB / 0.5165 GB, free: 6.629 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.422e-05/0.4282, allocations: 19.22 kB / 0.5165 GB, free: 6.629 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002194/0.4284, allocations: 98.98 kB / 0.5166 GB, free: 6.586 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001895/0.4286, allocations: 104.8 kB / 0.5167 GB, free: 6.512 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004989/0.4291, allocations: 225.3 kB / 0.5169 GB, free: 6.418 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.4291, allocations: 0.6562 kB / 0.5169 GB, free: 6.418 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.216e-06/0.4291, allocations: 1.406 kB / 0.5169 GB, free: 6.418 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.345e-05/0.4292, allocations: 5.594 kB / 0.5169 GB, free: 6.414 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.002398/0.4316, allocations: 0.7037 MB / 0.5176 GB, free: 5.922 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.502e-05/0.4316, allocations: 9.781 kB / 0.5176 GB, free: 5.922 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001087/0.4317, allocations: 55.25 kB / 0.5177 GB, free: 5.867 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000108/0.4318, allocations: 30.59 kB / 0.5177 GB, free: 5.852 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001254/0.4331, allocations: 408.8 kB / 0.5181 GB, free: 5.586 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.022e-05/0.4331, allocations: 9.609 kB / 0.5181 GB, free: 5.582 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.559e-05/0.4331, allocations: 12.78 kB / 0.5181 GB, free: 5.578 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003844/0.4335, allocations: 159.9 kB / 0.5183 GB, free: 5.492 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.4335, allocations: 8.578 kB / 0.5183 GB, free: 5.484 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.247e-05/0.4336, allocations: 5.156 kB / 0.5183 GB, free: 5.48 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.256e-06/0.4336, allocations: 2.281 kB / 0.5183 GB, free: 5.48 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003853/0.434, allocations: 144.9 kB / 0.5184 GB, free: 5.441 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001408/0.4354, allocations: 0.6565 MB / 0.5191 GB, free: 4.984 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008337/0.4362, allocations: 218.3 kB / 0.5193 GB, free: 4.891 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001556/0.4364, allocations: 66.25 kB / 0.5193 GB, free: 4.859 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.009e-05/0.4364, allocations: 2.812 kB / 0.5193 GB, free: 4.859 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.99e-05/0.4364, allocations: 48.36 kB / 0.5194 GB, free: 4.805 MB / 382.1 MB Notification: Performance of pre-optimization done (n=14): time 2.505e-06/0.4364, allocations: 2.297 kB / 0.5194 GB, free: 4.805 MB / 382.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006663/0.4371, allocations: 251.7 kB / 0.5196 GB, free: 4.695 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.451e-05/0.4371, allocations: 79.27 kB / 0.5197 GB, free: 4.602 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001288/0.4384, allocations: 427.4 kB / 0.5201 GB, free: 4.434 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.777e-05/0.4384, allocations: 25.7 kB / 0.5201 GB, free: 4.402 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001051/0.4385, allocations: 164.1 kB / 0.5203 GB, free: 4.258 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.986e-05/0.4386, allocations: 57.97 kB / 0.5204 GB, free: 4.211 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.931e-05/0.4387, allocations: 33.34 kB / 0.5204 GB, free: 4.188 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.314e-05/0.4388, allocations: 338.3 kB / 0.5207 GB, free: 3.863 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001558/0.4389, allocations: 67.44 kB / 0.5208 GB, free: 3.84 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001587/0.4391, allocations: 83.22 kB / 0.5209 GB, free: 3.805 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003171/0.4394, allocations: 149.2 kB / 0.521 GB, free: 3.742 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.4394, allocations: 0 / 0.521 GB, free: 3.742 MB / 382.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004697/0.4399, allocations: 216.6 kB / 0.5212 GB, free: 3.641 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.836e-05/0.4399, allocations: 5.625 kB / 0.5212 GB, free: 3.641 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.4399, allocations: 0 / 0.5212 GB, free: 3.641 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.168e-05/0.4399, allocations: 9.062 kB / 0.5212 GB, free: 3.633 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003923/0.4403, allocations: 56.69 kB / 0.5213 GB, free: 3.629 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.4403, allocations: 1.375 kB / 0.5213 GB, free: 3.629 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004583/0.4408, allocations: 47.5 kB / 0.5213 GB, free: 3.625 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.113e-05/0.4408, allocations: 7.094 kB / 0.5213 GB, free: 3.621 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.0001408/0.4409, allocations: 149.9 kB / 0.5215 GB, free: 3.488 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001076/0.441, allocations: 28.42 kB / 0.5215 GB, free: 3.473 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.742e-05/0.4411, allocations: 39.44 kB / 0.5215 GB, free: 3.445 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.4412, allocations: 2.531 kB / 0.5215 GB, free: 3.445 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.195e-06/0.4412, allocations: 1.188 kB / 0.5215 GB, free: 3.445 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.4412, allocations: 0.9375 kB / 0.5215 GB, free: 3.445 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004815/0.4416, allocations: 304.4 kB / 0.5218 GB, free: 3.203 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.4417, allocations: 3.656 kB / 0.5218 GB, free: 3.203 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00023/0.4419, allocations: 21.81 kB / 0.5218 GB, free: 3.203 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.4419, allocations: 1.25 kB / 0.5219 GB, free: 3.203 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.795e-05/0.4419, allocations: 6.125 kB / 0.5219 GB, free: 3.199 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.4419, allocations: 3.562 kB / 0.5219 GB, free: 3.199 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.4419, allocations: 5.094 kB / 0.5219 GB, free: 3.195 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006137/0.4425, allocations: 447.4 kB / 0.5223 GB, free: 2.902 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.442e-05/0.4426, allocations: 109.4 kB / 0.5224 GB, free: 2.789 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.203e-05/0.4427, allocations: 13.69 kB / 0.5224 GB, free: 2.781 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005322/0.4432, allocations: 45.75 kB / 0.5225 GB, free: 2.777 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.75e-05/0.4433, allocations: 13.41 kB / 0.5225 GB, free: 2.773 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.423e-05/0.4433, allocations: 2.969 kB / 0.5225 GB, free: 2.773 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00104/0.4443, allocations: 333.4 kB / 0.5228 GB, free: 2.645 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4443, allocations: 0 / 0.5228 GB, free: 2.645 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005183/0.4448, allocations: 34.38 kB / 0.5228 GB, free: 2.641 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.0006198/0.4455, allocations: 0.9889 MB / 0.5238 GB, free: 1.812 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002652/0.4457, allocations: 145.6 kB / 0.5239 GB, free: 1.77 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.4457, allocations: 0 / 0.5239 GB, free: 1.77 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001074/0.4458, allocations: 71.69 kB / 0.524 GB, free: 1.75 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004712/0.4463, allocations: 36.59 kB / 0.524 GB, free: 1.738 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005095/0.4514, allocations: 3.144 MB / 0.5271 GB, free: 15.92 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004776/0.4519, allocations: 0.7812 MB / 0.5279 GB, free: 15.21 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001531/0.452, allocations: 53.86 kB / 0.5279 GB, free: 15.21 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001787/0.4522, allocations: 90.53 kB / 0.528 GB, free: 15.14 MB / 398.1 MB Notification: Performance of SimCode: time 3.6e-07/0.4522, allocations: 0 / 0.528 GB, free: 15.14 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03327/0.4855, allocations: 4.989 MB / 0.5329 GB, free: 14.59 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.56/9.045, allocations: 5.281 kB / 0.5329 GB, free: 14.58 MB / 398.1 MB " [Timeout remaining time 651] (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: 11.892526789102703] Failed to read output from testmodel.py, exit status != 0: 9.121775623876601 9.148893667 8.714288554 Calling exit ...