Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001363/0.001363, allocations: 72.5 kB / 19.92 MB, free: 4.633 MB / 18.57 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.001382/0.001382, allocations: 173.9 kB / 23.21 MB, free: 1.355 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.9109/0.9109, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.5785/0.5785, allocations: 114 MB / 373.9 MB, free: 8.711 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.Utilities.Math.Functions.Examples.Round,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_Round",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.Round,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_Round",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 0.5542 GB, free: 2.723 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.065e-05/2.21e-05, allocations: 2.281 kB / 0.5542 GB, free: 2.719 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.Round): time 0.00125/0.001272, allocations: 0.5973 MB / 0.5548 GB, free: 2.129 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.000199/0.001471, allocations: 59.72 kB / 0.5549 GB, free: 2.07 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.619e-05/0.001487, allocations: 0 / 0.5549 GB, free: 2.07 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 1.483e-05/0.001502, allocations: 0 / 0.5549 GB, free: 2.07 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 7.344e-06/0.001509, allocations: 0 / 0.5549 GB, free: 2.07 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002336/0.001743, allocations: 27.84 kB / 0.5549 GB, free: 2.043 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 4.442e-05/0.001787, allocations: 8 kB / 0.5549 GB, free: 2.035 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 3.902e-05/0.001826, allocations: 0 / 0.5549 GB, free: 2.035 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 3.464e-05/0.001861, allocations: 11.98 kB / 0.5549 GB, free: 2.023 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 4.357e-05/0.001904, allocations: 11.98 kB / 0.5549 GB, free: 2.012 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.3e-05/0.001917, allocations: 4 kB / 0.555 GB, free: 2.008 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 6.234e-05/0.00198, allocations: 7.984 kB / 0.555 GB, free: 2 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 1.433e-05/0.001994, allocations: 4 kB / 0.555 GB, free: 1.996 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 1.48e-05/0.002009, allocations: 7.938 kB / 0.555 GB, free: 1.988 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 7.666e-05/0.002085, allocations: 19.95 kB / 0.555 GB, free: 1.969 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.763e-06/0.002087, allocations: 0 / 0.555 GB, free: 1.969 MB / 0.5105 GB Notification: Performance of FrontEnd: time 9.02e-07/0.002088, allocations: 0 / 0.555 GB, free: 1.969 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.787e-06/0.002092, allocations: 0 / 0.555 GB, free: 1.969 MB / 0.5105 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.0002763/0.002368, allocations: 246.4 kB / 0.5552 GB, free: 1.695 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.002407, allocations: 16.62 kB / 0.5552 GB, free: 1.68 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.986e-05/0.002437, allocations: 38.73 kB / 0.5553 GB, free: 1.633 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.276e-05/0.00246, allocations: 4.938 kB / 0.5553 GB, free: 1.629 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.601e-05/0.002516, allocations: 109.7 kB / 0.5554 GB, free: 1.496 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.428e-06/0.002525, allocations: 4.312 kB / 0.5554 GB, free: 1.492 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.194e-06/0.002532, allocations: 384 / 0.5554 GB, free: 1.492 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001023/0.002635, allocations: 70.55 kB / 0.5555 GB, free: 1.402 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.002643, allocations: 192 / 0.5555 GB, free: 1.402 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.997e-06/0.002652, allocations: 4.375 kB / 0.5555 GB, free: 1.398 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.002658, allocations: 12.05 kB / 0.5555 GB, free: 1.387 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.973e-05/0.002688, allocations: 19.92 kB / 0.5555 GB, free: 1.367 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001293/0.002817, allocations: 148.3 kB / 0.5556 GB, free: 1.168 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 6.749e-05/0.002885, allocations: 93.03 kB / 0.5557 GB, free: 1.031 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.025e-05/0.002915, allocations: 36.36 kB / 0.5558 GB, free: 0.9805 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001251/0.00304, allocations: 11.98 kB / 0.5558 GB, free: 0.9688 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.984e-05/0.00306, allocations: 38.56 kB / 0.5558 GB, free: 0.9219 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=5): time 7.31e-07/0.003061, allocations: 4 kB / 0.5558 GB, free: 0.918 MB / 0.5105 GB Notification: Performance of matching and sorting (n=5): time 0.0001451/0.003206, allocations: 70.08 kB / 0.5559 GB, free: 0.8438 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.655e-05/0.003262, allocations: 174.1 kB / 0.556 GB, free: 0.6367 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.607e-05/0.003288, allocations: 89.86 kB / 0.5561 GB, free: 0.5391 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.058e-05/0.003299, allocations: 29.7 kB / 0.5562 GB, free: 0.5039 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001335/0.003433, allocations: 80.14 kB / 0.5562 GB, free: 432 kB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.954e-05/0.003462, allocations: 15.89 kB / 0.5562 GB, free: 416 kB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.344e-05/0.003486, allocations: 17.72 kB / 0.5563 GB, free: 392 kB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 6.761e-05/0.003553, allocations: 314.8 kB / 0.5566 GB, free: 68 kB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.291e-05/0.003566, allocations: 4 kB / 0.5566 GB, free: 64 kB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.265e-05/0.003589, allocations: 36.3 kB / 0.5566 GB, free: 12 kB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.205e-05/0.003651, allocations: 52.27 kB / 0.5567 GB, free: 15.94 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.003652, allocations: 0 / 0.5567 GB, free: 15.94 MB / 0.5261 GB Notification: Performance of matching and sorting (n=5) (initialization): time 6.358e-05/0.003716, allocations: 65.52 kB / 0.5567 GB, free: 15.88 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.003728, allocations: 10.34 kB / 0.5567 GB, free: 15.87 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.179e-06/0.003733, allocations: 0 / 0.5567 GB, free: 15.87 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.003747, allocations: 160 / 0.5567 GB, free: 15.87 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.843e-05/0.003805, allocations: 15.98 kB / 0.5567 GB, free: 15.85 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.003814, allocations: 11.88 kB / 0.5568 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.531e-05/0.003829, allocations: 0 / 0.5568 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.612e-06/0.003836, allocations: 4 kB / 0.5568 GB, free: 15.84 MB / 0.5261 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.114e-05/0.003887, allocations: 113.8 kB / 0.5569 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.967e-06/0.003896, allocations: 7.938 kB / 0.5569 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001301/0.004026, allocations: 104.6 kB / 0.557 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.004029, allocations: 0 / 0.557 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.004035, allocations: 7.938 kB / 0.557 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.004038, allocations: 3.984 kB / 0.557 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.936e-05/0.004118, allocations: 128.8 kB / 0.5571 GB, free: 15.42 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.004119, allocations: 4 kB / 0.5571 GB, free: 15.42 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.897e-05/0.004148, allocations: 15.98 kB / 0.5571 GB, free: 15.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-06/0.00415, allocations: 3.938 kB / 0.5571 GB, free: 15.4 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.843e-06/0.004156, allocations: 4 kB / 0.5571 GB, free: 15.39 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-06/0.004158, allocations: 0 / 0.5571 GB, free: 15.39 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.00416, allocations: 16.03 kB / 0.5571 GB, free: 15.38 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.493e-05/0.004245, allocations: 120.4 kB / 0.5573 GB, free: 15.23 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 5.09e-06/0.00425, allocations: 4 kB / 0.5573 GB, free: 15.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.045e-05/0.004261, allocations: 8 kB / 0.5573 GB, free: 15.22 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.374e-05/0.004274, allocations: 3.938 kB / 0.5573 GB, free: 15.21 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.545e-05/0.00429, allocations: 11.92 kB / 0.5573 GB, free: 15.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.058e-06/0.004294, allocations: 4 kB / 0.5573 GB, free: 15.2 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 1.975e-05/0.004314, allocations: 79.28 kB / 0.5574 GB, free: 15.12 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4e-08/0.004314, allocations: 0 / 0.5574 GB, free: 15.12 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001354/0.004449, allocations: 8 kB / 0.5574 GB, free: 15.11 MB / 0.5261 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.0002707/0.00472, allocations: 0.6547 MB / 0.558 GB, free: 14.41 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 9.392e-05/0.004814, allocations: 39.86 kB / 0.5581 GB, free: 14.38 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.004816, allocations: 0 / 0.5581 GB, free: 14.38 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 2.075e-05/0.004836, allocations: 27.92 kB / 0.5581 GB, free: 14.35 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00011/0.004946, allocations: 4.625 kB / 0.5581 GB, free: 14.34 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002778/0.005224, allocations: 181.8 kB / 0.5583 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.71e-05/0.005261, allocations: 67.34 kB / 0.5583 GB, free: 14.03 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 2.519e-05/0.005286, allocations: 8 kB / 0.5583 GB, free: 14.02 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.792e-05/0.005314, allocations: 16.5 kB / 0.5583 GB, free: 14 MB / 0.5261 GB Notification: Performance of SimCode: time 3.01e-07/0.005315, allocations: 4 kB / 0.5583 GB, free: 14 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01548/0.0208, allocations: 2.051 MB / 0.5604 GB, free: 12.08 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.086/7.107, allocations: 10.23 kB / 0.5604 GB, free: 12.07 MB / 0.5261 GB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Round.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Round.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Round.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Round.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.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 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_Round.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Round.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.746941748075187] Failed to read output from testmodel.py, exit status != 0: 7.187297100201249 7.195955513 7.192167862 Calling exit ...