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.0008825/0.0008825, 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.0009708/0.0009708, allocations: 209.7 kB / 22.24 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.9604/0.9604, 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.03819/0.03819, allocations: 12.19 MB / 324.6 MB, free: 6.07 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.0005591/0.0005591, allocations: 31.89 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.639/1.639, 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.001629/0.001629, allocations: 123.9 kB / 1.06 GB, free: 24.72 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.23/0.2316, allocations: 134.9 MB / 1.192 GB, free: 7.465 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.Math.Functions.Examples.Round): time 0.001523/0.2331, allocations: 0.6147 MB / 1.192 GB, free: 6.852 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0002582/0.2334, allocations: 64.19 kB / 1.192 GB, free: 6.789 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.741e-05/0.2334, allocations: 3.938 kB / 1.192 GB, free: 6.785 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 1.833e-05/0.2334, allocations: 0 / 1.192 GB, free: 6.785 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 1.001e-05/0.2334, allocations: 7.938 kB / 1.192 GB, free: 6.777 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002641/0.2337, allocations: 15.98 kB / 1.192 GB, free: 6.762 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 5.025e-05/0.2337, allocations: 8 kB / 1.192 GB, free: 6.754 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 5.236e-05/0.2338, allocations: 7.922 kB / 1.192 GB, free: 6.746 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 1.876e-05/0.2338, allocations: 4 kB / 1.192 GB, free: 6.742 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 5.077e-05/0.2339, allocations: 11.98 kB / 1.192 GB, free: 6.73 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.095e-05/0.2339, allocations: 0 / 1.192 GB, free: 6.73 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 8.398e-05/0.2339, allocations: 15.98 kB / 1.192 GB, free: 6.715 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 1.495e-05/0.234, allocations: 0 / 1.192 GB, free: 6.715 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 2.136e-05/0.234, allocations: 11.92 kB / 1.192 GB, free: 6.703 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 9.312e-05/0.2341, allocations: 20.2 kB / 1.192 GB, free: 6.684 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.2341, allocations: 0 / 1.192 GB, free: 6.684 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.723e-06/0.2341, allocations: 0 / 1.192 GB, free: 6.684 MB / 0.823 GB Notification: Performance of Transformations before backend: time 7.093e-06/0.2341, allocations: 0 / 1.192 GB, free: 6.684 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.0005958/0.2347, allocations: 258.3 kB / 1.193 GB, free: 6.398 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.2347, allocations: 16.03 kB / 1.193 GB, free: 6.383 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.001e-05/0.2348, allocations: 30.75 kB / 1.193 GB, free: 6.344 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.562e-05/0.2348, allocations: 0.9375 kB / 1.193 GB, free: 6.344 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.074e-05/0.2348, allocations: 106.5 kB / 1.193 GB, free: 6.215 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.202e-05/0.2349, allocations: 4.359 kB / 1.193 GB, free: 6.211 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.558e-06/0.2349, allocations: 4.375 kB / 1.193 GB, free: 6.207 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001334/0.235, allocations: 78.47 kB / 1.193 GB, free: 6.109 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.235, allocations: 3.938 kB / 1.193 GB, free: 6.105 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.357e-06/0.235, allocations: 0 / 1.193 GB, free: 6.105 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.235, allocations: 0 / 1.193 GB, free: 6.105 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.221e-05/0.2351, allocations: 11.94 kB / 1.193 GB, free: 6.094 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001504/0.2352, allocations: 156.3 kB / 1.193 GB, free: 5.887 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 8.066e-05/0.2353, allocations: 93.02 kB / 1.193 GB, free: 5.75 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.161e-05/0.2353, allocations: 32.36 kB / 1.193 GB, free: 5.703 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001551/0.2355, allocations: 7.984 kB / 1.193 GB, free: 5.695 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.333e-05/0.2355, allocations: 42.5 kB / 1.193 GB, free: 5.645 MB / 0.823 GB Notification: Performance of pre-optimization done (n=5): time 9.82e-07/0.2355, allocations: 0 / 1.193 GB, free: 5.645 MB / 0.823 GB Notification: Performance of matching and sorting (n=5): time 0.0001667/0.2357, allocations: 77.97 kB / 1.193 GB, free: 5.562 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.761e-05/0.2357, allocations: 162.3 kB / 1.194 GB, free: 5.367 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.97e-05/0.2358, allocations: 93.86 kB / 1.194 GB, free: 5.266 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 9.428e-06/0.2358, allocations: 25.7 kB / 1.194 GB, free: 5.234 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 1.813e-05/0.2358, allocations: 80.14 kB / 1.194 GB, free: 5.152 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 3.424e-05/0.2358, allocations: 19.83 kB / 1.194 GB, free: 5.133 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.61e-05/0.2358, allocations: 21.7 kB / 1.194 GB, free: 5.105 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.445e-05/0.2359, allocations: 310.8 kB / 1.194 GB, free: 4.793 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.913e-05/0.2359, allocations: 15.88 kB / 1.194 GB, free: 4.777 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.77e-05/0.236, allocations: 36.28 kB / 1.194 GB, free: 4.727 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.774e-05/0.236, allocations: 52.23 kB / 1.194 GB, free: 4.66 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.236, allocations: 0 / 1.194 GB, free: 4.66 MB / 0.823 GB Notification: Performance of matching and sorting (n=5) (initialization): time 7.1e-05/0.2361, allocations: 65.67 kB / 1.194 GB, free: 4.59 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.2361, allocations: 4 kB / 1.194 GB, free: 4.586 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/0.2361, allocations: 11.94 kB / 1.194 GB, free: 4.574 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.2361, allocations: 0 / 1.194 GB, free: 4.574 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.337e-05/0.2362, allocations: 12.16 kB / 1.194 GB, free: 4.562 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.353e-06/0.2362, allocations: 7.938 kB / 1.194 GB, free: 4.555 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.816e-05/0.2362, allocations: 0 / 1.194 GB, free: 4.555 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.237e-06/0.2362, allocations: 7.984 kB / 1.194 GB, free: 4.547 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 6.119e-05/0.2363, allocations: 109.8 kB / 1.194 GB, free: 4.43 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.127e-06/0.2363, allocations: 7.953 kB / 1.194 GB, free: 4.422 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001583/0.2365, allocations: 108.4 kB / 1.194 GB, free: 4.312 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.808e-06/0.2365, allocations: 4 kB / 1.194 GB, free: 4.309 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.2365, allocations: 0 / 1.194 GB, free: 4.309 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.2365, allocations: 4 kB / 1.194 GB, free: 4.305 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001014/0.2366, allocations: 128.8 kB / 1.195 GB, free: 4.137 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.2366, allocations: 0 / 1.195 GB, free: 4.137 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.885e-05/0.2366, allocations: 16 kB / 1.195 GB, free: 4.121 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.2366, allocations: 0 / 1.195 GB, free: 4.121 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.059e-05/0.2366, allocations: 7.938 kB / 1.195 GB, free: 4.113 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.2366, allocations: 3.984 kB / 1.195 GB, free: 4.109 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.2366, allocations: 4.125 kB / 1.195 GB, free: 4.105 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001082/0.2368, allocations: 129.9 kB / 1.195 GB, free: 3.949 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 9.007e-06/0.2368, allocations: 7.938 kB / 1.195 GB, free: 3.941 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.796e-05/0.2368, allocations: 11.94 kB / 1.195 GB, free: 3.93 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.503e-05/0.2368, allocations: 4 kB / 1.195 GB, free: 3.926 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.743e-05/0.2368, allocations: 7.984 kB / 1.195 GB, free: 3.918 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.919e-06/0.2368, allocations: 4 kB / 1.195 GB, free: 3.914 MB / 0.823 GB Notification: Performance of sorting global known variables: time 2.05e-05/0.2368, allocations: 75.28 kB / 1.195 GB, free: 3.84 MB / 0.823 GB Notification: Performance of sort global known variables: time 4e-08/0.2368, allocations: 0 / 1.195 GB, free: 3.84 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001481/0.237, allocations: 8 kB / 1.195 GB, free: 3.832 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.0003369/0.2373, allocations: 0.6665 MB / 1.196 GB, free: 3.121 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0001013/0.2374, allocations: 39.86 kB / 1.196 GB, free: 3.082 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.2374, allocations: 0 / 1.196 GB, free: 3.082 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 2.294e-05/0.2375, allocations: 23.94 kB / 1.196 GB, free: 3.059 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001271/0.2376, allocations: 8 kB / 1.196 GB, free: 3.051 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003466/0.2379, allocations: 174.5 kB / 1.196 GB, free: 2.828 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.65e-05/0.238, allocations: 75.27 kB / 1.196 GB, free: 2.734 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 3.339e-05/0.238, allocations: 4 kB / 1.196 GB, free: 2.73 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.726e-05/0.238, allocations: 19.36 kB / 1.196 GB, free: 2.711 MB / 0.823 GB Notification: Performance of SimCode: time 6.42e-07/0.238, allocations: 0 / 1.196 GB, free: 2.711 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01862/0.2567, allocations: 1.926 MB / 1.198 GB, free: 0.9062 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.086/7.342, allocations: 11.45 kB / 1.198 GB, free: 0.8984 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AixLib_AixLib_Utilities_Math_Functions_Examples_Round_fmu --startTime=-2 --stopTime=2 --stepSize=0.0016 --timeout=50 --tolerance=1e-06 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.745820131152868] Failed to read output from testmodel.py, exit status != 0: 7.423479627817869 7.431961097 7.196051183 Calling exit ...