Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.MatrixMax.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.0008877/0.0008877, allocations: 109.3 kB / 18.93 MB, free: 1.27 MB / 13.93 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.0009762/0.0009762, allocations: 213.7 kB / 22.25 MB, free: 3.699 MB / 13.93 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.9135/0.9135, allocations: 230.6 MB / 256 MB, free: 9.805 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo): time 0.04062/0.04062, allocations: 12.18 MB / 324.6 MB, free: 6.258 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0004536/0.0004536, allocations: 31.94 kB / 384.1 MB, free: 10.66 MB / 314.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo): time 1.717/1.717, allocations: 353.8 MB / 0.7787 GB, free: 3.094 MB / 0.5105 GB " [Timeout remaining time 178] Using package AixLib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo) Using package SDF with version 0.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo) Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/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(AixLib.Controls.OBC.CDL.Reals.Validation.MatrixMax,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Reals_Validation_MatrixMax",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Controls.OBC.CDL.Reals.Validation.MatrixMax,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Reals_Validation_MatrixMax",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: AixLib requested package Modelica_DeviceDrivers of version 2.1.1. Modelica_DeviceDrivers 2.2.0 is used instead which states that it is fully compatible without conversion script needed. Notification: AixLib 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.001502/0.001502, allocations: 123.5 kB / 1.06 GB, free: 24.94 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2338/0.2353, allocations: 134.9 MB / 1.192 GB, free: 7.781 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.MatrixMax): time 0.002039/0.2374, allocations: 0.741 MB / 1.193 GB, free: 7.039 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.00029/0.2377, allocations: 51.83 kB / 1.193 GB, free: 6.988 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.07e-05/0.2377, allocations: 4 kB / 1.193 GB, free: 6.984 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0001521/0.2379, allocations: 23.78 kB / 1.193 GB, free: 6.961 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 4.791e-05/0.2379, allocations: 11.94 kB / 1.193 GB, free: 6.949 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001599/0.2381, allocations: 28.38 kB / 1.193 GB, free: 6.922 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.000167/0.2383, allocations: 115.7 kB / 1.193 GB, free: 6.809 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001842/0.2385, allocations: 96.75 kB / 1.193 GB, free: 6.711 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 5.935e-05/0.2385, allocations: 71.78 kB / 1.193 GB, free: 6.641 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 7.131e-05/0.2386, allocations: 67.7 kB / 1.193 GB, free: 6.574 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 2.795e-05/0.2386, allocations: 15.94 kB / 1.193 GB, free: 6.559 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 2.121e-05/0.2386, allocations: 12 kB / 1.193 GB, free: 6.547 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 6.578e-05/0.2387, allocations: 55.84 kB / 1.193 GB, free: 6.492 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 7.422e-05/0.2388, allocations: 91.42 kB / 1.193 GB, free: 6.402 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001938/0.239, allocations: 235.2 kB / 1.193 GB, free: 6.172 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.239, allocations: 4 kB / 1.193 GB, free: 6.168 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.753e-06/0.239, allocations: 0 / 1.193 GB, free: 6.168 MB / 0.823 GB Notification: Performance of Transformations before backend: time 7.103e-06/0.239, allocations: 0 / 1.193 GB, free: 6.168 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0004605/0.2394, allocations: 429.7 kB / 1.194 GB, free: 5.715 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.673e-05/0.2395, allocations: 15.97 kB / 1.194 GB, free: 5.699 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.156e-05/0.2395, allocations: 54.73 kB / 1.194 GB, free: 5.637 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.041e-05/0.2396, allocations: 28.8 kB / 1.194 GB, free: 5.609 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002203/0.2398, allocations: 198.1 kB / 1.194 GB, free: 5.391 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.529e-05/0.2398, allocations: 12.75 kB / 1.194 GB, free: 5.379 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.182e-05/0.2398, allocations: 16.38 kB / 1.194 GB, free: 5.363 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003746/0.2402, allocations: 344.8 kB / 1.194 GB, free: 5.016 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.2402, allocations: 0 / 1.194 GB, free: 5.016 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.537e-05/0.2402, allocations: 8 kB / 1.194 GB, free: 5.008 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.355e-05/0.2403, allocations: 20 kB / 1.194 GB, free: 4.988 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000253/0.2405, allocations: 264.5 kB / 1.195 GB, free: 4.73 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008954/0.2414, allocations: 1.05 MB / 1.196 GB, free: 3.625 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 6.928e-05/0.2415, allocations: 169.1 kB / 1.196 GB, free: 3.449 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.443e-05/0.2415, allocations: 84.12 kB / 1.196 GB, free: 3.363 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.053e-05/0.2415, allocations: 75.28 kB / 1.196 GB, free: 3.289 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.846e-05/0.2416, allocations: 114 kB / 1.196 GB, free: 3.168 MB / 0.823 GB Notification: Performance of pre-optimization done (n=0): time 7.41e-07/0.2416, allocations: 0 / 1.196 GB, free: 3.168 MB / 0.823 GB Notification: Performance of matching and sorting (n=0): time 8.163e-05/0.2417, allocations: 57.39 kB / 1.196 GB, free: 3.105 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.188e-05/0.2417, allocations: 126.7 kB / 1.196 GB, free: 2.969 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003774/0.2421, allocations: 0.4926 MB / 1.197 GB, free: 2.465 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.151e-05/0.2421, allocations: 29.7 kB / 1.197 GB, free: 2.43 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001068/0.2422, allocations: 175.8 kB / 1.197 GB, free: 2.254 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 3.978e-06/0.2422, allocations: 0 / 1.197 GB, free: 2.254 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.285e-05/0.2423, allocations: 29.7 kB / 1.197 GB, free: 2.219 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001075/0.2424, allocations: 334.8 kB / 1.197 GB, free: 1.883 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.171e-05/0.2424, allocations: 47.97 kB / 1.197 GB, free: 1.836 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8e-05/0.2425, allocations: 93.97 kB / 1.197 GB, free: 1.723 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001051/0.2426, allocations: 109.8 kB / 1.198 GB, free: 1.594 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.2426, allocations: 3.938 kB / 1.198 GB, free: 1.59 MB / 0.823 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002378/0.2428, allocations: 185.3 kB / 1.198 GB, free: 1.402 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/0.2429, allocations: 11.92 kB / 1.198 GB, free: 1.391 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.794e-06/0.2429, allocations: 4 kB / 1.198 GB, free: 1.387 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.2429, allocations: 4.219 kB / 1.198 GB, free: 1.383 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001029/0.243, allocations: 27.92 kB / 1.198 GB, free: 1.355 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.243, allocations: 4 kB / 1.198 GB, free: 1.352 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.402e-05/0.2431, allocations: 31.78 kB / 1.198 GB, free: 1.32 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.528e-05/0.2431, allocations: 8 kB / 1.198 GB, free: 1.312 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (7): * Single equations (assignments): 7 * 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.00014/0.2432, allocations: 249.1 kB / 1.198 GB, free: 1.059 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.116e-05/0.2433, allocations: 140.7 kB / 1.198 GB, free: 0.9141 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.072e-05/0.2434, allocations: 138.8 kB / 1.198 GB, free: 0.7695 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.244e-05/0.2434, allocations: 176.3 kB / 1.199 GB, free: 0.5898 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.288e-05/0.2435, allocations: 180.2 kB / 1.199 GB, free: 416 kB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.507e-05/0.2435, allocations: 177.7 kB / 1.199 GB, free: 232 kB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002507/0.2438, allocations: 472.1 kB / 1.199 GB, free: 15.71 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.227e-05/0.2438, allocations: 105 kB / 1.199 GB, free: 15.61 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.973e-05/0.2438, allocations: 109 kB / 1.2 GB, free: 15.49 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.91e-05/0.2439, allocations: 184.1 kB / 1.2 GB, free: 15.3 MB / 0.8387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.957e-05/0.2439, allocations: 180.3 kB / 1.2 GB, free: 15.12 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.392e-05/0.244, allocations: 180.2 kB / 1.2 GB, free: 14.94 MB / 0.8387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.591e-05/0.244, allocations: 176.3 kB / 1.2 GB, free: 14.76 MB / 0.8387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001251/0.2442, allocations: 331.6 kB / 1.201 GB, free: 14.41 MB / 0.8387 GB Notification: Performance of postOpt removeConstants (simulation): time 7.458e-05/0.2442, allocations: 145.1 kB / 1.201 GB, free: 14.26 MB / 0.8387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.393e-05/0.2443, allocations: 184.1 kB / 1.201 GB, free: 14.07 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.208e-05/0.2444, allocations: 105 kB / 1.201 GB, free: 13.96 MB / 0.8387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.547e-05/0.2444, allocations: 192.2 kB / 1.201 GB, free: 13.77 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.751e-05/0.2444, allocations: 109 kB / 1.201 GB, free: 13.66 MB / 0.8387 GB Notification: Performance of sorting global known variables: time 0.000254/0.2447, allocations: 359 kB / 1.202 GB, free: 13.3 MB / 0.8387 GB Notification: Performance of sort global known variables: time 6e-08/0.2447, allocations: 0 / 1.202 GB, free: 13.3 MB / 0.8387 GB Notification: Performance of remove unused functions: time 0.0001781/0.2449, allocations: 24 kB / 1.202 GB, free: 13.28 MB / 0.8387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (0): * Single equations (assignments): 0 * 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.0004013/0.2453, allocations: 0.8397 MB / 1.202 GB, free: 12.41 MB / 0.8387 GB Notification: Performance of simCode: created initialization part: time 0.000119/0.2454, allocations: 59.89 kB / 1.202 GB, free: 12.36 MB / 0.8387 GB Notification: Performance of simCode: created event and clocks part: time 1.422e-06/0.2454, allocations: 3.938 kB / 1.202 GB, free: 12.35 MB / 0.8387 GB Notification: Performance of simCode: created simulation system equations: time 8.52e-07/0.2454, allocations: 0 / 1.202 GB, free: 12.35 MB / 0.8387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004382/0.2458, allocations: 487.1 kB / 1.203 GB, free: 11.88 MB / 0.8387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002581/0.2484, allocations: 3.274 MB / 1.206 GB, free: 8.477 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002399/0.2487, allocations: 0.771 MB / 1.207 GB, free: 7.68 MB / 0.8387 GB Notification: Performance of simCode: alias equations: time 7.005e-05/0.2487, allocations: 49.61 kB / 1.207 GB, free: 7.633 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.768e-05/0.2488, allocations: 59.42 kB / 1.207 GB, free: 7.574 MB / 0.8387 GB Notification: Performance of SimCode: time 6.71e-07/0.2488, allocations: 0 / 1.207 GB, free: 7.574 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01866/0.2675, allocations: 4.749 MB / 1.212 GB, free: 2.969 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.019/7.286, allocations: 8.031 kB / 1.212 GB, free: 2.965 MB / 0.8387 GB " [Timeout remaining time 653] (rm -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.MatrixMax.sim & python3 -m fmpy simulate --output-file AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.MatrixMax_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 AixLib_AixLib_Controls_OBC_CDL_Reals_Validation_MatrixMax.fmu > AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.809410466812551] Failed to read output from testmodel.py, exit status != 0: 7.365546464920044 7.375245834 7.133651855 Calling exit ...