Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Sin.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.001192/0.001192, allocations: 105.2 kB / 19.74 MB, free: 2.012 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.001272/0.001272, allocations: 213.4 kB / 23.04 MB, free: 4.883 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.303/1.303, allocations: 230.6 MB / 256.8 MB, free: 7.742 MB / 206.1 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.8805/0.8805, allocations: 150 MB / 463.2 MB, free: 10.2 MB / 366.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.Validation.Sin,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Sin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Validation.Sin,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Sin",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.001879/0.001879, allocations: 68.33 kB / 0.6413 GB, free: 9.809 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1536/0.1555, allocations: 89.18 MB / 0.7284 GB, free: 0.707 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Sin): time 0.001723/0.1572, allocations: 0.6478 MB / 0.729 GB, free: 60 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001034/0.1582, allocations: 0.8393 MB / 0.7299 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.98e-05/0.1583, allocations: 4 kB / 0.7299 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.928e-05/0.1583, allocations: 0 / 0.7299 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.236e-05/0.1583, allocations: 3.938 kB / 0.7299 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001424/0.1585, allocations: 11.98 kB / 0.7299 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.402e-05/0.1585, allocations: 27.86 kB / 0.7299 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 6.65e-05/0.1586, allocations: 8 kB / 0.7299 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.449e-05/0.1587, allocations: 4 kB / 0.7299 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 3.545e-05/0.1587, allocations: 19.91 kB / 0.7299 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.919e-06/0.1587, allocations: 0 / 0.7299 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 3.371e-05/0.1587, allocations: 4 kB / 0.7299 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.213e-05/0.1587, allocations: 4 kB / 0.7299 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.38e-05/0.1588, allocations: 15.92 kB / 0.73 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 8.593e-05/0.1589, allocations: 24.19 kB / 0.73 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.89e-06/0.1589, allocations: 4 kB / 0.73 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of FrontEnd: time 9.52e-07/0.1589, allocations: 0 / 0.73 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.038e-06/0.1589, allocations: 0 / 0.73 GB, free: 15.08 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003869/0.1593, allocations: 258.3 kB / 0.7302 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.167e-05/0.1593, allocations: 8.031 kB / 0.7302 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.922e-05/0.1594, allocations: 38.69 kB / 0.7303 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.615e-05/0.1594, allocations: 4.938 kB / 0.7303 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000105/0.1595, allocations: 110.5 kB / 0.7304 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.109e-05/0.1595, allocations: 12.31 kB / 0.7304 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.602e-06/0.1596, allocations: 384 / 0.7304 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001523/0.1597, allocations: 46.25 kB / 0.7304 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.1597, allocations: 3.938 kB / 0.7304 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.105e-06/0.1597, allocations: 3.984 kB / 0.7305 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.426e-06/0.1597, allocations: 0 / 0.7305 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001486/0.1599, allocations: 31.97 kB / 0.7305 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002912/0.1602, allocations: 220 kB / 0.7307 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001199/0.1603, allocations: 42.5 kB / 0.7307 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.694e-05/0.1604, allocations: 20.91 kB / 0.7308 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.589e-05/0.1604, allocations: 0 / 0.7308 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.604e-05/0.1604, allocations: 42.5 kB / 0.7308 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 8.22e-07/0.1604, allocations: 0 / 0.7308 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0003198/0.1607, allocations: 85.67 kB / 0.7309 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.973e-05/0.1608, allocations: 55.41 kB / 0.7309 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.848e-05/0.1609, allocations: 97.84 kB / 0.731 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.339e-05/0.1609, allocations: 25.7 kB / 0.731 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.523e-05/0.1609, allocations: 88.14 kB / 0.7311 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.592e-05/0.1609, allocations: 7.891 kB / 0.7311 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.69e-05/0.161, allocations: 9.719 kB / 0.7311 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001381/0.1611, allocations: 322.8 kB / 0.7315 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.405e-05/0.1612, allocations: 11.98 kB / 0.7315 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.372e-05/0.1612, allocations: 20.02 kB / 0.7315 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001448/0.1614, allocations: 40.81 kB / 0.7315 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.1614, allocations: 3.938 kB / 0.7315 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001855/0.1616, allocations: 65.61 kB / 0.7316 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/0.1616, allocations: 5.875 kB / 0.7316 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.477e-06/0.1616, allocations: 0 / 0.7316 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.869e-06/0.1616, allocations: 4.094 kB / 0.7316 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.572e-05/0.1617, allocations: 11.98 kB / 0.7316 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.476e-06/0.1617, allocations: 0 / 0.7316 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.21e-05/0.1617, allocations: 7.984 kB / 0.7316 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.907e-06/0.1617, allocations: 0 / 0.7316 GB, free: 13.21 MB / 0.5606 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 (2): * Single equations (assignments): 2 * 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.421e-05/0.1618, allocations: 113.8 kB / 0.7317 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.439e-05/0.1618, allocations: 8.141 kB / 0.7317 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002093/0.162, allocations: 76.91 kB / 0.7318 GB, free: 13 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.99e-06/0.162, allocations: 7.922 kB / 0.7318 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/0.1621, allocations: 0 / 0.7318 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.1621, allocations: 3.984 kB / 0.7318 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001478/0.1622, allocations: 124.7 kB / 0.7319 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1622, allocations: 0 / 0.7319 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.679e-05/0.1623, allocations: 11.98 kB / 0.732 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.1623, allocations: 0 / 0.732 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.899e-06/0.1623, allocations: 0 / 0.732 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.1623, allocations: 0 / 0.732 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1623, allocations: 0 / 0.732 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002405/0.1625, allocations: 167.5 kB / 0.7321 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.855e-06/0.1625, allocations: 4 kB / 0.7321 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.167e-06/0.1625, allocations: 0 / 0.7321 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.288e-05/0.1626, allocations: 11.92 kB / 0.7321 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.411e-05/0.1626, allocations: 0 / 0.7321 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.795e-06/0.1626, allocations: 0 / 0.7321 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.272e-05/0.1627, allocations: 87.27 kB / 0.7322 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.1627, allocations: 3.938 kB / 0.7322 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002024/0.1629, allocations: 8.031 kB / 0.7322 GB, free: 12.52 MB / 0.5606 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 (2): * Single equations (assignments): 2 * 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.0005209/0.1634, allocations: 0.6968 MB / 0.7329 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002001/0.1636, allocations: 39.89 kB / 0.7329 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.1636, allocations: 0 / 0.7329 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 8.254e-05/0.1637, allocations: 24.08 kB / 0.733 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002448/0.1639, allocations: 0 / 0.733 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003786/0.1643, allocations: 142.3 kB / 0.7331 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.127e-05/0.1644, allocations: 63.34 kB / 0.7332 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.679e-05/0.1644, allocations: 0 / 0.7332 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.001e-05/0.1644, allocations: 11.44 kB / 0.7332 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of SimCode: time 3.51e-07/0.1644, allocations: 0 / 0.7332 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02658/0.191, allocations: 1.812 MB / 0.7349 GB, free: 9.785 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.879/10.07, allocations: 6.625 kB / 0.7349 GB, free: 9.781 MB / 0.5606 GB " [Timeout remaining time 650] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Sin.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Sin.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Sin_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Sin.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Sin.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.440350763034075] Failed to read output from testmodel.py, exit status != 0: 10.172611622838303 10.199631558 10.035884263 Calling exit ...