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.0007932/0.0007932, allocations: 105.5 kB / 18.95 MB, free: 1.188 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.0008718/0.0008718, allocations: 208.6 kB / 22.25 MB, free: 3.59 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.9211/0.9211, allocations: 230.6 MB / 256 MB, free: 9.578 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.03606/0.03606, allocations: 12.19 MB / 324.6 MB, free: 6.055 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.0004596/0.0004596, allocations: 19.97 kB / 384.1 MB, free: 10.48 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.683/1.683, allocations: 353.9 MB / 0.7787 GB, free: 4.555 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.001391/0.001391, allocations: 125.2 kB / 1.06 GB, free: 24.73 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2442/0.2456, allocations: 134.9 MB / 1.192 GB, free: 7.43 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.Math.Functions.Examples.Round): time 0.00141/0.247, allocations: 0.6163 MB / 1.192 GB, free: 6.816 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0002403/0.2473, allocations: 64.2 kB / 1.192 GB, free: 6.754 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.731e-05/0.2473, allocations: 0 / 1.192 GB, free: 6.754 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 1.666e-05/0.2473, allocations: 0 / 1.192 GB, free: 6.754 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 8.486e-06/0.2473, allocations: 3.938 kB / 1.192 GB, free: 6.75 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002635/0.2476, allocations: 23.91 kB / 1.192 GB, free: 6.727 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 5.797e-05/0.2476, allocations: 8 kB / 1.192 GB, free: 6.719 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 4.88e-05/0.2477, allocations: 4 kB / 1.192 GB, free: 6.715 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 1.982e-05/0.2477, allocations: 7.984 kB / 1.192 GB, free: 6.707 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 4.906e-05/0.2477, allocations: 4 kB / 1.192 GB, free: 6.703 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.181e-05/0.2478, allocations: 7.984 kB / 1.192 GB, free: 6.695 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 7.687e-05/0.2478, allocations: 15.92 kB / 1.192 GB, free: 6.68 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 1.56e-05/0.2478, allocations: 4 kB / 1.192 GB, free: 6.676 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 1.713e-05/0.2479, allocations: 0 / 1.192 GB, free: 6.676 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 9.709e-05/0.248, allocations: 32.11 kB / 1.192 GB, free: 6.645 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.248, allocations: 0 / 1.192 GB, free: 6.645 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.983e-06/0.248, allocations: 0 / 1.192 GB, free: 6.645 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.362e-06/0.248, allocations: 0 / 1.192 GB, free: 6.645 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.0003104/0.2483, allocations: 254.3 kB / 1.193 GB, free: 6.363 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/0.2483, allocations: 12.03 kB / 1.193 GB, free: 6.352 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.349e-05/0.2484, allocations: 30.75 kB / 1.193 GB, free: 6.312 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.794e-05/0.2484, allocations: 0.9375 kB / 1.193 GB, free: 6.312 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.73e-05/0.2484, allocations: 106.5 kB / 1.193 GB, free: 6.184 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.162e-05/0.2485, allocations: 4.375 kB / 1.193 GB, free: 6.18 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.067e-06/0.2485, allocations: 4.375 kB / 1.193 GB, free: 6.176 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001278/0.2486, allocations: 74.47 kB / 1.193 GB, free: 6.082 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.2486, allocations: 3.938 kB / 1.193 GB, free: 6.078 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.095e-06/0.2486, allocations: 3.938 kB / 1.193 GB, free: 6.074 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.2486, allocations: 0 / 1.193 GB, free: 6.074 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.149e-05/0.2486, allocations: 19.92 kB / 1.193 GB, free: 6.055 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001362/0.2488, allocations: 152.3 kB / 1.193 GB, free: 5.852 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 7.313e-05/0.2489, allocations: 92.98 kB / 1.193 GB, free: 5.715 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.197e-05/0.2489, allocations: 36.41 kB / 1.193 GB, free: 5.664 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001508/0.249, allocations: 8 kB / 1.193 GB, free: 5.656 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.284e-05/0.2491, allocations: 42.5 kB / 1.193 GB, free: 5.605 MB / 0.823 GB Notification: Performance of pre-optimization done (n=5): time 1.052e-06/0.2491, allocations: 0 / 1.193 GB, free: 5.605 MB / 0.823 GB Notification: Performance of matching and sorting (n=5): time 0.0001651/0.2492, allocations: 78.06 kB / 1.193 GB, free: 5.523 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.422e-05/0.2493, allocations: 162.2 kB / 1.194 GB, free: 5.328 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.64e-05/0.2493, allocations: 89.86 kB / 1.194 GB, free: 5.23 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 9.057e-06/0.2493, allocations: 25.7 kB / 1.194 GB, free: 5.199 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 2.034e-05/0.2493, allocations: 84.14 kB / 1.194 GB, free: 5.113 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 3.437e-05/0.2494, allocations: 15.83 kB / 1.194 GB, free: 5.098 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.453e-05/0.2494, allocations: 17.72 kB / 1.194 GB, free: 5.074 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.371e-05/0.2495, allocations: 314.8 kB / 1.194 GB, free: 4.758 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.598e-05/0.2495, allocations: 11.98 kB / 1.194 GB, free: 4.746 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.469e-05/0.2495, allocations: 36.23 kB / 1.194 GB, free: 4.695 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.285e-05/0.2496, allocations: 56.17 kB / 1.194 GB, free: 4.625 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.2496, allocations: 0 / 1.194 GB, free: 4.625 MB / 0.823 GB Notification: Performance of matching and sorting (n=5) (initialization): time 7.553e-05/0.2497, allocations: 65.55 kB / 1.194 GB, free: 4.555 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.2497, allocations: 8 kB / 1.194 GB, free: 4.547 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.822e-06/0.2497, allocations: 3.938 kB / 1.194 GB, free: 4.543 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.2497, allocations: 160 / 1.194 GB, free: 4.543 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.426e-05/0.2498, allocations: 12 kB / 1.194 GB, free: 4.531 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.2498, allocations: 7.984 kB / 1.194 GB, free: 4.523 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.626e-05/0.2498, allocations: 0 / 1.194 GB, free: 4.523 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.694e-06/0.2498, allocations: 4 kB / 1.194 GB, free: 4.52 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.662e-05/0.2498, allocations: 113.8 kB / 1.194 GB, free: 4.398 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.739e-06/0.2498, allocations: 3.953 kB / 1.194 GB, free: 4.395 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001572/0.25, allocations: 112.4 kB / 1.194 GB, free: 4.281 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.766e-06/0.25, allocations: 0 / 1.194 GB, free: 4.281 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.25, allocations: 4 kB / 1.194 GB, free: 4.277 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.25, allocations: 0 / 1.194 GB, free: 4.277 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.238e-05/0.2501, allocations: 132.7 kB / 1.195 GB, free: 4.105 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.2501, allocations: 8.125 kB / 1.195 GB, free: 4.098 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.591e-05/0.2502, allocations: 12 kB / 1.195 GB, free: 4.086 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.2502, allocations: 0 / 1.195 GB, free: 4.086 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.188e-05/0.2502, allocations: 15.92 kB / 1.195 GB, free: 4.07 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.2502, allocations: 160 / 1.195 GB, free: 4.07 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.2502, allocations: 8 kB / 1.195 GB, free: 4.062 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001118/0.2503, allocations: 121.9 kB / 1.195 GB, free: 3.914 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.895e-06/0.2503, allocations: 11.88 kB / 1.195 GB, free: 3.902 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.535e-05/0.2503, allocations: 15.92 kB / 1.195 GB, free: 3.887 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.53e-05/0.2503, allocations: 0 / 1.195 GB, free: 3.887 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.834e-05/0.2503, allocations: 4 kB / 1.195 GB, free: 3.883 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.881e-06/0.2503, allocations: 7.984 kB / 1.195 GB, free: 3.875 MB / 0.823 GB Notification: Performance of sorting global known variables: time 2.193e-05/0.2504, allocations: 75.28 kB / 1.195 GB, free: 3.801 MB / 0.823 GB Notification: Performance of sort global known variables: time 5e-08/0.2504, allocations: 0 / 1.195 GB, free: 3.801 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001574/0.2505, allocations: 12 kB / 1.195 GB, free: 3.789 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.0003274/0.2509, allocations: 0.6548 MB / 1.196 GB, free: 3.09 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 9.872e-05/0.2509, allocations: 39.86 kB / 1.196 GB, free: 3.051 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.251, allocations: 0 / 1.196 GB, free: 3.051 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 2.059e-05/0.251, allocations: 27.88 kB / 1.196 GB, free: 3.023 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001225/0.2511, allocations: 12.61 kB / 1.196 GB, free: 3.012 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003552/0.2515, allocations: 170 kB / 1.196 GB, free: 2.793 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.491e-05/0.2515, allocations: 71.22 kB / 1.196 GB, free: 2.703 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 3.109e-05/0.2515, allocations: 11.98 kB / 1.196 GB, free: 2.691 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.285e-05/0.2516, allocations: 11.44 kB / 1.196 GB, free: 2.68 MB / 0.823 GB Notification: Performance of SimCode: time 1.072e-06/0.2516, allocations: 0 / 1.196 GB, free: 2.68 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01889/0.2704, allocations: 1.926 MB / 1.198 GB, free: 0.875 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.902/7.172, allocations: 13.88 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.601617925800383] Failed to read output from testmodel.py, exit status != 0: 7.250165045261383 7.259804888 7.00986067 Calling exit ...