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.0008861/0.0008861, allocations: 109.9 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.0008959/0.0008959, allocations: 217.7 kB / 22.26 MB, free: 3.703 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.992/0.992, allocations: 230.6 MB / 256 MB, free: 9.82 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.04098/0.04098, allocations: 12.18 MB / 324.6 MB, free: 6.273 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.0005156/0.0005156, allocations: 39.88 kB / 384.1 MB, free: 10.65 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.72/1.72, allocations: 353.8 MB / 0.7787 GB, free: 3.164 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.001504/0.001504, allocations: 116.8 kB / 1.06 GB, free: 24.94 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2205/0.222, allocations: 134.9 MB / 1.192 GB, free: 7.863 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.001552/0.2236, allocations: 0.7609 MB / 1.193 GB, free: 7.102 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0007787/0.2244, allocations: 0.8588 MB / 1.193 GB, free: 6.23 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.082e-05/0.2244, allocations: 4 kB / 1.193 GB, free: 6.227 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0001767/0.2246, allocations: 51.8 kB / 1.193 GB, free: 6.176 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 4.376e-05/0.2246, allocations: 43.81 kB / 1.193 GB, free: 6.133 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 6.139e-05/0.2247, allocations: 15.98 kB / 1.193 GB, free: 6.117 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0001115/0.2248, allocations: 95.69 kB / 1.194 GB, free: 6.023 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001114/0.2249, allocations: 15.98 kB / 1.194 GB, free: 6.008 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 6.051e-05/0.225, allocations: 43.83 kB / 1.194 GB, free: 5.965 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001215/0.2251, allocations: 87.78 kB / 1.194 GB, free: 5.879 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.876e-05/0.2251, allocations: 8 kB / 1.194 GB, free: 5.871 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 1.21e-05/0.2251, allocations: 8 kB / 1.194 GB, free: 5.863 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001335/0.2253, allocations: 31.91 kB / 1.194 GB, free: 5.832 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 4.458e-05/0.2253, allocations: 47.72 kB / 1.194 GB, free: 5.785 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.000124/0.2254, allocations: 119.7 kB / 1.194 GB, free: 5.668 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.2254, allocations: 0 / 1.194 GB, free: 5.668 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.834e-06/0.2254, allocations: 4 kB / 1.194 GB, free: 5.664 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.711e-06/0.2255, allocations: 0 / 1.194 GB, free: 5.664 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.0004818/0.2259, allocations: 385.7 kB / 1.194 GB, free: 5.254 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.226, allocations: 8.031 kB / 1.194 GB, free: 5.246 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.484e-05/0.226, allocations: 50.62 kB / 1.194 GB, free: 5.188 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.216e-05/0.226, allocations: 12.83 kB / 1.194 GB, free: 5.176 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001893/0.2262, allocations: 160.5 kB / 1.195 GB, free: 4.996 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.313e-05/0.2262, allocations: 4.375 kB / 1.195 GB, free: 4.992 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.156e-05/0.2262, allocations: 384 / 1.195 GB, free: 4.992 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002432/0.2265, allocations: 155.8 kB / 1.195 GB, free: 4.828 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.256e-06/0.2265, allocations: 3.938 kB / 1.195 GB, free: 4.824 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.849e-06/0.2265, allocations: 3.938 kB / 1.195 GB, free: 4.82 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.2265, allocations: 4 kB / 1.195 GB, free: 4.816 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002648/0.2268, allocations: 167.8 kB / 1.195 GB, free: 4.652 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005625/0.2273, allocations: 483.9 kB / 1.195 GB, free: 4.133 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002196/0.2276, allocations: 153.1 kB / 1.195 GB, free: 3.965 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001297/0.2277, allocations: 93.73 kB / 1.196 GB, free: 3.867 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.373e-05/0.2277, allocations: 4 kB / 1.196 GB, free: 3.863 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.073e-05/0.2277, allocations: 38.48 kB / 1.196 GB, free: 3.816 MB / 0.823 GB Notification: Performance of pre-optimization done (n=8): time 9.22e-07/0.2277, allocations: 0 / 1.196 GB, free: 3.816 MB / 0.823 GB Notification: Performance of matching and sorting (n=8): time 0.0007682/0.2285, allocations: 289.3 kB / 1.196 GB, free: 3.527 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.421e-05/0.2285, allocations: 81.11 kB / 1.196 GB, free: 3.43 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.299e-05/0.2286, allocations: 163.3 kB / 1.196 GB, free: 3.262 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.179e-05/0.2286, allocations: 33.7 kB / 1.196 GB, free: 3.223 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 4.119e-05/0.2287, allocations: 100.1 kB / 1.196 GB, free: 3.121 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.851e-05/0.2287, allocations: 35.72 kB / 1.196 GB, free: 3.086 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.973e-05/0.2287, allocations: 17.72 kB / 1.196 GB, free: 3.062 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.492e-05/0.2288, allocations: 326.8 kB / 1.197 GB, free: 2.734 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001257/0.2289, allocations: 75.92 kB / 1.197 GB, free: 2.66 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001212/0.2291, allocations: 97.58 kB / 1.197 GB, free: 2.559 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002382/0.2293, allocations: 173.5 kB / 1.197 GB, free: 2.383 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/0.2293, allocations: 4 kB / 1.197 GB, free: 2.379 MB / 0.823 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003095/0.2296, allocations: 205.4 kB / 1.197 GB, free: 2.172 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.2296, allocations: 4 kB / 1.197 GB, free: 2.168 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.2296, allocations: 0 / 1.197 GB, free: 2.168 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.084e-05/0.2296, allocations: 4 kB / 1.197 GB, free: 2.164 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001095/0.2297, allocations: 39.89 kB / 1.197 GB, free: 2.125 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-06/0.2297, allocations: 4 kB / 1.197 GB, free: 2.121 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.997e-05/0.2298, allocations: 27.95 kB / 1.197 GB, free: 2.094 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.36e-06/0.2298, allocations: 0 / 1.197 GB, free: 2.094 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.288e-05/0.2299, allocations: 125.8 kB / 1.197 GB, free: 1.961 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.794e-05/0.2299, allocations: 19.89 kB / 1.197 GB, free: 1.941 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.82e-05/0.2299, allocations: 20.34 kB / 1.197 GB, free: 1.914 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.2299, allocations: 4 kB / 1.197 GB, free: 1.91 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.2299, allocations: 0 / 1.197 GB, free: 1.91 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.2299, allocations: 0 / 1.197 GB, free: 1.91 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000207/0.2301, allocations: 204.5 kB / 1.198 GB, free: 1.668 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.2301, allocations: 0 / 1.198 GB, free: 1.668 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.791e-05/0.2302, allocations: 35.95 kB / 1.198 GB, free: 1.633 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.2302, allocations: 0 / 1.198 GB, free: 1.633 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.294e-06/0.2302, allocations: 0 / 1.198 GB, free: 1.633 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.2302, allocations: 4 kB / 1.198 GB, free: 1.629 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.2302, allocations: 7.938 kB / 1.198 GB, free: 1.621 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003141/0.2306, allocations: 382.5 kB / 1.198 GB, free: 1.23 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 1.141e-05/0.2306, allocations: 12.38 kB / 1.198 GB, free: 1.219 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.216e-05/0.2306, allocations: 4 kB / 1.198 GB, free: 1.215 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.393e-05/0.2307, allocations: 31.95 kB / 1.198 GB, free: 1.184 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.359e-05/0.2307, allocations: 7.984 kB / 1.198 GB, free: 1.176 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.929e-06/0.2307, allocations: 4 kB / 1.198 GB, free: 1.172 MB / 0.823 GB Notification: Performance of sorting global known variables: time 5.44e-05/0.2308, allocations: 125.4 kB / 1.198 GB, free: 1.051 MB / 0.823 GB Notification: Performance of sort global known variables: time 5e-08/0.2308, allocations: 0 / 1.198 GB, free: 1.051 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001891/0.231, allocations: 20 kB / 1.198 GB, free: 1.031 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.0005602/0.2315, allocations: 0.9185 MB / 1.199 GB, free: 88 kB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0003028/0.2318, allocations: 163.8 kB / 1.199 GB, free: 15.93 MB / 0.8387 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.2318, allocations: 0 / 1.199 GB, free: 15.93 MB / 0.8387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001266/0.232, allocations: 95.86 kB / 1.199 GB, free: 15.83 MB / 0.8387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002524/0.2322, allocations: 15.98 kB / 1.199 GB, free: 15.82 MB / 0.8387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001726/0.2339, allocations: 1.966 MB / 1.201 GB, free: 13.76 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000265/0.2342, allocations: 0.7158 MB / 1.202 GB, free: 13.02 MB / 0.8387 GB Notification: Performance of simCode: alias equations: time 6.666e-05/0.2343, allocations: 27.97 kB / 1.202 GB, free: 12.99 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.779e-05/0.2343, allocations: 31.42 kB / 1.202 GB, free: 12.96 MB / 0.8387 GB Notification: Performance of SimCode: time 6.92e-07/0.2343, allocations: 0 / 1.202 GB, free: 12.96 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01546/0.2498, allocations: 2.843 MB / 1.205 GB, free: 10.25 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.277/6.527, allocations: 6.656 kB / 1.205 GB, free: 10.24 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AixLib_AixLib_Controls_OBC_CDL_Reals_Validation_MatrixGain_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.965493632480502] Failed to read output from testmodel.py, exit status != 0: 6.602105598896742 6.610588339 6.383445647 Calling exit ...