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.000813/0.000813, allocations: 76.52 kB / 19.95 MB, free: 4.613 MB / 18.57 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.0008257/0.0008257, allocations: 173.2 kB / 23.23 MB, free: 1.332 MB / 18.57 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 0.9126/0.9126, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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.06049/0.06049, allocations: 18.13 MB / 278.1 MB, free: 11.53 MB / 266.7 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: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 0 / 412.7 MB, free: 13.25 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.947e-05/2.149e-05, allocations: 2.281 kB / 412.7 MB, free: 13.24 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.ProcessBlocks.TITO_rational_zeroInit): time 0.001708/0.001729, allocations: 1.047 MB / 413.7 MB, free: 12.89 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001392/0.003121, allocations: 1.32 MB / 415 MB, free: 12.43 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001073/0.003229, allocations: 7.531 kB / 415 MB, free: 12.43 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003595/0.003588, allocations: 65.22 kB / 415.1 MB, free: 12.4 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001983/0.003787, allocations: 92.83 kB / 415.2 MB, free: 12.35 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003872/0.004174, allocations: 209.6 kB / 415.4 MB, free: 12.27 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003998/0.004574, allocations: 291.8 kB / 415.7 MB, free: 12.16 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001497/0.004723, allocations: 35.28 kB / 415.7 MB, free: 12.14 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002103/0.004934, allocations: 123.7 kB / 415.8 MB, free: 12.1 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002579/0.005192, allocations: 150.6 kB / 416 MB, free: 12.05 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 5.075e-05/0.005242, allocations: 17.66 kB / 416 MB, free: 12.05 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.414e-05/0.005276, allocations: 23.25 kB / 416 MB, free: 12.05 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001159/0.005392, allocations: 97.77 kB / 416.1 MB, free: 12.01 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 7.288e-05/0.005465, allocations: 64.73 kB / 416.2 MB, free: 11.97 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000274/0.005739, allocations: 217.2 kB / 416.4 MB, free: 11.89 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.005743, allocations: 0.75 kB / 416.4 MB, free: 11.89 MB / 330.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.005744, allocations: 1.375 kB / 416.4 MB, free: 11.89 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.73e-06/0.00575, allocations: 0 / 416.4 MB, free: 11.89 MB / 330.7 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.001059/0.006809, allocations: 0.6298 MB / 417 MB, free: 11.49 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/0.006854, allocations: 14.45 kB / 417 MB, free: 11.49 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.668e-05/0.006921, allocations: 51.05 kB / 417.1 MB, free: 11.44 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.574e-05/0.006986, allocations: 31.72 kB / 417.1 MB, free: 11.42 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006073/0.007594, allocations: 357.3 kB / 417.5 MB, free: 11.21 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.719e-05/0.007611, allocations: 9.844 kB / 417.5 MB, free: 11.21 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.923e-05/0.00764, allocations: 12.8 kB / 417.5 MB, free: 11.21 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000235/0.007875, allocations: 156.5 kB / 417.6 MB, free: 11.12 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.007886, allocations: 3.906 kB / 417.7 MB, free: 11.12 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.437e-05/0.0079, allocations: 14.02 kB / 417.7 MB, free: 11.11 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.007907, allocations: 2.844 kB / 417.7 MB, free: 11.11 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002125/0.008119, allocations: 146.6 kB / 417.8 MB, free: 11.07 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007306/0.00885, allocations: 0.5832 MB / 418.4 MB, free: 10.66 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00041/0.00926, allocations: 220.2 kB / 418.6 MB, free: 10.57 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.136e-05/0.009341, allocations: 70.5 kB / 418.7 MB, free: 10.54 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.574e-05/0.009357, allocations: 2.625 kB / 418.7 MB, free: 10.54 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.418e-05/0.009371, allocations: 32.77 kB / 418.7 MB, free: 10.5 MB / 330.7 MB Notification: Performance of pre-optimization done (n=14): time 2.264e-06/0.009373, allocations: 1.562 kB / 418.7 MB, free: 10.5 MB / 330.7 MB Notification: Performance of matching and sorting (n=14): time 0.0003797/0.009753, allocations: 246 kB / 419 MB, free: 10.39 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.903e-05/0.009782, allocations: 79.16 kB / 419 MB, free: 10.3 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000564/0.01035, allocations: 440.1 kB / 419.5 MB, free: 10.11 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.539e-05/0.01036, allocations: 30.92 kB / 419.5 MB, free: 10.07 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.109e-05/0.01043, allocations: 163.6 kB / 419.7 MB, free: 9.93 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.124e-05/0.01046, allocations: 50.22 kB / 419.7 MB, free: 9.891 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.403e-05/0.01051, allocations: 31.16 kB / 419.7 MB, free: 9.867 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.216e-05/0.01056, allocations: 344.6 kB / 420.1 MB, free: 9.539 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.385e-05/0.01064, allocations: 59.81 kB / 420.1 MB, free: 9.523 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.063e-05/0.01073, allocations: 88.03 kB / 420.2 MB, free: 9.48 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001753/0.01091, allocations: 156.9 kB / 420.4 MB, free: 9.41 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.01091, allocations: 0 / 420.4 MB, free: 9.41 MB / 330.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002386/0.01115, allocations: 206.9 kB / 420.6 MB, free: 9.316 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.01117, allocations: 5.344 kB / 420.6 MB, free: 9.316 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.01117, allocations: 1.094 kB / 420.6 MB, free: 9.316 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.01119, allocations: 1.516 kB / 420.6 MB, free: 9.316 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001587/0.01135, allocations: 53.66 kB / 420.6 MB, free: 9.312 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.01135, allocations: 9.219 kB / 420.6 MB, free: 9.305 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001714/0.01153, allocations: 56.44 kB / 420.7 MB, free: 9.293 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.099e-05/0.01154, allocations: 3.25 kB / 420.7 MB, free: 9.293 MB / 330.7 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 8.853e-05/0.01163, allocations: 144 kB / 420.8 MB, free: 9.168 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.925e-05/0.01166, allocations: 24.14 kB / 420.9 MB, free: 9.156 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.241e-05/0.01171, allocations: 38.41 kB / 420.9 MB, free: 9.133 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.067e-06/0.01171, allocations: 6.125 kB / 420.9 MB, free: 9.129 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/0.01172, allocations: 1.094 kB / 420.9 MB, free: 9.129 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.01172, allocations: 10.11 kB / 420.9 MB, free: 9.121 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002573/0.01198, allocations: 249 kB / 421.2 MB, free: 8.922 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.01198, allocations: 0 / 421.2 MB, free: 8.922 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001069/0.01209, allocations: 21.59 kB / 421.2 MB, free: 8.922 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.01209, allocations: 0.9688 kB / 421.2 MB, free: 8.922 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.542e-05/0.01211, allocations: 7.422 kB / 421.2 MB, free: 8.918 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.01211, allocations: 1.156 kB / 421.2 MB, free: 8.918 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.01211, allocations: 1.125 kB / 421.2 MB, free: 8.918 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004122/0.01253, allocations: 443.6 kB / 421.6 MB, free: 8.629 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.671e-05/0.01257, allocations: 40.56 kB / 421.7 MB, free: 8.605 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.807e-05/0.0126, allocations: 8.031 kB / 421.7 MB, free: 8.602 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002049/0.0128, allocations: 43.59 kB / 421.7 MB, free: 8.602 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.988e-05/0.01283, allocations: 15.66 kB / 421.7 MB, free: 8.594 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.227e-06/0.01284, allocations: 8.422 kB / 421.7 MB, free: 8.59 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004451/0.01329, allocations: 331 kB / 422.1 MB, free: 8.469 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01329, allocations: 0 / 422.1 MB, free: 8.469 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002391/0.01353, allocations: 38.06 kB / 422.1 MB, free: 8.461 MB / 330.7 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.0006077/0.01414, allocations: 0.9921 MB / 423.1 MB, free: 7.625 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003181/0.01445, allocations: 149.1 kB / 423.2 MB, free: 7.582 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.01446, allocations: 0 / 423.2 MB, free: 7.582 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000111/0.01457, allocations: 71.47 kB / 423.3 MB, free: 7.562 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003889/0.01496, allocations: 55.69 kB / 423.4 MB, free: 7.539 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003557/0.01851, allocations: 3.11 MB / 426.5 MB, free: 5.75 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002008/0.01871, allocations: 172.8 kB / 426.6 MB, free: 5.664 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000141/0.01886, allocations: 50.05 kB / 426.7 MB, free: 5.664 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000117/0.01897, allocations: 91.33 kB / 426.8 MB, free: 5.594 MB / 330.7 MB Notification: Performance of SimCode: time 1.322e-06/0.01897, allocations: 0 / 426.8 MB, free: 5.594 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02479/0.04376, allocations: 5.813 MB / 432.6 MB, free: 3.539 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.113/7.156, allocations: 5.625 kB / 432.6 MB, free: 3.539 MB / 330.7 MB " [Timeout remaining time 653] (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: 9.242962882854044] Failed to read output from testmodel.py, exit status != 0: 7.421566676348448 7.254829405 7.246844944 Calling exit ...