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.0007034/0.0007034, allocations: 101.5 kB / 18.95 MB, free: 1.184 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.000749/0.000749, allocations: 209.7 kB / 22.24 MB, free: 3.57 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.8878/0.8878, allocations: 230.6 MB / 256 MB, free: 9.602 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.03621/0.03621, allocations: 12.2 MB / 324.6 MB, free: 6.172 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.0003789/0.0003789, allocations: 31.94 kB / 384.1 MB, free: 10.59 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.539/1.539, allocations: 353.9 MB / 0.7787 GB, free: 4.582 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.001335/0.001335, allocations: 122 kB / 1.06 GB, free: 24.77 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1887/0.19, allocations: 134.9 MB / 1.192 GB, free: 7.496 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.001346/0.1914, allocations: 0.7351 MB / 1.192 GB, free: 6.762 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0007093/0.1921, allocations: 0.8588 MB / 1.193 GB, free: 5.891 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.151e-05/0.1921, allocations: 4 kB / 1.193 GB, free: 5.887 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0001661/0.1923, allocations: 55.8 kB / 1.193 GB, free: 5.832 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 4.154e-05/0.1923, allocations: 35.83 kB / 1.193 GB, free: 5.797 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 6.442e-05/0.1924, allocations: 19.97 kB / 1.193 GB, free: 5.777 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 9.73e-05/0.1925, allocations: 91.75 kB / 1.193 GB, free: 5.688 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001105/0.1926, allocations: 11.98 kB / 1.193 GB, free: 5.676 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 5.949e-05/0.1927, allocations: 47.77 kB / 1.194 GB, free: 5.629 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001191/0.1928, allocations: 87.77 kB / 1.194 GB, free: 5.543 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.768e-05/0.1928, allocations: 12 kB / 1.194 GB, free: 5.531 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 1.161e-05/0.1928, allocations: 8 kB / 1.194 GB, free: 5.523 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 5.448e-05/0.1929, allocations: 31.91 kB / 1.194 GB, free: 5.492 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 3.88e-05/0.1929, allocations: 35.8 kB / 1.194 GB, free: 5.457 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001209/0.193, allocations: 119.7 kB / 1.194 GB, free: 5.34 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 6.563e-06/0.193, allocations: 7.984 kB / 1.194 GB, free: 5.332 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.633e-06/0.193, allocations: 0 / 1.194 GB, free: 5.332 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.193, allocations: 0 / 1.194 GB, free: 5.332 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.0005375/0.1936, allocations: 385.8 kB / 1.194 GB, free: 4.922 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.1936, allocations: 8.031 kB / 1.194 GB, free: 4.914 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.98e-05/0.1937, allocations: 42.73 kB / 1.194 GB, free: 4.863 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.36e-05/0.1937, allocations: 12.83 kB / 1.194 GB, free: 4.852 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001466/0.1938, allocations: 150.2 kB / 1.194 GB, free: 4.68 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.869e-06/0.1938, allocations: 8.359 kB / 1.194 GB, free: 4.672 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.034e-05/0.1938, allocations: 4.375 kB / 1.194 GB, free: 4.668 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002515/0.1941, allocations: 155.9 kB / 1.195 GB, free: 4.504 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.1941, allocations: 3.938 kB / 1.195 GB, free: 4.5 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/0.1941, allocations: 0 / 1.195 GB, free: 4.5 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.1941, allocations: 0 / 1.195 GB, free: 4.5 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002682/0.1944, allocations: 171.8 kB / 1.195 GB, free: 4.332 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004983/0.1949, allocations: 460 kB / 1.195 GB, free: 3.836 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002383/0.1951, allocations: 165.1 kB / 1.195 GB, free: 3.656 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001337/0.1953, allocations: 89.73 kB / 1.195 GB, free: 3.562 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.35e-05/0.1953, allocations: 8 kB / 1.195 GB, free: 3.555 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.189e-05/0.1953, allocations: 34.5 kB / 1.195 GB, free: 3.512 MB / 0.823 GB Notification: Performance of pre-optimization done (n=8): time 9.82e-07/0.1953, allocations: 0 / 1.195 GB, free: 3.512 MB / 0.823 GB Notification: Performance of matching and sorting (n=8): time 0.0004866/0.1958, allocations: 289.4 kB / 1.196 GB, free: 3.223 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.115e-05/0.1958, allocations: 81.05 kB / 1.196 GB, free: 3.125 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.74e-05/0.1959, allocations: 164.4 kB / 1.196 GB, free: 2.957 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.121e-05/0.1959, allocations: 29.64 kB / 1.196 GB, free: 2.922 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 4.338e-05/0.196, allocations: 100.1 kB / 1.196 GB, free: 2.82 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.515e-05/0.196, allocations: 27.75 kB / 1.196 GB, free: 2.793 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.372e-05/0.196, allocations: 25.7 kB / 1.196 GB, free: 2.762 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.474e-05/0.1961, allocations: 330.8 kB / 1.196 GB, free: 2.43 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001301/0.1962, allocations: 79.92 kB / 1.197 GB, free: 2.352 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001271/0.1964, allocations: 93.62 kB / 1.197 GB, free: 2.254 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002388/0.1966, allocations: 169.6 kB / 1.197 GB, free: 2.082 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.1966, allocations: 8 kB / 1.197 GB, free: 2.074 MB / 0.823 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000273/0.1969, allocations: 205.9 kB / 1.197 GB, free: 1.867 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.1969, allocations: 4 kB / 1.197 GB, free: 1.863 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.1969, allocations: 11.91 kB / 1.197 GB, free: 1.852 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.1969, allocations: 0 / 1.197 GB, free: 1.852 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001103/0.197, allocations: 35.97 kB / 1.197 GB, free: 1.816 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.698e-06/0.197, allocations: 3.938 kB / 1.197 GB, free: 1.812 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002972/0.1973, allocations: 27.95 kB / 1.197 GB, free: 1.785 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-06/0.1973, allocations: 4 kB / 1.197 GB, free: 1.781 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 6.672e-05/0.1974, allocations: 129.8 kB / 1.197 GB, free: 1.645 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.548e-05/0.1974, allocations: 11.91 kB / 1.197 GB, free: 1.633 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.549e-05/0.1974, allocations: 24.34 kB / 1.197 GB, free: 1.602 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.1974, allocations: 0 / 1.197 GB, free: 1.602 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.1974, allocations: 4 kB / 1.197 GB, free: 1.598 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.1974, allocations: 3.984 kB / 1.197 GB, free: 1.594 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001687/0.1976, allocations: 184.6 kB / 1.197 GB, free: 1.371 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1976, allocations: 0 / 1.197 GB, free: 1.371 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.837e-05/0.1977, allocations: 35.95 kB / 1.197 GB, free: 1.336 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.202e-06/0.1977, allocations: 0 / 1.197 GB, free: 1.336 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-06/0.1977, allocations: 0 / 1.197 GB, free: 1.336 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.1977, allocations: 0 / 1.197 GB, free: 1.336 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.1977, allocations: 4 kB / 1.197 GB, free: 1.332 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003138/0.198, allocations: 382.5 kB / 1.198 GB, free: 0.9414 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 1.147e-05/0.198, allocations: 11.91 kB / 1.198 GB, free: 0.9297 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.286e-05/0.198, allocations: 4 kB / 1.198 GB, free: 0.9258 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.855e-05/0.1981, allocations: 23.97 kB / 1.198 GB, free: 0.9023 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.056e-05/0.1982, allocations: 11.97 kB / 1.198 GB, free: 0.8906 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.069e-06/0.1982, allocations: 8 kB / 1.198 GB, free: 0.8828 MB / 0.823 GB Notification: Performance of sorting global known variables: time 5.568e-05/0.1982, allocations: 124.9 kB / 1.198 GB, free: 0.7617 MB / 0.823 GB Notification: Performance of sort global known variables: time 5e-08/0.1982, allocations: 0 / 1.198 GB, free: 0.7617 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001715/0.1984, allocations: 20 kB / 1.198 GB, free: 0.7422 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.0005108/0.1989, allocations: 0.9187 MB / 1.199 GB, free: 15.8 MB / 0.8387 GB Notification: Performance of simCode: created initialization part: time 0.0002951/0.1992, allocations: 167.8 kB / 1.199 GB, free: 15.63 MB / 0.8387 GB Notification: Performance of simCode: created event and clocks part: time 1.674e-06/0.1992, allocations: 0 / 1.199 GB, free: 15.63 MB / 0.8387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001266/0.1993, allocations: 91.92 kB / 1.199 GB, free: 15.54 MB / 0.8387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002466/0.1996, allocations: 19.97 kB / 1.199 GB, free: 15.52 MB / 0.8387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001553/0.2011, allocations: 1.963 MB / 1.201 GB, free: 13.47 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.632e-05/0.2012, allocations: 104.1 kB / 1.201 GB, free: 13.35 MB / 0.8387 GB Notification: Performance of simCode: alias equations: time 5.511e-05/0.2013, allocations: 27.97 kB / 1.201 GB, free: 13.32 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.427e-05/0.2013, allocations: 31.42 kB / 1.201 GB, free: 13.29 MB / 0.8387 GB Notification: Performance of SimCode: time 5.42e-07/0.2013, allocations: 4 kB / 1.201 GB, free: 13.29 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01443/0.2157, allocations: 3.287 MB / 1.204 GB, free: 10.14 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.931/6.147, allocations: 3.625 kB / 1.204 GB, free: 10.14 MB / 0.8387 GB " [Timeout remaining time 654] (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: 10.1573635796085] Failed to read output from testmodel.py, exit status != 0: 6.219798445701599 6.228107957 6.033352653 Calling exit ...