Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.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.001292/0.001292, allocations: 109.7 kB / 17.12 MB, free: 5.926 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.001462/0.001462, allocations: 204 kB / 20.09 MB, free: 2.977 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.601/1.601, allocations: 230.6 MB / 253.5 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 0.989/0.989, allocations: 150 MB / 459.5 MB, free: 5.328 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.Controls.OBC.CDL.Reals.Sources.Validation.Ramp,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Sources_Validation_Ramp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.Ramp,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Sources_Validation_Ramp",fmuType="me",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.002006/0.002006, allocations: 65.5 kB / 0.6362 GB, free: 30.45 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1711/0.1731, allocations: 89.13 MB / 0.7232 GB, free: 4.078 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.Ramp): time 0.001947/0.1751, allocations: 0.5932 MB / 0.7238 GB, free: 3.484 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001041/0.1761, allocations: 0.8125 MB / 0.7246 GB, free: 2.66 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.48e-05/0.1761, allocations: 0 / 0.7246 GB, free: 2.66 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.53e-05/0.1762, allocations: 7.938 kB / 0.7246 GB, free: 2.652 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.251e-05/0.1762, allocations: 0 / 0.7246 GB, free: 2.652 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 4.008e-05/0.1763, allocations: 4 kB / 0.7246 GB, free: 2.648 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.746e-05/0.1763, allocations: 23.92 kB / 0.7246 GB, free: 2.625 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 6.304e-05/0.1764, allocations: 4 kB / 0.7246 GB, free: 2.621 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 6.673e-05/0.1765, allocations: 11.94 kB / 0.7246 GB, free: 2.609 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.298e-05/0.1765, allocations: 3.984 kB / 0.7246 GB, free: 2.605 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.582e-05/0.1765, allocations: 4 kB / 0.7246 GB, free: 2.602 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 4.579e-06/0.1765, allocations: 0 / 0.7246 GB, free: 2.602 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.569e-05/0.1765, allocations: 4 kB / 0.7246 GB, free: 2.598 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.855e-05/0.1766, allocations: 15.91 kB / 0.7246 GB, free: 2.582 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 7.026e-05/0.1766, allocations: 8.266 kB / 0.7246 GB, free: 2.574 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.712e-06/0.1767, allocations: 4 kB / 0.7247 GB, free: 2.57 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.833e-06/0.1767, allocations: 0 / 0.7247 GB, free: 2.57 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.629e-06/0.1767, allocations: 4 kB / 0.7247 GB, free: 2.566 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004909/0.1772, allocations: 341.1 kB / 0.725 GB, free: 2.184 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.1772, allocations: 8.031 kB / 0.725 GB, free: 2.176 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.865e-05/0.1772, allocations: 30.75 kB / 0.725 GB, free: 2.137 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.927e-05/0.1772, allocations: 0.9375 kB / 0.725 GB, free: 2.137 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001407/0.1774, allocations: 176.2 kB / 0.7252 GB, free: 1.926 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.106e-05/0.1774, allocations: 384 / 0.7252 GB, free: 1.926 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.764e-06/0.1774, allocations: 384 / 0.7252 GB, free: 1.926 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001602/0.1776, allocations: 42.25 kB / 0.7252 GB, free: 1.879 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.1776, allocations: 3.938 kB / 0.7252 GB, free: 1.875 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.875e-06/0.1776, allocations: 0 / 0.7252 GB, free: 1.875 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.1776, allocations: 0 / 0.7252 GB, free: 1.875 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001527/0.1777, allocations: 35.95 kB / 0.7253 GB, free: 1.84 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001727/0.1779, allocations: 153.6 kB / 0.7254 GB, free: 1.641 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000116/0.178, allocations: 38.59 kB / 0.7255 GB, free: 1.594 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.422e-05/0.1781, allocations: 16.91 kB / 0.7255 GB, free: 1.574 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.222e-05/0.1781, allocations: 0 / 0.7255 GB, free: 1.574 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.815e-05/0.1782, allocations: 30.56 kB / 0.7255 GB, free: 1.535 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 8.81e-07/0.1782, allocations: 0 / 0.7255 GB, free: 1.535 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0003408/0.1785, allocations: 93.47 kB / 0.7256 GB, free: 1.434 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.867e-05/0.1785, allocations: 55.34 kB / 0.7256 GB, free: 1.367 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.104e-05/0.1786, allocations: 97.84 kB / 0.7257 GB, free: 1.262 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.605e-05/0.1787, allocations: 25.7 kB / 0.7258 GB, free: 1.23 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.86e-05/0.1787, allocations: 84.14 kB / 0.7258 GB, free: 1.145 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.319e-05/0.1787, allocations: 4 kB / 0.7258 GB, free: 1.141 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.322e-05/0.1788, allocations: 9.719 kB / 0.7258 GB, free: 1.125 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000162/0.1789, allocations: 315 kB / 0.7261 GB, free: 0.8086 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.786e-05/0.179, allocations: 15.98 kB / 0.7262 GB, free: 0.793 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.148e-05/0.1791, allocations: 19.97 kB / 0.7262 GB, free: 0.7734 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001563/0.1792, allocations: 32.83 kB / 0.7262 GB, free: 0.7383 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.1792, allocations: 0 / 0.7262 GB, free: 0.7383 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001961/0.1794, allocations: 65.67 kB / 0.7263 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/0.1795, allocations: 11.92 kB / 0.7263 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.1795, allocations: 0 / 0.7263 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.1795, allocations: 0 / 0.7263 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.057e-05/0.1796, allocations: 8.188 kB / 0.7263 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.1796, allocations: 3.984 kB / 0.7263 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.511e-05/0.1796, allocations: 7.984 kB / 0.7263 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.856e-06/0.1796, allocations: 4 kB / 0.7263 GB, free: 0.6328 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 1 * 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.443e-05/0.1797, allocations: 109.9 kB / 0.7264 GB, free: 0.5156 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.473e-05/0.1797, allocations: 11.88 kB / 0.7264 GB, free: 0.5039 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.707e-05/0.1798, allocations: 7.062 kB / 0.7264 GB, free: 0.5 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.1798, allocations: 4 kB / 0.7264 GB, free: 0.4961 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.1798, allocations: 3.984 kB / 0.7264 GB, free: 0.4922 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.894e-06/0.1798, allocations: 0 / 0.7264 GB, free: 0.4922 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001352/0.1799, allocations: 149.7 kB / 0.7266 GB, free: 304 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/0.1799, allocations: 4 kB / 0.7266 GB, free: 300 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.09e-05/0.18, allocations: 4 kB / 0.7266 GB, free: 296 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.546e-06/0.18, allocations: 7.938 kB / 0.7266 GB, free: 288 kB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-06/0.18, allocations: 3.984 kB / 0.7266 GB, free: 284 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.18, allocations: 0 / 0.7266 GB, free: 284 kB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.18, allocations: 0 / 0.7266 GB, free: 284 kB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000225/0.1802, allocations: 85.05 kB / 0.7267 GB, free: 180 kB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 6.391e-05/0.1803, allocations: 85.09 kB / 0.7268 GB, free: 76 kB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.609e-05/0.1803, allocations: 7.969 kB / 0.7268 GB, free: 68 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.576e-05/0.1803, allocations: 4 kB / 0.7268 GB, free: 64 kB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.262e-05/0.1804, allocations: 3.984 kB / 0.7268 GB, free: 60 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.385e-06/0.1804, allocations: 0 / 0.7268 GB, free: 60 kB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.53e-05/0.1804, allocations: 79.28 kB / 0.7269 GB, free: 15.98 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.1804, allocations: 0 / 0.7269 GB, free: 15.98 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001778/0.1806, allocations: 4 kB / 0.7269 GB, free: 15.98 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 1 * 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.0006572/0.1813, allocations: 0.6279 MB / 0.7275 GB, free: 15.32 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002258/0.1815, allocations: 27.97 kB / 0.7275 GB, free: 15.29 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/0.1815, allocations: 4.094 kB / 0.7275 GB, free: 15.29 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.678e-05/0.1816, allocations: 19.97 kB / 0.7275 GB, free: 15.27 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002524/0.1819, allocations: 1.562 kB / 0.7275 GB, free: 15.27 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004457/0.1823, allocations: 131.5 kB / 0.7277 GB, free: 15.1 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003425/0.1826, allocations: 0.6729 MB / 0.7283 GB, free: 14.4 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.333e-05/0.1827, allocations: 0 / 0.7283 GB, free: 14.4 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.187e-05/0.1827, allocations: 19.42 kB / 0.7283 GB, free: 14.39 MB / 0.545 GB Notification: Performance of SimCode: time 4.71e-07/0.1827, allocations: 4.062 kB / 0.7283 GB, free: 14.38 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02484/0.2075, allocations: 1.219 MB / 0.7295 GB, free: 13.29 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.932/8.139, allocations: 8.344 kB / 0.7295 GB, free: 13.28 MB / 0.545 GB " [Timeout remaining time 652] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.Ramp_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Sources_Validation_Ramp.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.23627305100672] Failed to read output from testmodel.py, exit status != 0: 8.21129760099575 8.23964942 8.05882045 Calling exit ...