Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.MatrixGain.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.0008199/0.0008199, allocations: 113.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.0009614/0.0009614, allocations: 219.4 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.9196/0.9196, allocations: 230.6 MB / 256 MB, free: 9.785 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.03962/0.03962, allocations: 12.18 MB / 324.6 MB, free: 6.281 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.0005345/0.0005345, allocations: 35.81 kB / 384.1 MB, free: 10.68 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.713/1.713, allocations: 353.8 MB / 0.7787 GB, free: 3.074 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.MatrixGain,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Reals_Validation_MatrixGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Controls.OBC.CDL.Reals.Validation.MatrixGain,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Reals_Validation_MatrixGain",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.002269/0.002269, allocations: 132.9 kB / 1.06 GB, free: 24.99 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2265/0.2288, allocations: 134.9 MB / 1.192 GB, free: 7.809 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.001902/0.2307, allocations: 0.7648 MB / 1.193 GB, free: 7.043 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0009604/0.2316, allocations: 0.8627 MB / 1.193 GB, free: 6.168 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.886e-05/0.2317, allocations: 0 / 1.193 GB, free: 6.168 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0001922/0.2319, allocations: 55.8 kB / 1.193 GB, free: 6.113 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 5.058e-05/0.232, allocations: 39.83 kB / 1.193 GB, free: 6.074 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 8.371e-05/0.232, allocations: 15.97 kB / 1.194 GB, free: 6.059 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0001286/0.2322, allocations: 91.75 kB / 1.194 GB, free: 5.969 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001435/0.2323, allocations: 11.98 kB / 1.194 GB, free: 5.957 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 8.313e-05/0.2324, allocations: 51.77 kB / 1.194 GB, free: 5.906 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001545/0.2326, allocations: 87.78 kB / 1.194 GB, free: 5.82 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 2.212e-05/0.2326, allocations: 8 kB / 1.194 GB, free: 5.812 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 1.387e-05/0.2326, allocations: 8 kB / 1.194 GB, free: 5.805 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 7.51e-05/0.2327, allocations: 35.89 kB / 1.194 GB, free: 5.77 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 5.994e-05/0.2327, allocations: 47.73 kB / 1.194 GB, free: 5.723 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001576/0.2329, allocations: 119.7 kB / 1.194 GB, free: 5.605 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.2329, allocations: 0 / 1.194 GB, free: 5.605 MB / 0.823 GB Notification: Performance of FrontEnd: time 3.316e-06/0.2329, allocations: 0 / 1.194 GB, free: 5.605 MB / 0.823 GB Notification: Performance of Transformations before backend: time 9.227e-06/0.2329, allocations: 0 / 1.194 GB, free: 5.605 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007122/0.2336, allocations: 389.7 kB / 1.194 GB, free: 5.191 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.789e-05/0.2337, allocations: 12.03 kB / 1.194 GB, free: 5.18 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.349e-05/0.2337, allocations: 38.69 kB / 1.194 GB, free: 5.133 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.734e-05/0.2338, allocations: 12.89 kB / 1.194 GB, free: 5.121 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000203/0.234, allocations: 146.2 kB / 1.195 GB, free: 4.953 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.116e-05/0.234, allocations: 8.375 kB / 1.195 GB, free: 4.945 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.806e-05/0.234, allocations: 4.375 kB / 1.195 GB, free: 4.941 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003302/0.2343, allocations: 151.9 kB / 1.195 GB, free: 4.781 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.2343, allocations: 3.938 kB / 1.195 GB, free: 4.777 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.823e-05/0.2344, allocations: 0 / 1.195 GB, free: 4.777 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.348e-06/0.2344, allocations: 4 kB / 1.195 GB, free: 4.773 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002987/0.2347, allocations: 175.8 kB / 1.195 GB, free: 4.602 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006453/0.2353, allocations: 483.9 kB / 1.195 GB, free: 4.082 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002809/0.2356, allocations: 157.1 kB / 1.195 GB, free: 3.91 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001464/0.2357, allocations: 93.73 kB / 1.196 GB, free: 3.812 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.521e-05/0.2358, allocations: 4 kB / 1.196 GB, free: 3.809 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.55e-05/0.2358, allocations: 30.56 kB / 1.196 GB, free: 3.77 MB / 0.823 GB Notification: Performance of pre-optimization done (n=8): time 2.455e-06/0.2358, allocations: 0 / 1.196 GB, free: 3.77 MB / 0.823 GB Notification: Performance of matching and sorting (n=8): time 0.000543/0.2363, allocations: 293.3 kB / 1.196 GB, free: 3.477 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.423e-05/0.2364, allocations: 81.05 kB / 1.196 GB, free: 3.379 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001067/0.2365, allocations: 169.5 kB / 1.196 GB, free: 3.207 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.3e-05/0.2365, allocations: 25.7 kB / 1.196 GB, free: 3.176 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 4.751e-05/0.2365, allocations: 104.1 kB / 1.196 GB, free: 3.07 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 3.138e-05/0.2366, allocations: 31.73 kB / 1.196 GB, free: 3.039 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.784e-05/0.2366, allocations: 25.72 kB / 1.196 GB, free: 3.008 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0002256/0.2368, allocations: 326.8 kB / 1.197 GB, free: 2.68 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001466/0.237, allocations: 79.86 kB / 1.197 GB, free: 2.602 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001286/0.2371, allocations: 85.64 kB / 1.197 GB, free: 2.512 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002515/0.2374, allocations: 173.6 kB / 1.197 GB, free: 2.336 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.2374, allocations: 0 / 1.197 GB, free: 2.336 MB / 0.823 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003064/0.2377, allocations: 213.4 kB / 1.197 GB, free: 2.121 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/0.2377, allocations: 9.719 kB / 1.197 GB, free: 2.113 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.2377, allocations: 0 / 1.197 GB, free: 2.113 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.2377, allocations: 0 / 1.197 GB, free: 2.113 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001279/0.2378, allocations: 35.95 kB / 1.197 GB, free: 2.078 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.343e-06/0.2378, allocations: 4.141 kB / 1.197 GB, free: 2.074 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.099e-05/0.2379, allocations: 31.91 kB / 1.197 GB, free: 2.043 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.153e-06/0.2379, allocations: 4 kB / 1.197 GB, free: 2.039 MB / 0.823 GB 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 (8): * Single equations (assignments): 8 * 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 9.164e-05/0.238, allocations: 129.8 kB / 1.197 GB, free: 1.902 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.149e-05/0.238, allocations: 11.91 kB / 1.197 GB, free: 1.891 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.735e-05/0.2381, allocations: 24.33 kB / 1.197 GB, free: 1.859 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.2381, allocations: 0 / 1.197 GB, free: 1.859 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.2381, allocations: 4.469 kB / 1.197 GB, free: 1.855 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.2381, allocations: 0 / 1.197 GB, free: 1.855 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002098/0.2383, allocations: 204.5 kB / 1.198 GB, free: 1.613 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.2383, allocations: 0 / 1.198 GB, free: 1.613 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.565e-05/0.2384, allocations: 35.95 kB / 1.198 GB, free: 1.578 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.494e-06/0.2384, allocations: 0 / 1.198 GB, free: 1.578 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.738e-06/0.2384, allocations: 4 kB / 1.198 GB, free: 1.574 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-06/0.2384, allocations: 0 / 1.198 GB, free: 1.574 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.2384, allocations: 3.984 kB / 1.198 GB, free: 1.57 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004024/0.2388, allocations: 390.5 kB / 1.198 GB, free: 1.172 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 2.328e-05/0.2388, allocations: 11.91 kB / 1.198 GB, free: 1.16 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.988e-05/0.2389, allocations: 0 / 1.198 GB, free: 1.16 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001375/0.239, allocations: 23.97 kB / 1.198 GB, free: 1.137 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.973e-05/0.2391, allocations: 15.97 kB / 1.198 GB, free: 1.121 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.043e-06/0.2391, allocations: 4 kB / 1.198 GB, free: 1.117 MB / 0.823 GB Notification: Performance of sorting global known variables: time 7.391e-05/0.2391, allocations: 123.8 kB / 1.198 GB, free: 0.9961 MB / 0.823 GB Notification: Performance of sort global known variables: time 5e-08/0.2391, allocations: 0 / 1.198 GB, free: 0.9961 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001953/0.2393, allocations: 20 kB / 1.198 GB, free: 0.9766 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (8): * Single equations (assignments): 8 * 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.0005853/0.2399, allocations: 0.9145 MB / 1.199 GB, free: 36 kB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0003312/0.2403, allocations: 171.8 kB / 1.199 GB, free: 15.87 MB / 0.8387 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.2403, allocations: 3.938 kB / 1.199 GB, free: 15.86 MB / 0.8387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001347/0.2404, allocations: 87.92 kB / 1.199 GB, free: 15.78 MB / 0.8387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002693/0.2407, allocations: 11.98 kB / 1.199 GB, free: 15.77 MB / 0.8387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001851/0.2425, allocations: 1.976 MB / 1.201 GB, free: 13.7 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002258/0.2427, allocations: 0.7119 MB / 1.202 GB, free: 12.96 MB / 0.8387 GB Notification: Performance of simCode: alias equations: time 7.133e-05/0.2428, allocations: 27.97 kB / 1.202 GB, free: 12.94 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.561e-05/0.2429, allocations: 31.42 kB / 1.202 GB, free: 12.91 MB / 0.8387 GB Notification: Performance of SimCode: time 8.72e-07/0.2429, allocations: 4 kB / 1.202 GB, free: 12.9 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02502/0.2679, allocations: 2.831 MB / 1.205 GB, free: 10.2 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.907/7.175, allocations: 7.281 kB / 1.205 GB, free: 10.2 MB / 0.8387 GB " [Timeout remaining time 653] (rm -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.MatrixGain.sim & python3 -m fmpy simulate --output-file AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.MatrixGain_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_MatrixGain.fmu > AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.692510987631977] Failed to read output from testmodel.py, exit status != 0: 7.25280081294477 7.27040171 7.033763627 Calling exit ...