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.00177/0.00177, allocations: 118.8 kB / 17.84 MB, free: 5.234 MB / 14.72 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.002109/0.002109, allocations: 202.3 kB / 20.79 MB, free: 2.297 MB / 14.72 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 1.549/1.549, allocations: 230.6 MB / 254.2 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] 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 1.036/1.036, allocations: 150 MB / 460.2 MB, free: 5.254 MB / 350.1 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.Round,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_Round",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.001983/0.001983, allocations: 68.72 kB / 0.6368 GB, free: 30.5 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1699/0.1719, allocations: 89.14 MB / 0.7239 GB, free: 3.996 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.Round): time 0.00214/0.1741, allocations: 0.5963 MB / 0.7245 GB, free: 3.402 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0003558/0.1744, allocations: 67.77 kB / 0.7245 GB, free: 3.336 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.286e-05/0.1744, allocations: 0 / 0.7245 GB, free: 3.336 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.846e-05/0.1745, allocations: 3.938 kB / 0.7245 GB, free: 3.332 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 8.857e-06/0.1745, allocations: 0 / 0.7245 GB, free: 3.332 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002844/0.1748, allocations: 23.97 kB / 0.7246 GB, free: 3.309 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.133e-05/0.1748, allocations: 19.92 kB / 0.7246 GB, free: 3.289 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.445e-05/0.1749, allocations: 416 / 0.7246 GB, free: 3.289 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.527e-05/0.1749, allocations: 4 kB / 0.7246 GB, free: 3.285 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.301e-05/0.175, allocations: 15.91 kB / 0.7246 GB, free: 3.27 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.341e-05/0.175, allocations: 0 / 0.7246 GB, free: 3.27 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 8.718e-05/0.1751, allocations: 12 kB / 0.7246 GB, free: 3.258 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.438e-05/0.1751, allocations: 3.984 kB / 0.7246 GB, free: 3.254 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.963e-05/0.1751, allocations: 11.94 kB / 0.7246 GB, free: 3.242 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001176/0.1752, allocations: 16.19 kB / 0.7246 GB, free: 3.227 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.1752, allocations: 4 kB / 0.7246 GB, free: 3.223 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.773e-06/0.1752, allocations: 0 / 0.7246 GB, free: 3.223 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.512e-06/0.1752, allocations: 4 kB / 0.7247 GB, free: 3.219 MB / 0.5294 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.0004852/0.1757, allocations: 327.5 kB / 0.725 GB, free: 2.848 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.1758, allocations: 8.031 kB / 0.725 GB, free: 2.84 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.428e-05/0.1758, allocations: 192 / 0.725 GB, free: 2.84 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.501e-05/0.1758, allocations: 34.75 kB / 0.725 GB, free: 2.797 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.783e-05/0.1758, allocations: 12.83 kB / 0.725 GB, free: 2.785 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000121/0.176, allocations: 164.4 kB / 0.7252 GB, free: 2.586 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.241e-06/0.176, allocations: 384 / 0.7252 GB, free: 2.586 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.622e-05/0.176, allocations: 12.25 kB / 0.7252 GB, free: 2.574 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000152/0.1761, allocations: 74.28 kB / 0.7253 GB, free: 2.48 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.1761, allocations: 0 / 0.7253 GB, free: 2.48 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.947e-06/0.1762, allocations: 0 / 0.7253 GB, free: 2.48 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.1762, allocations: 0 / 0.7253 GB, free: 2.48 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.133e-05/0.1762, allocations: 19.94 kB / 0.7253 GB, free: 2.461 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002138/0.1764, allocations: 185.1 kB / 0.7255 GB, free: 2.219 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001244/0.1765, allocations: 93.11 kB / 0.7255 GB, free: 2.082 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.935e-05/0.1766, allocations: 34.3 kB / 0.7256 GB, free: 2.035 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002062/0.1768, allocations: 85.05 kB / 0.7257 GB, free: 1.934 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.878e-05/0.1768, allocations: 50.48 kB / 0.7257 GB, free: 1.875 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=5): time 1.243e-06/0.1768, allocations: 0 / 0.7257 GB, free: 1.875 MB / 0.5294 GB Notification: Performance of matching and sorting (n=5): time 0.0002145/0.1771, allocations: 69.56 kB / 0.7258 GB, free: 1.801 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001069/0.1772, allocations: 158.2 kB / 0.7259 GB, free: 1.609 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.845e-05/0.1772, allocations: 90.48 kB / 0.726 GB, free: 1.508 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.764e-05/0.1772, allocations: 25.7 kB / 0.726 GB, free: 1.477 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.829e-05/0.1773, allocations: 88.14 kB / 0.7261 GB, free: 1.387 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.643e-05/0.1773, allocations: 23.81 kB / 0.7261 GB, free: 1.363 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.498e-05/0.1774, allocations: 13.72 kB / 0.7262 GB, free: 1.344 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001417/0.1775, allocations: 314.8 kB / 0.7265 GB, free: 1.027 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.145e-05/0.1775, allocations: 7.984 kB / 0.7265 GB, free: 1.02 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.812e-05/0.1776, allocations: 36.3 kB / 0.7265 GB, free: 0.9688 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.823e-05/0.1776, allocations: 56.22 kB / 0.7265 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.1776, allocations: 0 / 0.7265 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000111/0.1778, allocations: 69.61 kB / 0.7266 GB, free: 0.8242 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.1778, allocations: 7.938 kB / 0.7266 GB, free: 0.8164 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.1778, allocations: 0 / 0.7266 GB, free: 0.8164 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.1778, allocations: 4 kB / 0.7266 GB, free: 0.8125 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.71e-05/0.1779, allocations: 11.98 kB / 0.7266 GB, free: 0.8008 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.1779, allocations: 0 / 0.7266 GB, free: 0.8008 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.139e-05/0.1779, allocations: 4 kB / 0.7266 GB, free: 0.7969 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.873e-06/0.1779, allocations: 0 / 0.7266 GB, free: 0.7969 MB / 0.5294 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 9.082e-05/0.178, allocations: 117.8 kB / 0.7268 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.638e-05/0.178, allocations: 12 kB / 0.7268 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001943/0.1782, allocations: 96.66 kB / 0.7269 GB, free: 0.5625 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.1782, allocations: 0 / 0.7269 GB, free: 0.5625 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.1782, allocations: 7.938 kB / 0.7269 GB, free: 0.5547 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.1782, allocations: 160 / 0.7269 GB, free: 0.5547 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001661/0.1784, allocations: 169.6 kB / 0.727 GB, free: 348 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.1784, allocations: 7.938 kB / 0.727 GB, free: 340 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.048e-05/0.1785, allocations: 16.12 kB / 0.727 GB, free: 324 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.399e-06/0.1785, allocations: 7.875 kB / 0.7271 GB, free: 316 kB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.311e-05/0.1785, allocations: 8 kB / 0.7271 GB, free: 308 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.1785, allocations: 0 / 0.7271 GB, free: 308 kB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.1785, allocations: 4 kB / 0.7271 GB, free: 304 kB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001603/0.1786, allocations: 124.5 kB / 0.7272 GB, free: 148 kB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.157e-05/0.1787, allocations: 85.05 kB / 0.7273 GB, free: 44 kB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.633e-05/0.1787, allocations: 7.938 kB / 0.7273 GB, free: 36 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.876e-05/0.1787, allocations: 0 / 0.7273 GB, free: 36 kB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.765e-05/0.1788, allocations: 11.98 kB / 0.7273 GB, free: 24 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.207e-06/0.1788, allocations: 4 kB / 0.7273 GB, free: 20 kB / 0.5294 GB Notification: Performance of sorting global known variables: time 7.477e-05/0.1788, allocations: 75.28 kB / 0.7274 GB, free: 15.95 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.01e-07/0.1788, allocations: 4 kB / 0.7274 GB, free: 15.94 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002082/0.1791, allocations: 8 kB / 0.7274 GB, free: 15.93 MB / 0.545 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.0005565/0.1796, allocations: 0.6664 MB / 0.728 GB, free: 15.22 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001327/0.1797, allocations: 31.92 kB / 0.7281 GB, free: 15.19 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.1797, allocations: 0 / 0.7281 GB, free: 15.19 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 3.839e-05/0.1798, allocations: 28.36 kB / 0.7281 GB, free: 15.16 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001587/0.1799, allocations: 8.188 kB / 0.7281 GB, free: 15.16 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004455/0.1804, allocations: 181.9 kB / 0.7283 GB, free: 14.93 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003353/0.1807, allocations: 0.6807 MB / 0.7289 GB, free: 14.22 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.618e-05/0.1808, allocations: 8 kB / 0.7289 GB, free: 14.21 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.648e-05/0.1808, allocations: 11.62 kB / 0.7289 GB, free: 14.2 MB / 0.545 GB Notification: Performance of SimCode: time 3.01e-07/0.1808, allocations: 0 / 0.7289 GB, free: 14.2 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01742/0.1982, allocations: 1.472 MB / 0.7304 GB, free: 12.83 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.163/8.361, allocations: 14.88 kB / 0.7304 GB, free: 12.82 MB / 0.545 GB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_Round_fmu --startTime=-2 --stopTime=2 --stepSize=0.0016 --timeout=50 --tolerance=1e-06 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: 12.453649367031176] Failed to read output from testmodel.py, exit status != 0: 8.49174711696105 8.519545795 8.339723021 Calling exit ...