Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Average.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.0008115/0.0008115, 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.0009318/0.0009318, allocations: 223.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.9651/0.9651, allocations: 230.6 MB / 256 MB, free: 9.801 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.0376/0.0376, allocations: 12.18 MB / 324.6 MB, free: 6.277 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.0006105/0.0006105, allocations: 23.95 kB / 384.1 MB, free: 10.69 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.673/1.673, 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.Average,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Reals_Validation_Average",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Controls.OBC.CDL.Reals.Validation.Average,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Reals_Validation_Average",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.001412/0.001412, allocations: 123.5 kB / 1.06 GB, free: 24.98 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2424/0.2439, allocations: 134.9 MB / 1.192 GB, free: 7.816 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.Average): time 0.001811/0.2457, allocations: 0.6905 MB / 1.192 GB, free: 7.125 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0009627/0.2466, allocations: 0.8436 MB / 1.193 GB, free: 6.27 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.056e-05/0.2467, allocations: 4 kB / 1.193 GB, free: 6.266 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 4.097e-05/0.2467, allocations: 3.938 kB / 1.193 GB, free: 6.262 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 9.941e-05/0.2468, allocations: 7.922 kB / 1.193 GB, free: 6.254 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 7.741e-05/0.2469, allocations: 7.984 kB / 1.193 GB, free: 6.246 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0001172/0.247, allocations: 47.91 kB / 1.193 GB, free: 6.199 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000135/0.2472, allocations: 4 kB / 1.193 GB, free: 6.195 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 7.884e-05/0.2472, allocations: 19.92 kB / 1.193 GB, free: 6.176 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 4.609e-05/0.2473, allocations: 19.92 kB / 1.193 GB, free: 6.156 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.898e-05/0.2473, allocations: 4 kB / 1.193 GB, free: 6.152 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 7.223e-06/0.2473, allocations: 11.94 kB / 1.193 GB, free: 6.141 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 2.293e-05/0.2473, allocations: 11.92 kB / 1.193 GB, free: 6.129 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 3.197e-05/0.2474, allocations: 11.94 kB / 1.193 GB, free: 6.117 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001013/0.2475, allocations: 48.08 kB / 1.193 GB, free: 6.07 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 7.925e-06/0.2475, allocations: 0 / 1.193 GB, free: 6.07 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.244e-06/0.2475, allocations: 3.938 kB / 1.194 GB, free: 6.066 MB / 0.823 GB Notification: Performance of Transformations before backend: time 8.206e-06/0.2475, allocations: 0 / 1.194 GB, free: 6.066 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004549/0.2479, allocations: 286.2 kB / 1.194 GB, free: 5.754 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.974e-05/0.248, allocations: 12.03 kB / 1.194 GB, free: 5.742 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.335e-05/0.248, allocations: 34.69 kB / 1.194 GB, free: 5.699 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.779e-05/0.248, allocations: 8.891 kB / 1.194 GB, free: 5.691 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000105/0.2482, allocations: 114.5 kB / 1.194 GB, free: 5.555 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.389e-05/0.2482, allocations: 384 / 1.194 GB, free: 5.555 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.349e-05/0.2482, allocations: 384 / 1.194 GB, free: 5.555 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001942/0.2484, allocations: 78.14 kB / 1.194 GB, free: 5.473 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.2484, allocations: 3.938 kB / 1.194 GB, free: 5.469 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.2484, allocations: 4 kB / 1.194 GB, free: 5.465 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.2484, allocations: 0 / 1.194 GB, free: 5.465 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001486/0.2485, allocations: 63.92 kB / 1.194 GB, free: 5.402 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003952/0.2489, allocations: 240 kB / 1.194 GB, free: 5.125 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001536/0.2491, allocations: 54.53 kB / 1.194 GB, free: 5.062 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.968e-05/0.2492, allocations: 36.86 kB / 1.194 GB, free: 5.023 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.768e-05/0.2492, allocations: 4 kB / 1.194 GB, free: 5.02 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.985e-05/0.2492, allocations: 42.53 kB / 1.194 GB, free: 4.969 MB / 0.823 GB Notification: Performance of pre-optimization done (n=3): time 1.623e-06/0.2492, allocations: 0 / 1.194 GB, free: 4.969 MB / 0.823 GB Notification: Performance of matching and sorting (n=3): time 0.0003435/0.2496, allocations: 125.6 kB / 1.195 GB, free: 4.84 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.207e-05/0.2496, allocations: 51.41 kB / 1.195 GB, free: 4.777 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.397e-05/0.2497, allocations: 109.8 kB / 1.195 GB, free: 4.66 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.383e-05/0.2497, allocations: 29.7 kB / 1.195 GB, free: 4.625 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 5.933e-05/0.2498, allocations: 92.09 kB / 1.195 GB, free: 4.531 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.304e-05/0.2498, allocations: 7.938 kB / 1.195 GB, free: 4.523 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.966e-05/0.2498, allocations: 17.72 kB / 1.195 GB, free: 4.5 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001022/0.2499, allocations: 310.8 kB / 1.195 GB, free: 4.188 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.069e-05/0.25, allocations: 39.89 kB / 1.195 GB, free: 4.148 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.66e-05/0.2501, allocations: 31.97 kB / 1.195 GB, free: 4.117 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001367/0.2502, allocations: 76.72 kB / 1.195 GB, free: 4.039 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.2502, allocations: 0 / 1.195 GB, free: 4.039 MB / 0.823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001714/0.2504, allocations: 93.62 kB / 1.195 GB, free: 3.941 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.2504, allocations: 4 kB / 1.195 GB, free: 3.938 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.2504, allocations: 4 kB / 1.195 GB, free: 3.934 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.186e-05/0.2504, allocations: 0 / 1.195 GB, free: 3.934 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.641e-05/0.2505, allocations: 23.91 kB / 1.195 GB, free: 3.91 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.447e-06/0.2505, allocations: 3.938 kB / 1.195 GB, free: 3.906 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.04e-05/0.2506, allocations: 15.94 kB / 1.195 GB, free: 3.891 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.602e-06/0.2506, allocations: 0 / 1.195 GB, free: 3.891 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (3): * Single equations (assignments): 3 * 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.627e-05/0.2506, allocations: 113.8 kB / 1.196 GB, free: 3.77 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.201e-05/0.2507, allocations: 8 kB / 1.196 GB, free: 3.762 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.564e-05/0.2507, allocations: 8 kB / 1.196 GB, free: 3.746 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.2507, allocations: 0 / 1.196 GB, free: 3.746 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.2507, allocations: 0 / 1.196 GB, free: 3.746 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.2507, allocations: 4 kB / 1.196 GB, free: 3.742 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001288/0.2508, allocations: 152.6 kB / 1.196 GB, free: 3.551 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.2508, allocations: 0 / 1.196 GB, free: 3.551 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.058e-05/0.2509, allocations: 11.98 kB / 1.196 GB, free: 3.539 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.2509, allocations: 0 / 1.196 GB, free: 3.539 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.336e-06/0.2509, allocations: 4 kB / 1.196 GB, free: 3.535 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.2509, allocations: 4 kB / 1.196 GB, free: 3.531 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.2509, allocations: 0 / 1.196 GB, free: 3.531 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000208/0.2511, allocations: 199.3 kB / 1.196 GB, free: 3.32 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.873e-06/0.2511, allocations: 3.938 kB / 1.196 GB, free: 3.316 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.487e-05/0.2511, allocations: 8 kB / 1.196 GB, free: 3.309 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.609e-05/0.2512, allocations: 11.98 kB / 1.196 GB, free: 3.297 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.625e-05/0.2512, allocations: 7.984 kB / 1.196 GB, free: 3.289 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.254e-06/0.2512, allocations: 0 / 1.196 GB, free: 3.289 MB / 0.823 GB Notification: Performance of sorting global known variables: time 3.425e-05/0.2512, allocations: 83.28 kB / 1.196 GB, free: 3.207 MB / 0.823 GB Notification: Performance of sort global known variables: time 5e-08/0.2512, allocations: 4 kB / 1.196 GB, free: 3.203 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001404/0.2514, allocations: 4 kB / 1.196 GB, free: 3.199 MB / 0.823 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 (3): * Single equations (assignments): 3 * 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.0004302/0.2518, allocations: 0.7283 MB / 1.197 GB, free: 2.445 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0002051/0.252, allocations: 75.89 kB / 1.197 GB, free: 2.371 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.252, allocations: 0 / 1.197 GB, free: 2.371 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 7.004e-05/0.2521, allocations: 35.95 kB / 1.197 GB, free: 2.336 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002577/0.2523, allocations: 9.969 kB / 1.197 GB, free: 2.328 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004015/0.2527, allocations: 159.1 kB / 1.197 GB, free: 2.133 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002326/0.253, allocations: 0.6807 MB / 1.198 GB, free: 1.426 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 3.591e-05/0.253, allocations: 4 kB / 1.198 GB, free: 1.422 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.534e-05/0.2531, allocations: 11.44 kB / 1.198 GB, free: 1.41 MB / 0.823 GB Notification: Performance of SimCode: time 9.52e-07/0.2531, allocations: 3.938 kB / 1.198 GB, free: 1.406 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01584/0.2689, allocations: 1.747 MB / 1.199 GB, free: 15.8 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.852/7.121, allocations: 14.36 kB / 1.199 GB, free: 15.79 MB / 0.8387 GB " [Timeout remaining time 653] (rm -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Average.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Average.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Average.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Average.sim & python3 -m fmpy simulate --output-file AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Average_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_Average.fmu > AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Average.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.583803737536073] Failed to read output from testmodel.py, exit status != 0: 7.195579482242465 7.205999686 6.955898102 Calling exit ...