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.0008051/0.0008051, 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.0009029/0.0009029, allocations: 222.3 kB / 22.26 MB, free: 3.688 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.984/0.984, allocations: 230.6 MB / 256 MB, free: 9.789 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.03854/0.03854, 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.0005278/0.0005278, allocations: 31.94 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.784/1.784, allocations: 353.8 MB / 0.7787 GB, free: 3.105 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.001486/0.001486, allocations: 119.7 kB / 1.06 GB, free: 24.96 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2362/0.2376, allocations: 134.9 MB / 1.192 GB, free: 7.844 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.Math.Functions.Examples.Round): time 0.001407/0.2391, allocations: 0.6165 MB / 1.192 GB, free: 7.23 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0002503/0.2393, allocations: 76.09 kB / 1.192 GB, free: 7.156 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.956e-05/0.2393, allocations: 7.875 kB / 1.192 GB, free: 7.148 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 1.436e-05/0.2393, allocations: 4 kB / 1.192 GB, free: 7.145 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 8.146e-06/0.2393, allocations: 0 / 1.192 GB, free: 7.145 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002754/0.2396, allocations: 23.92 kB / 1.193 GB, free: 7.121 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 6.096e-05/0.2397, allocations: 4 kB / 1.193 GB, free: 7.117 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 4.366e-05/0.2397, allocations: 0 / 1.193 GB, free: 7.117 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 2.392e-05/0.2397, allocations: 15.97 kB / 1.193 GB, free: 7.102 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 6.198e-05/0.2398, allocations: 7.938 kB / 1.193 GB, free: 7.094 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.112e-05/0.2398, allocations: 0 / 1.193 GB, free: 7.094 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 8.192e-05/0.2399, allocations: 15.98 kB / 1.193 GB, free: 7.078 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 1.084e-05/0.2399, allocations: 4 kB / 1.193 GB, free: 7.074 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 2.015e-05/0.2399, allocations: 3.984 kB / 1.193 GB, free: 7.07 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 9.095e-05/0.24, allocations: 24.19 kB / 1.193 GB, free: 7.047 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.24, allocations: 0 / 1.193 GB, free: 7.047 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.573e-06/0.24, allocations: 4 kB / 1.193 GB, free: 7.043 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.24, allocations: 0 / 1.193 GB, free: 7.043 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.0002767/0.2403, allocations: 250.3 kB / 1.193 GB, free: 6.766 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.2404, allocations: 12.03 kB / 1.193 GB, free: 6.754 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.999e-05/0.2404, allocations: 30.75 kB / 1.193 GB, free: 6.715 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.226e-05/0.2404, allocations: 0.9375 kB / 1.193 GB, free: 6.715 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.443e-05/0.2405, allocations: 102.5 kB / 1.193 GB, free: 6.59 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.321e-05/0.2405, allocations: 12.31 kB / 1.193 GB, free: 6.578 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.052e-05/0.2405, allocations: 384 / 1.193 GB, free: 6.578 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001215/0.2406, allocations: 74.53 kB / 1.193 GB, free: 6.484 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.2406, allocations: 3.938 kB / 1.193 GB, free: 6.48 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.656e-06/0.2406, allocations: 0 / 1.193 GB, free: 6.48 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.2406, allocations: 4 kB / 1.193 GB, free: 6.477 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.779e-05/0.2407, allocations: 7.938 kB / 1.193 GB, free: 6.469 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001304/0.2408, allocations: 160.2 kB / 1.193 GB, free: 6.258 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 7.179e-05/0.2409, allocations: 97.09 kB / 1.193 GB, free: 6.117 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.958e-05/0.2409, allocations: 32.36 kB / 1.193 GB, free: 6.07 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001418/0.241, allocations: 15.91 kB / 1.193 GB, free: 6.055 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.198e-05/0.241, allocations: 38.5 kB / 1.193 GB, free: 6.008 MB / 0.823 GB Notification: Performance of pre-optimization done (n=5): time 1.252e-06/0.241, allocations: 4 kB / 1.193 GB, free: 6.004 MB / 0.823 GB Notification: Performance of matching and sorting (n=5): time 0.0001569/0.2412, allocations: 73.45 kB / 1.193 GB, free: 5.926 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.789e-05/0.2413, allocations: 166.2 kB / 1.194 GB, free: 5.727 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.859e-05/0.2413, allocations: 93.84 kB / 1.194 GB, free: 5.625 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 9.698e-06/0.2413, allocations: 25.7 kB / 1.194 GB, free: 5.594 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 1.859e-05/0.2413, allocations: 80.77 kB / 1.194 GB, free: 5.512 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 3.42e-05/0.2414, allocations: 15.84 kB / 1.194 GB, free: 5.496 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.474e-05/0.2414, allocations: 21.72 kB / 1.194 GB, free: 5.469 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.665e-05/0.2415, allocations: 314.8 kB / 1.194 GB, free: 5.152 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.896e-05/0.2415, allocations: 11.94 kB / 1.194 GB, free: 5.141 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.588e-05/0.2415, allocations: 28.3 kB / 1.194 GB, free: 5.098 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.928e-05/0.2416, allocations: 56.22 kB / 1.194 GB, free: 5.027 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.2416, allocations: 0 / 1.194 GB, free: 5.027 MB / 0.823 GB Notification: Performance of matching and sorting (n=5) (initialization): time 7.466e-05/0.2416, allocations: 61.56 kB / 1.194 GB, free: 4.961 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.2417, allocations: 8 kB / 1.194 GB, free: 4.953 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.555e-06/0.2417, allocations: 8.094 kB / 1.194 GB, free: 4.945 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.2417, allocations: 4 kB / 1.194 GB, free: 4.941 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.781e-05/0.2418, allocations: 11.98 kB / 1.194 GB, free: 4.93 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.2418, allocations: 0 / 1.194 GB, free: 4.93 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.838e-05/0.2418, allocations: 0 / 1.194 GB, free: 4.93 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.113e-06/0.2418, allocations: 4 kB / 1.194 GB, free: 4.926 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.539e-05/0.2418, allocations: 117.8 kB / 1.194 GB, free: 4.801 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.316e-05/0.2419, allocations: 7.938 kB / 1.194 GB, free: 4.793 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000164/0.242, allocations: 108.6 kB / 1.195 GB, free: 4.684 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-06/0.242, allocations: 0 / 1.195 GB, free: 4.684 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.242, allocations: 4 kB / 1.195 GB, free: 4.68 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.242, allocations: 3.984 kB / 1.195 GB, free: 4.676 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001057/0.2421, allocations: 128.8 kB / 1.195 GB, free: 4.508 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.2421, allocations: 0 / 1.195 GB, free: 4.508 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.925e-05/0.2422, allocations: 24.09 kB / 1.195 GB, free: 4.484 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.2422, allocations: 0 / 1.195 GB, free: 4.484 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.086e-05/0.2422, allocations: 11.94 kB / 1.195 GB, free: 4.473 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.2422, allocations: 3.984 kB / 1.195 GB, free: 4.469 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.2422, allocations: 4 kB / 1.195 GB, free: 4.465 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001159/0.2423, allocations: 121.9 kB / 1.195 GB, free: 4.316 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.054e-06/0.2423, allocations: 7.875 kB / 1.195 GB, free: 4.309 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.864e-05/0.2423, allocations: 15.92 kB / 1.195 GB, free: 4.293 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.574e-05/0.2424, allocations: 0 / 1.195 GB, free: 4.293 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.137e-05/0.2424, allocations: 7.984 kB / 1.195 GB, free: 4.285 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.52e-06/0.2424, allocations: 4 kB / 1.195 GB, free: 4.281 MB / 0.823 GB Notification: Performance of sorting global known variables: time 2.408e-05/0.2424, allocations: 75.28 kB / 1.195 GB, free: 4.207 MB / 0.823 GB Notification: Performance of sort global known variables: time 5e-08/0.2424, allocations: 4 kB / 1.195 GB, free: 4.203 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001581/0.2426, allocations: 12 kB / 1.195 GB, free: 4.191 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.0004012/0.243, allocations: 0.6703 MB / 1.196 GB, free: 3.477 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0001163/0.2431, allocations: 35.92 kB / 1.196 GB, free: 3.441 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.2431, allocations: 0 / 1.196 GB, free: 3.441 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 2.18e-05/0.2431, allocations: 19.94 kB / 1.196 GB, free: 3.422 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001345/0.2432, allocations: 8 kB / 1.196 GB, free: 3.414 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004147/0.2437, allocations: 178.5 kB / 1.196 GB, free: 3.188 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000339/0.244, allocations: 0.6845 MB / 1.197 GB, free: 2.477 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 3.454e-05/0.244, allocations: 12 kB / 1.197 GB, free: 2.465 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.933e-05/0.2441, allocations: 15.42 kB / 1.197 GB, free: 2.449 MB / 0.823 GB Notification: Performance of SimCode: time 5.91e-07/0.2441, allocations: 0 / 1.197 GB, free: 2.449 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01664/0.2607, allocations: 1.573 MB / 1.198 GB, free: 1 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.481/6.742, allocations: 3.641 kB / 1.198 GB, free: 1 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.33347801771015] Failed to read output from testmodel.py, exit status != 0: 6.8208015421405435 6.83158646 6.589855522 Calling exit ...