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.0008382/0.0008382, 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.0009324/0.0009324, allocations: 209.2 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.899/0.899, allocations: 230.6 MB / 256 MB, free: 9.594 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.03835/0.03835, allocations: 12.19 MB / 324.6 MB, free: 6.09 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.0004152/0.0004152, allocations: 27.95 kB / 384.1 MB, free: 10.5 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.663/1.663, allocations: 353.9 MB / 0.7787 GB, free: 4.562 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.001372/0.001372, allocations: 132.5 kB / 1.06 GB, free: 24.72 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2378/0.2391, allocations: 134.9 MB / 1.192 GB, free: 7.434 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.001493/0.2406, allocations: 0.7414 MB / 1.192 GB, free: 6.691 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0007238/0.2414, allocations: 0.851 MB / 1.193 GB, free: 5.828 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.056e-05/0.2414, allocations: 4 kB / 1.193 GB, free: 5.824 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0001792/0.2416, allocations: 55.78 kB / 1.193 GB, free: 5.77 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 4.374e-05/0.2416, allocations: 39.83 kB / 1.193 GB, free: 5.73 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 7.321e-05/0.2417, allocations: 23.97 kB / 1.193 GB, free: 5.707 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0001026/0.2418, allocations: 83.75 kB / 1.193 GB, free: 5.625 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001298/0.2419, allocations: 15.98 kB / 1.193 GB, free: 5.609 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 6.303e-05/0.242, allocations: 47.83 kB / 1.194 GB, free: 5.562 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001217/0.2421, allocations: 83.72 kB / 1.194 GB, free: 5.48 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.871e-05/0.2421, allocations: 8 kB / 1.194 GB, free: 5.473 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 1.223e-05/0.2421, allocations: 8 kB / 1.194 GB, free: 5.465 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 5.653e-05/0.2422, allocations: 39.91 kB / 1.194 GB, free: 5.426 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 3.894e-05/0.2422, allocations: 35.78 kB / 1.194 GB, free: 5.391 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001241/0.2424, allocations: 119.7 kB / 1.194 GB, free: 5.273 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.2424, allocations: 0 / 1.194 GB, free: 5.273 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.874e-06/0.2424, allocations: 0 / 1.194 GB, free: 5.273 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.893e-06/0.2424, allocations: 0 / 1.194 GB, free: 5.273 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.0005759/0.243, allocations: 389.7 kB / 1.194 GB, free: 4.859 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/0.243, allocations: 16.03 kB / 1.194 GB, free: 4.844 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.489e-05/0.243, allocations: 30.75 kB / 1.194 GB, free: 4.805 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.79e-05/0.2431, allocations: 12.89 kB / 1.194 GB, free: 4.793 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001674/0.2432, allocations: 155.5 kB / 1.194 GB, free: 4.617 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.518e-06/0.2432, allocations: 4.375 kB / 1.194 GB, free: 4.613 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.102e-05/0.2433, allocations: 4.375 kB / 1.194 GB, free: 4.609 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002695/0.2435, allocations: 151.8 kB / 1.195 GB, free: 4.449 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.2435, allocations: 3.938 kB / 1.195 GB, free: 4.445 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.29e-05/0.2435, allocations: 8 kB / 1.195 GB, free: 4.438 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/0.2436, allocations: 0 / 1.195 GB, free: 4.438 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002811/0.2438, allocations: 171.8 kB / 1.195 GB, free: 4.27 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005502/0.2444, allocations: 464 kB / 1.195 GB, free: 3.77 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002677/0.2447, allocations: 157.1 kB / 1.195 GB, free: 3.598 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001412/0.2448, allocations: 89.73 kB / 1.195 GB, free: 3.504 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.43e-05/0.2448, allocations: 0 / 1.195 GB, free: 3.504 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.119e-05/0.2448, allocations: 42.48 kB / 1.195 GB, free: 3.453 MB / 0.823 GB Notification: Performance of pre-optimization done (n=8): time 1.302e-06/0.2448, allocations: 4 kB / 1.195 GB, free: 3.449 MB / 0.823 GB Notification: Performance of matching and sorting (n=8): time 0.0004868/0.2453, allocations: 277.4 kB / 1.196 GB, free: 3.172 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.573e-05/0.2454, allocations: 85.05 kB / 1.196 GB, free: 3.07 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001014/0.2455, allocations: 169.5 kB / 1.196 GB, free: 2.898 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.444e-05/0.2455, allocations: 37.62 kB / 1.196 GB, free: 2.855 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 4.799e-05/0.2455, allocations: 96.14 kB / 1.196 GB, free: 2.758 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.915e-05/0.2455, allocations: 31.73 kB / 1.196 GB, free: 2.727 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.533e-05/0.2456, allocations: 25.7 kB / 1.196 GB, free: 2.695 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 8.213e-05/0.2457, allocations: 326.8 kB / 1.196 GB, free: 2.367 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001359/0.2458, allocations: 75.92 kB / 1.197 GB, free: 2.293 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001271/0.2459, allocations: 89.64 kB / 1.197 GB, free: 2.199 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002402/0.2462, allocations: 173.9 kB / 1.197 GB, free: 2.023 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.2462, allocations: 0 / 1.197 GB, free: 2.023 MB / 0.823 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002813/0.2465, allocations: 213.4 kB / 1.197 GB, free: 1.809 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.2465, allocations: 8 kB / 1.197 GB, free: 1.801 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.2465, allocations: 4 kB / 1.197 GB, free: 1.797 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.2465, allocations: 0 / 1.197 GB, free: 1.797 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001184/0.2466, allocations: 39.95 kB / 1.197 GB, free: 1.758 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.2466, allocations: 7.938 kB / 1.197 GB, free: 1.75 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.113e-05/0.2467, allocations: 23.97 kB / 1.197 GB, free: 1.727 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.174e-06/0.2467, allocations: 7.922 kB / 1.197 GB, free: 1.719 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 8.53e-05/0.2468, allocations: 129.8 kB / 1.197 GB, free: 1.582 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.505e-05/0.2468, allocations: 11.91 kB / 1.197 GB, free: 1.57 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.419e-05/0.2468, allocations: 20.33 kB / 1.197 GB, free: 1.543 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.2468, allocations: 4 kB / 1.197 GB, free: 1.539 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.2468, allocations: 0 / 1.197 GB, free: 1.539 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.2468, allocations: 0 / 1.197 GB, free: 1.539 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001787/0.247, allocations: 188.6 kB / 1.197 GB, free: 1.312 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.247, allocations: 4 kB / 1.197 GB, free: 1.309 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.147e-05/0.2471, allocations: 35.95 kB / 1.197 GB, free: 1.273 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.499e-06/0.2471, allocations: 4 kB / 1.197 GB, free: 1.27 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.897e-06/0.2471, allocations: 0 / 1.197 GB, free: 1.27 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.2471, allocations: 0 / 1.197 GB, free: 1.27 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.2471, allocations: 0 / 1.197 GB, free: 1.27 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003479/0.2475, allocations: 386.5 kB / 1.198 GB, free: 0.875 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 1.312e-05/0.2475, allocations: 11.91 kB / 1.198 GB, free: 0.8633 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.49e-05/0.2475, allocations: 0 / 1.198 GB, free: 0.8633 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.46e-05/0.2476, allocations: 27.95 kB / 1.198 GB, free: 0.8359 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.777e-05/0.2477, allocations: 11.98 kB / 1.198 GB, free: 0.8242 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.799e-06/0.2477, allocations: 0 / 1.198 GB, free: 0.8242 MB / 0.823 GB Notification: Performance of sorting global known variables: time 6.937e-05/0.2477, allocations: 127.8 kB / 1.198 GB, free: 0.6992 MB / 0.823 GB Notification: Performance of sort global known variables: time 5e-08/0.2477, allocations: 4 kB / 1.198 GB, free: 0.6953 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001735/0.2479, allocations: 16 kB / 1.198 GB, free: 0.6797 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.0007737/0.2487, allocations: 0.9148 MB / 1.199 GB, free: 15.74 MB / 0.8387 GB Notification: Performance of simCode: created initialization part: time 0.0003051/0.249, allocations: 179.7 kB / 1.199 GB, free: 15.56 MB / 0.8387 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.249, allocations: 0 / 1.199 GB, free: 15.56 MB / 0.8387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001287/0.2491, allocations: 83.92 kB / 1.199 GB, free: 15.48 MB / 0.8387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002557/0.2494, allocations: 12.47 kB / 1.199 GB, free: 15.47 MB / 0.8387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001654/0.251, allocations: 1.978 MB / 1.201 GB, free: 13.4 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.978e-05/0.2511, allocations: 96.98 kB / 1.201 GB, free: 13.29 MB / 0.8387 GB Notification: Performance of simCode: alias equations: time 6.208e-05/0.2512, allocations: 23.97 kB / 1.201 GB, free: 13.27 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.159e-05/0.2512, allocations: 39.42 kB / 1.201 GB, free: 13.23 MB / 0.8387 GB Notification: Performance of SimCode: time 7.92e-07/0.2512, allocations: 0 / 1.201 GB, free: 13.23 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01593/0.2671, allocations: 3.283 MB / 1.204 GB, free: 10.08 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.628/6.895, allocations: 5.656 kB / 1.204 GB, free: 10.08 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: 11.161170433275402] Failed to read output from testmodel.py, exit status != 0: 6.974966787733138 6.985243871 6.741110267 Calling exit ...