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.001307/0.001307, allocations: 104.3 kB / 19.73 MB, free: 2.043 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.001544/0.001544, allocations: 209.4 kB / 23.01 MB, free: 4.859 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.467/1.467, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.1071/0.1071, allocations: 24.03 MB / 337.2 MB, free: 11.33 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.002108/0.002108, allocations: 67.91 kB / 471.5 MB, free: 8.75 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3304/0.3326, allocations: 59.56 MB / 0.5186 GB, free: 9.023 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessBlocks.TITO_rational_zeroInit): time 0.002207/0.3348, allocations: 1.053 MB / 0.5196 GB, free: 8.477 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001685/0.3364, allocations: 1.313 MB / 0.5209 GB, free: 7.539 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000105/0.3366, allocations: 7.344 kB / 0.5209 GB, free: 7.535 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003262/0.3369, allocations: 73.47 kB / 0.521 GB, free: 7.496 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002326/0.3371, allocations: 83.75 kB / 0.521 GB, free: 7.457 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003602/0.3375, allocations: 161 kB / 0.5212 GB, free: 7.383 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007187/0.3382, allocations: 0.5313 MB / 0.5217 GB, free: 7.191 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001308/0.3383, allocations: 39.47 kB / 0.5218 GB, free: 7.168 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002828/0.3386, allocations: 198.3 kB / 0.5219 GB, free: 7.098 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002687/0.3389, allocations: 173 kB / 0.5221 GB, free: 7.043 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.69e-05/0.3389, allocations: 21.17 kB / 0.5221 GB, free: 7.039 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.98e-05/0.339, allocations: 18.97 kB / 0.5221 GB, free: 7.039 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001149/0.3391, allocations: 92.11 kB / 0.5222 GB, free: 7.004 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.169e-05/0.3392, allocations: 87.42 kB / 0.5223 GB, free: 6.945 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002604/0.3394, allocations: 225.2 kB / 0.5225 GB, free: 6.855 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.3394, allocations: 4 kB / 0.5225 GB, free: 6.852 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3394, allocations: 1.312 kB / 0.5225 GB, free: 6.852 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.484e-06/0.3394, allocations: 4.75 kB / 0.5225 GB, free: 6.848 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.001636/0.3411, allocations: 0.6283 MB / 0.5232 GB, free: 6.449 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/0.3411, allocations: 10.48 kB / 0.5232 GB, free: 6.449 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.052e-05/0.3412, allocations: 51.09 kB / 0.5232 GB, free: 6.398 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.066e-05/0.3413, allocations: 34.42 kB / 0.5232 GB, free: 6.379 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009234/0.3422, allocations: 354.8 kB / 0.5236 GB, free: 6.18 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.569e-05/0.3422, allocations: 9.906 kB / 0.5236 GB, free: 6.176 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.729e-05/0.3422, allocations: 16.91 kB / 0.5236 GB, free: 6.172 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002878/0.3425, allocations: 157 kB / 0.5238 GB, free: 6.086 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.3425, allocations: 0 / 0.5238 GB, free: 6.086 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.527e-05/0.3425, allocations: 1.062 kB / 0.5238 GB, free: 6.086 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.3425, allocations: 7.938 kB / 0.5238 GB, free: 6.082 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002766/0.3428, allocations: 149.9 kB / 0.5239 GB, free: 6.039 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000966/0.3438, allocations: 0.5912 MB / 0.5245 GB, free: 5.625 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006017/0.3444, allocations: 213.7 kB / 0.5247 GB, free: 5.535 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001068/0.3445, allocations: 72 kB / 0.5248 GB, free: 5.5 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.884e-05/0.3445, allocations: 1.25 kB / 0.5248 GB, free: 5.5 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.867e-05/0.3445, allocations: 34.12 kB / 0.5248 GB, free: 5.461 MB / 382.1 MB Notification: Performance of pre-optimization done (n=14): time 1.343e-06/0.3445, allocations: 4 kB / 0.5248 GB, free: 5.457 MB / 382.1 MB Notification: Performance of matching and sorting (n=14): time 0.0004804/0.345, allocations: 255 kB / 0.525 GB, free: 5.344 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.247e-05/0.3451, allocations: 80.14 kB / 0.5251 GB, free: 5.25 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009008/0.346, allocations: 423 kB / 0.5255 GB, free: 5.086 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.687e-05/0.346, allocations: 34.95 kB / 0.5256 GB, free: 5.047 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.032e-05/0.3461, allocations: 164.6 kB / 0.5257 GB, free: 4.902 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.185e-05/0.3461, allocations: 49.09 kB / 0.5258 GB, free: 4.863 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.047e-05/0.3462, allocations: 36.5 kB / 0.5258 GB, free: 4.836 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.426e-05/0.3462, allocations: 339.9 kB / 0.5261 GB, free: 4.512 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001112/0.3463, allocations: 63.23 kB / 0.5262 GB, free: 4.492 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001141/0.3465, allocations: 80.3 kB / 0.5263 GB, free: 4.457 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002311/0.3467, allocations: 154.1 kB / 0.5264 GB, free: 4.391 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.3467, allocations: 4 kB / 0.5264 GB, free: 4.387 MB / 382.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003122/0.347, allocations: 210.4 kB / 0.5266 GB, free: 4.289 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.347, allocations: 9.531 kB / 0.5266 GB, free: 4.285 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.347, allocations: 3.141 kB / 0.5266 GB, free: 4.285 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/0.3471, allocations: 3.938 kB / 0.5266 GB, free: 4.281 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000278/0.3473, allocations: 53.83 kB / 0.5267 GB, free: 4.277 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.3473, allocations: 1.188 kB / 0.5267 GB, free: 4.277 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003226/0.3477, allocations: 56.39 kB / 0.5267 GB, free: 4.266 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.397e-05/0.3477, allocations: 7.906 kB / 0.5267 GB, free: 4.262 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.0001168/0.3478, allocations: 146.9 kB / 0.5269 GB, free: 4.133 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.796e-05/0.3479, allocations: 23.14 kB / 0.5269 GB, free: 4.121 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.009e-05/0.3479, allocations: 38.88 kB / 0.5269 GB, free: 4.094 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.3479, allocations: 6.156 kB / 0.5269 GB, free: 4.09 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.3479, allocations: 2.203 kB / 0.5269 GB, free: 4.09 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.3479, allocations: 0 / 0.5269 GB, free: 4.09 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003218/0.3483, allocations: 253 kB / 0.5272 GB, free: 3.887 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.3483, allocations: 1.281 kB / 0.5272 GB, free: 3.887 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000165/0.3484, allocations: 25.03 kB / 0.5272 GB, free: 3.883 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.3484, allocations: 5 kB / 0.5272 GB, free: 3.879 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.952e-05/0.3485, allocations: 6.125 kB / 0.5272 GB, free: 3.875 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.3485, allocations: 3.562 kB / 0.5272 GB, free: 3.875 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3485, allocations: 1.031 kB / 0.5272 GB, free: 3.875 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004735/0.3489, allocations: 448 kB / 0.5277 GB, free: 3.582 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.518e-05/0.349, allocations: 35.89 kB / 0.5277 GB, free: 3.562 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.219e-05/0.349, allocations: 12.31 kB / 0.5277 GB, free: 3.555 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003997/0.3494, allocations: 46.61 kB / 0.5277 GB, free: 3.551 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.924e-05/0.3495, allocations: 14.55 kB / 0.5278 GB, free: 3.547 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.053e-05/0.3495, allocations: 3.406 kB / 0.5278 GB, free: 3.547 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006932/0.3502, allocations: 332 kB / 0.5281 GB, free: 3.422 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3502, allocations: 4 kB / 0.5281 GB, free: 3.418 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003121/0.3505, allocations: 33.97 kB / 0.5281 GB, free: 3.414 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.0005891/0.3511, allocations: 0.9843 MB / 0.5291 GB, free: 2.586 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000271/0.3514, allocations: 145.6 kB / 0.5292 GB, free: 2.543 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3514, allocations: 1.094 kB / 0.5292 GB, free: 2.543 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001081/0.3515, allocations: 70.58 kB / 0.5293 GB, free: 2.523 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004793/0.3519, allocations: 46.25 kB / 0.5293 GB, free: 2.508 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0051/0.357, allocations: 3.135 MB / 0.5324 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002497/0.3573, allocations: 173.2 kB / 0.5326 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001734/0.3575, allocations: 57.23 kB / 0.5326 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001463/0.3576, allocations: 89.45 kB / 0.5327 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of SimCode: time 1.042e-06/0.3576, allocations: 1.062 kB / 0.5327 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03434/0.392, allocations: 5.67 MB / 0.5382 GB, free: 15.14 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.41/11.8, allocations: 3.656 kB / 0.5382 GB, free: 15.14 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.553723101969808] Failed to read output from testmodel.py, exit status != 0: 11.9114959849976 11.929583722 11.586547317 Calling exit ...