Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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.0008201/0.0008201, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0008172/0.0008172, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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.868/0.868, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7309/0.7309, allocations: 154.6 MB / 413.8 MB, free: 0.7852 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.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(IDEAS.Utilities.Math.Functions.Examples.Round,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_Round",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.Round,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_Round",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 0.6182 GB, free: 13.61 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.553e-05/1.712e-05, allocations: 2.281 kB / 0.6182 GB, free: 13.61 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Round): time 0.001582/0.001599, allocations: 0.6031 MB / 0.6187 GB, free: 13.01 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0002649/0.001864, allocations: 59.73 kB / 0.6188 GB, free: 12.95 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.998e-05/0.001884, allocations: 0 / 0.6188 GB, free: 12.95 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.719e-05/0.001902, allocations: 0 / 0.6188 GB, free: 12.95 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 8.445e-06/0.00191, allocations: 7.938 kB / 0.6188 GB, free: 12.94 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002722/0.002182, allocations: 23.91 kB / 0.6188 GB, free: 12.92 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 5.984e-05/0.002242, allocations: 15.92 kB / 0.6189 GB, free: 12.9 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.558e-05/0.002288, allocations: 0 / 0.6189 GB, free: 12.9 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 3.625e-05/0.002324, allocations: 11.98 kB / 0.6189 GB, free: 12.89 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 5.279e-05/0.002377, allocations: 7.984 kB / 0.6189 GB, free: 12.88 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.877e-05/0.002395, allocations: 0 / 0.6189 GB, free: 12.88 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 7.879e-05/0.002474, allocations: 11.98 kB / 0.6189 GB, free: 12.87 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.448e-05/0.002489, allocations: 0 / 0.6189 GB, free: 12.87 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.033e-05/0.002509, allocations: 7.984 kB / 0.6189 GB, free: 12.86 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001043/0.002613, allocations: 27.91 kB / 0.6189 GB, free: 12.84 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.002615, allocations: 0 / 0.6189 GB, free: 12.84 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.103e-06/0.002617, allocations: 0 / 0.6189 GB, free: 12.84 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.002621, allocations: 0 / 0.6189 GB, free: 12.84 MB / 0.5886 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.0003345/0.002956, allocations: 250.3 kB / 0.6192 GB, free: 12.56 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/0.003, allocations: 8.031 kB / 0.6192 GB, free: 12.55 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.788e-05/0.003038, allocations: 34.75 kB / 0.6192 GB, free: 12.51 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.899e-05/0.003067, allocations: 4.938 kB / 0.6192 GB, free: 12.5 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.912e-05/0.003136, allocations: 105.7 kB / 0.6193 GB, free: 12.38 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.392e-05/0.00315, allocations: 4.375 kB / 0.6193 GB, free: 12.37 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.697e-06/0.003159, allocations: 384 / 0.6193 GB, free: 12.37 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001376/0.003297, allocations: 74.53 kB / 0.6194 GB, free: 12.28 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.551e-05/0.003312, allocations: 8.125 kB / 0.6194 GB, free: 12.27 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.003322, allocations: 384 / 0.6194 GB, free: 12.27 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.794e-06/0.00333, allocations: 4.125 kB / 0.6194 GB, free: 12.27 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.186e-05/0.003372, allocations: 15.94 kB / 0.6194 GB, free: 12.25 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001824/0.003554, allocations: 152.3 kB / 0.6195 GB, free: 12.05 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 9.342e-05/0.003648, allocations: 89.08 kB / 0.6196 GB, free: 11.91 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.279e-05/0.00369, allocations: 40.28 kB / 0.6197 GB, free: 11.86 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001528/0.003843, allocations: 4 kB / 0.6197 GB, free: 11.86 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.851e-05/0.003872, allocations: 42.56 kB / 0.6197 GB, free: 11.8 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=5): time 1.192e-06/0.003873, allocations: 0 / 0.6197 GB, free: 11.8 MB / 0.5886 GB Notification: Performance of matching and sorting (n=5): time 0.0002051/0.004078, allocations: 77.44 kB / 0.6198 GB, free: 11.72 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.761e-05/0.004156, allocations: 162.2 kB / 0.6199 GB, free: 11.53 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.349e-05/0.004189, allocations: 89.86 kB / 0.62 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.475e-05/0.004204, allocations: 29.7 kB / 0.6201 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 2.447e-05/0.004228, allocations: 80.14 kB / 0.6201 GB, free: 11.31 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 5.816e-05/0.004286, allocations: 16.52 kB / 0.6202 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.736e-05/0.004324, allocations: 25.72 kB / 0.6202 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.038e-05/0.004414, allocations: 310.8 kB / 0.6205 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.81e-05/0.004432, allocations: 11.92 kB / 0.6205 GB, free: 10.94 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.124e-05/0.004464, allocations: 36.3 kB / 0.6205 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.194e-05/0.004525, allocations: 52.28 kB / 0.6206 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.004529, allocations: 4 kB / 0.6206 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.6e-05/0.004625, allocations: 69.56 kB / 0.6206 GB, free: 10.75 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.004639, allocations: 4 kB / 0.6206 GB, free: 10.74 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.273e-06/0.004646, allocations: 4 kB / 0.6206 GB, free: 10.74 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.004659, allocations: 0 / 0.6206 GB, free: 10.74 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.617e-05/0.004735, allocations: 11.98 kB / 0.6207 GB, free: 10.73 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/0.004745, allocations: 7.875 kB / 0.6207 GB, free: 10.72 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.704e-05/0.004772, allocations: 7.938 kB / 0.6207 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.248e-06/0.004781, allocations: 4 kB / 0.6207 GB, free: 10.71 MB / 0.5886 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 7.208e-05/0.004853, allocations: 111 kB / 0.6208 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.581e-05/0.004869, allocations: 11.95 kB / 0.6208 GB, free: 10.58 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001805/0.005049, allocations: 96.48 kB / 0.6209 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.005053, allocations: 4 kB / 0.6209 GB, free: 10.47 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.00506, allocations: 3.938 kB / 0.6209 GB, free: 10.47 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.005066, allocations: 4 kB / 0.6209 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001312/0.005197, allocations: 132.9 kB / 0.621 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.005198, allocations: 4 kB / 0.621 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.562e-05/0.005254, allocations: 15.98 kB / 0.621 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.549e-06/0.005258, allocations: 7.984 kB / 0.621 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.935e-06/0.005266, allocations: 0 / 0.621 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.579e-06/0.005271, allocations: 7.938 kB / 0.6211 GB, free: 10.26 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.698e-06/0.005281, allocations: 7.938 kB / 0.6211 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001246/0.005405, allocations: 120.5 kB / 0.6212 GB, free: 10.1 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 9.778e-06/0.005415, allocations: 11.92 kB / 0.6212 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.369e-05/0.005429, allocations: 4 kB / 0.6212 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.566e-05/0.005454, allocations: 8 kB / 0.6212 GB, free: 10.08 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.973e-05/0.005474, allocations: 11.92 kB / 0.6212 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.885e-06/0.005482, allocations: 4 kB / 0.6212 GB, free: 10.06 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.347e-05/0.005505, allocations: 75.28 kB / 0.6213 GB, free: 9.988 MB / 0.5886 GB Notification: Performance of sort global known variables: time 7e-08/0.005506, allocations: 0 / 0.6213 GB, free: 9.988 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002382/0.005744, allocations: 8 kB / 0.6213 GB, free: 9.98 MB / 0.5886 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.0003857/0.006129, allocations: 0.6587 MB / 0.6219 GB, free: 9.281 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001175/0.006247, allocations: 51.98 kB / 0.622 GB, free: 9.23 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.006249, allocations: 0 / 0.622 GB, free: 9.23 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 3.051e-05/0.006279, allocations: 19.94 kB / 0.622 GB, free: 9.211 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001769/0.006456, allocations: 13.86 kB / 0.622 GB, free: 9.199 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003975/0.006854, allocations: 170 kB / 0.6222 GB, free: 8.98 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.93e-05/0.006903, allocations: 63.34 kB / 0.6222 GB, free: 8.898 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 3.937e-05/0.006943, allocations: 12.67 kB / 0.6223 GB, free: 8.887 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.804e-05/0.006981, allocations: 16.5 kB / 0.6223 GB, free: 8.871 MB / 0.5886 GB Notification: Performance of SimCode: time 3.51e-07/0.006981, allocations: 0 / 0.6223 GB, free: 8.871 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01554/0.02252, allocations: 2.053 MB / 0.6243 GB, free: 6.941 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.912/6.935, allocations: 5.469 kB / 0.6243 GB, free: 6.941 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.Round.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.Round.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.Round.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.Round.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.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 IDEAS_IDEAS_Utilities_Math_Functions_Examples_Round.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.Round.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.736791562289] Failed to read output from testmodel.py, exit status != 0: 7.01341802533716 7.023814944 7.019521713 Calling exit ...