Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Utilities.Math.Functions.Examples.Round.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.0008261/0.0008261, 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.0009842/0.0009842, allocations: 213.8 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.9864/0.9864, 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.04225/0.04225, 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.000571/0.000571, allocations: 19.97 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.707/1.707, allocations: 353.8 MB / 0.7787 GB, free: 3.082 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.Utilities.Math.Functions.Examples.Round,fileNamePrefix="AixLib_AixLib_Utilities_Math_Functions_Examples_Round",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Utilities.Math.Functions.Examples.Round,fileNamePrefix="AixLib_AixLib_Utilities_Math_Functions_Examples_Round",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.001384/0.001384, allocations: 117.3 kB / 1.06 GB, free: 24.81 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.224/0.2254, allocations: 134.9 MB / 1.192 GB, free: 7.715 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.Math.Functions.Examples.Round): time 0.001576/0.227, allocations: 0.6186 MB / 1.192 GB, free: 7.098 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0002645/0.2272, allocations: 72.17 kB / 1.192 GB, free: 7.027 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.772e-05/0.2273, allocations: 4 kB / 1.192 GB, free: 7.023 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 1.53e-05/0.2273, allocations: 7.875 kB / 1.192 GB, free: 7.016 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 8.075e-06/0.2273, allocations: 0 / 1.192 GB, free: 7.016 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.000256/0.2275, allocations: 19.97 kB / 1.193 GB, free: 6.996 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 6.053e-05/0.2276, allocations: 11.94 kB / 1.193 GB, free: 6.984 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 4.431e-05/0.2276, allocations: 0 / 1.193 GB, free: 6.984 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 2.512e-05/0.2277, allocations: 11.98 kB / 1.193 GB, free: 6.973 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 6.076e-05/0.2277, allocations: 7.938 kB / 1.193 GB, free: 6.965 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.218e-05/0.2277, allocations: 0 / 1.193 GB, free: 6.965 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 7.878e-05/0.2278, allocations: 15.98 kB / 1.193 GB, free: 6.949 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 1.254e-05/0.2278, allocations: 7.984 kB / 1.193 GB, free: 6.941 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 2.291e-05/0.2279, allocations: 4 kB / 1.193 GB, free: 6.938 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001094/0.228, allocations: 24.17 kB / 1.193 GB, free: 6.914 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.228, allocations: 0 / 1.193 GB, free: 6.914 MB / 0.823 GB Notification: Performance of FrontEnd: time 3.216e-06/0.228, allocations: 4 kB / 1.193 GB, free: 6.91 MB / 0.823 GB Notification: Performance of Transformations before backend: time 8.065e-06/0.228, allocations: 0 / 1.193 GB, free: 6.91 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.0003282/0.2283, allocations: 251.5 kB / 1.193 GB, free: 6.633 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.2284, allocations: 8.031 kB / 1.193 GB, free: 6.625 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.206e-05/0.2284, allocations: 30.75 kB / 1.193 GB, free: 6.586 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.567e-05/0.2284, allocations: 8.938 kB / 1.193 GB, free: 6.578 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.861e-05/0.2285, allocations: 102.5 kB / 1.193 GB, free: 6.453 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.388e-05/0.2285, allocations: 4.375 kB / 1.193 GB, free: 6.449 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.304e-05/0.2285, allocations: 4.375 kB / 1.193 GB, free: 6.445 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001361/0.2286, allocations: 74.47 kB / 1.193 GB, free: 6.352 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/0.2286, allocations: 3.938 kB / 1.193 GB, free: 6.348 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.809e-06/0.2287, allocations: 4 kB / 1.193 GB, free: 6.344 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.2287, allocations: 0 / 1.193 GB, free: 6.344 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.936e-05/0.2287, allocations: 11.94 kB / 1.193 GB, free: 6.332 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001397/0.2288, allocations: 152.1 kB / 1.193 GB, free: 6.129 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 8.451e-05/0.2289, allocations: 97.09 kB / 1.193 GB, free: 5.988 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.507e-05/0.2289, allocations: 36.48 kB / 1.193 GB, free: 5.938 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001826/0.2291, allocations: 15.86 kB / 1.193 GB, free: 5.922 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.663e-05/0.2292, allocations: 38.56 kB / 1.193 GB, free: 5.875 MB / 0.823 GB Notification: Performance of pre-optimization done (n=5): time 1.122e-06/0.2292, allocations: 0 / 1.193 GB, free: 5.875 MB / 0.823 GB Notification: Performance of matching and sorting (n=5): time 0.0001951/0.2294, allocations: 73.45 kB / 1.193 GB, free: 5.797 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.651e-05/0.2294, allocations: 170.8 kB / 1.194 GB, free: 5.594 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.906e-05/0.2295, allocations: 93.86 kB / 1.194 GB, free: 5.492 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.338e-05/0.2295, allocations: 29.64 kB / 1.194 GB, free: 5.457 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 1.9e-05/0.2295, allocations: 80.14 kB / 1.194 GB, free: 5.375 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 4.248e-05/0.2295, allocations: 11.84 kB / 1.194 GB, free: 5.363 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.04e-05/0.2296, allocations: 21.72 kB / 1.194 GB, free: 5.336 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.539e-05/0.2296, allocations: 314.8 kB / 1.194 GB, free: 5.02 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.041e-05/0.2297, allocations: 8 kB / 1.194 GB, free: 5.012 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.797e-05/0.2297, allocations: 32.3 kB / 1.194 GB, free: 4.965 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.709e-05/0.2297, allocations: 52.22 kB / 1.194 GB, free: 4.898 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.185e-06/0.2297, allocations: 0 / 1.194 GB, free: 4.898 MB / 0.823 GB Notification: Performance of matching and sorting (n=5) (initialization): time 7.121e-05/0.2298, allocations: 65.56 kB / 1.194 GB, free: 4.828 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.2298, allocations: 8 kB / 1.194 GB, free: 4.82 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.371e-05/0.2298, allocations: 3.938 kB / 1.194 GB, free: 4.816 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.2299, allocations: 0 / 1.194 GB, free: 4.816 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.537e-05/0.2299, allocations: 11.98 kB / 1.194 GB, free: 4.805 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.214e-06/0.2299, allocations: 4 kB / 1.194 GB, free: 4.801 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.79e-05/0.23, allocations: 0 / 1.194 GB, free: 4.801 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.484e-06/0.23, allocations: 4 kB / 1.194 GB, free: 4.797 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (5): * Single equations (assignments): 5 * 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 5.8e-05/0.23, allocations: 117.9 kB / 1.194 GB, free: 4.672 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.082e-05/0.23, allocations: 11.94 kB / 1.194 GB, free: 4.66 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000151/0.2302, allocations: 100.6 kB / 1.195 GB, free: 4.559 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.2302, allocations: 4.156 kB / 1.195 GB, free: 4.555 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.2302, allocations: 4 kB / 1.195 GB, free: 4.551 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.2302, allocations: 7.984 kB / 1.195 GB, free: 4.543 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.967e-05/0.2303, allocations: 132.7 kB / 1.195 GB, free: 4.371 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.2303, allocations: 0 / 1.195 GB, free: 4.371 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.348e-05/0.2303, allocations: 12 kB / 1.195 GB, free: 4.359 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.2303, allocations: 4 kB / 1.195 GB, free: 4.355 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.326e-06/0.2303, allocations: 11.88 kB / 1.195 GB, free: 4.344 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.2303, allocations: 7.984 kB / 1.195 GB, free: 4.336 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.2303, allocations: 0 / 1.195 GB, free: 4.336 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.391e-05/0.2304, allocations: 125.8 kB / 1.195 GB, free: 4.184 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.905e-06/0.2304, allocations: 7.938 kB / 1.195 GB, free: 4.176 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.284e-05/0.2305, allocations: 11.94 kB / 1.195 GB, free: 4.164 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.515e-05/0.2305, allocations: 3.984 kB / 1.195 GB, free: 4.16 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.476e-05/0.2305, allocations: 8 kB / 1.195 GB, free: 4.152 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.648e-06/0.2305, allocations: 4 kB / 1.195 GB, free: 4.148 MB / 0.823 GB Notification: Performance of sorting global known variables: time 1.883e-05/0.2305, allocations: 79.22 kB / 1.195 GB, free: 4.07 MB / 0.823 GB Notification: Performance of sort global known variables: time 5e-08/0.2305, allocations: 0 / 1.195 GB, free: 4.07 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.00015/0.2307, allocations: 11.98 kB / 1.195 GB, free: 4.059 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (9): * Single equations (assignments): 9 * 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.0003146/0.231, allocations: 0.6586 MB / 1.196 GB, free: 3.355 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 9.885e-05/0.2311, allocations: 35.92 kB / 1.196 GB, free: 3.32 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.083e-06/0.2311, allocations: 320 / 1.196 GB, free: 3.32 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 2.116e-05/0.2311, allocations: 27.94 kB / 1.196 GB, free: 3.293 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001177/0.2312, allocations: 8 kB / 1.196 GB, free: 3.285 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003097/0.2315, allocations: 173.9 kB / 1.196 GB, free: 3.062 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002522/0.2318, allocations: 0.6862 MB / 1.197 GB, free: 2.352 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 3.165e-05/0.2318, allocations: 12 kB / 1.197 GB, free: 2.34 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.463e-05/0.2318, allocations: 19.41 kB / 1.197 GB, free: 2.32 MB / 0.823 GB Notification: Performance of SimCode: time 3.71e-07/0.2318, allocations: 0 / 1.197 GB, free: 2.32 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01554/0.2474, allocations: 1.573 MB / 1.198 GB, free: 0.8672 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.476/6.724, allocations: 4.875 kB / 1.198 GB, free: 0.8633 MB / 0.823 GB " [Timeout remaining time 653] (rm -f AixLib_AixLib.Utilities.Math.Functions.Examples.Round.pipe ; mkfifo AixLib_AixLib.Utilities.Math.Functions.Examples.Round.pipe ; head -c 1048576 < AixLib_AixLib.Utilities.Math.Functions.Examples.Round.pipe >> ../files/AixLib_AixLib.Utilities.Math.Functions.Examples.Round.sim & python3 -m fmpy simulate --output-file AixLib_AixLib.Utilities.Math.Functions.Examples.Round_res.csv --start-time -2 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 AixLib_AixLib_Utilities_Math_Functions_Examples_Round.fmu > AixLib_AixLib.Utilities.Math.Functions.Examples.Round.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.248417519964278] Failed to read output from testmodel.py, exit status != 0: 6.802356471307576 6.814303929 6.584158231 Calling exit ...