Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.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.001873/0.001873, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001603/0.001603, allocations: 213.1 kB / 22.24 MB, free: 5.262 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.41/1.41, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002524/0.002524, allocations: 281.4 kB / 312.7 MB, free: 2.691 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.193/1.193, allocations: 180.6 MB / 0.5369 GB, free: 14.5 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.003014/0.003014, allocations: 106.3 kB / 0.7395 GB, free: 27.95 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1635/0.1665, allocations: 95.39 MB / 0.8327 GB, free: 8.316 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.002616/0.1691, allocations: 1.465 MB / 0.8341 GB, free: 6.84 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0009804/0.1701, allocations: 0.5237 MB / 0.8346 GB, free: 6.312 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.471e-05/0.1702, allocations: 0 / 0.8346 GB, free: 6.312 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.027e-05/0.1702, allocations: 3.984 kB / 0.8346 GB, free: 6.309 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002081/0.1704, allocations: 23.86 kB / 0.8346 GB, free: 6.285 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001516/0.1705, allocations: 39.89 kB / 0.8347 GB, free: 6.246 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 8.405e-05/0.1706, allocations: 47.84 kB / 0.8347 GB, free: 6.199 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 8.426e-05/0.1707, allocations: 7.938 kB / 0.8347 GB, free: 6.191 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001279/0.1708, allocations: 31.86 kB / 0.8347 GB, free: 6.16 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 7.59e-05/0.1709, allocations: 31.83 kB / 0.8348 GB, free: 6.129 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.562e-05/0.1709, allocations: 4 kB / 0.8348 GB, free: 6.125 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 4.615e-05/0.171, allocations: 8 kB / 0.8348 GB, free: 6.117 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.786e-05/0.171, allocations: 8 kB / 0.8348 GB, free: 6.109 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 4.31e-05/0.171, allocations: 23.91 kB / 0.8348 GB, free: 6.086 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001247/0.1712, allocations: 43.88 kB / 0.8349 GB, free: 6.043 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.636e-06/0.1712, allocations: 4 kB / 0.8349 GB, free: 6.039 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.332e-06/0.1712, allocations: 0 / 0.8349 GB, free: 6.039 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.1712, allocations: 0 / 0.8349 GB, free: 6.039 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005446/0.1717, allocations: 291.5 kB / 0.8351 GB, free: 5.727 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/0.1718, allocations: 13.94 kB / 0.8352 GB, free: 5.715 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.09e-05/0.1718, allocations: 30.75 kB / 0.8352 GB, free: 5.676 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001509/0.1719, allocations: 12.92 kB / 0.8352 GB, free: 5.664 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001287/0.1721, allocations: 122.5 kB / 0.8353 GB, free: 5.52 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.328e-05/0.1721, allocations: 4.375 kB / 0.8353 GB, free: 5.516 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.289e-05/0.1721, allocations: 4.375 kB / 0.8353 GB, free: 5.512 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001218/0.1722, allocations: 61.78 kB / 0.8354 GB, free: 5.445 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.1722, allocations: 3.984 kB / 0.8354 GB, free: 5.441 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.556e-06/0.1722, allocations: 0 / 0.8354 GB, free: 5.441 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.547e-06/0.1722, allocations: 0 / 0.8354 GB, free: 5.441 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.76e-05/0.1723, allocations: 23.98 kB / 0.8354 GB, free: 5.418 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003525/0.1727, allocations: 243.8 kB / 0.8356 GB, free: 5.137 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002159/0.1729, allocations: 62.62 kB / 0.8357 GB, free: 5.066 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.48e-05/0.1729, allocations: 24.84 kB / 0.8357 GB, free: 5.039 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.054e-05/0.1729, allocations: 0 / 0.8357 GB, free: 5.039 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001785/0.1731, allocations: 71.38 kB / 0.8358 GB, free: 4.957 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=6): time 1.122e-06/0.1731, allocations: 0 / 0.8358 GB, free: 4.957 MB / 0.5762 GB Notification: Performance of matching and sorting (n=6): time 0.0002368/0.1733, allocations: 89.61 kB / 0.8359 GB, free: 4.863 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.767e-05/0.1734, allocations: 55.41 kB / 0.8359 GB, free: 4.797 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.054e-05/0.1735, allocations: 101.8 kB / 0.836 GB, free: 4.688 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.271e-05/0.1735, allocations: 29.7 kB / 0.8361 GB, free: 4.652 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.346e-05/0.1736, allocations: 88.09 kB / 0.8361 GB, free: 4.562 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.479e-05/0.1736, allocations: 15.91 kB / 0.8362 GB, free: 4.547 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.071e-05/0.1736, allocations: 21.7 kB / 0.8362 GB, free: 4.52 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001431/0.1738, allocations: 318.8 kB / 0.8365 GB, free: 4.199 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.986e-05/0.1738, allocations: 16.23 kB / 0.8365 GB, free: 4.184 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.488e-05/0.1738, allocations: 16.06 kB / 0.8365 GB, free: 4.168 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.116e-05/0.1739, allocations: 48.92 kB / 0.8366 GB, free: 4.117 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.1739, allocations: 0 / 0.8366 GB, free: 4.117 MB / 0.5762 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001398/0.1741, allocations: 77.64 kB / 0.8366 GB, free: 4.035 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.1741, allocations: 5.719 kB / 0.8366 GB, free: 4.031 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.416e-06/0.1741, allocations: 3.938 kB / 0.8366 GB, free: 4.027 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/0.1741, allocations: 0 / 0.8366 GB, free: 4.027 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.572e-05/0.1742, allocations: 11.98 kB / 0.8366 GB, free: 4.016 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.1742, allocations: 4 kB / 0.8367 GB, free: 4.012 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.234e-05/0.1742, allocations: 7.938 kB / 0.8367 GB, free: 4.004 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.281e-05/0.1743, allocations: 7.984 kB / 0.8367 GB, free: 3.996 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (eqnTim.tNext,$PRE.eqnTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.485e-05/0.1743, allocations: 118.4 kB / 0.8368 GB, free: 3.871 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.393e-05/0.1744, allocations: 4 kB / 0.8368 GB, free: 3.867 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002092/0.1746, allocations: 105.7 kB / 0.8369 GB, free: 3.75 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.1746, allocations: 3.938 kB / 0.8369 GB, free: 3.746 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.1746, allocations: 0 / 0.8369 GB, free: 3.746 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.594e-06/0.1746, allocations: 0 / 0.8369 GB, free: 3.746 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001498/0.1747, allocations: 156.6 kB / 0.837 GB, free: 3.551 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.1747, allocations: 0 / 0.837 GB, free: 3.551 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.373e-05/0.1748, allocations: 11.98 kB / 0.8371 GB, free: 3.539 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.1748, allocations: 0 / 0.8371 GB, free: 3.539 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.1748, allocations: 0 / 0.8371 GB, free: 3.539 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.498e-06/0.1748, allocations: 4 kB / 0.8371 GB, free: 3.535 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.1748, allocations: 0 / 0.8371 GB, free: 3.535 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001879/0.175, allocations: 121.2 kB / 0.8372 GB, free: 3.398 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.673e-05/0.175, allocations: 11.94 kB / 0.8372 GB, free: 3.387 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.613e-05/0.175, allocations: 0 / 0.8372 GB, free: 3.387 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.98e-05/0.1751, allocations: 7.984 kB / 0.8372 GB, free: 3.379 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.489e-05/0.1751, allocations: 15.98 kB / 0.8372 GB, free: 3.363 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.04e-05/0.1751, allocations: 0 / 0.8372 GB, free: 3.363 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.701e-05/0.1752, allocations: 79.28 kB / 0.8373 GB, free: 3.285 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.1752, allocations: 0 / 0.8373 GB, free: 3.285 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0001903/0.1754, allocations: 16 kB / 0.8373 GB, free: 3.27 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,eqnTim.tNext) * Number of discrete states: 1 (eqnTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0004939/0.1759, allocations: 0.6593 MB / 0.8379 GB, free: 2.582 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001297/0.176, allocations: 43.92 kB / 0.838 GB, free: 2.539 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.176, allocations: 4 kB / 0.838 GB, free: 2.535 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 6.834e-05/0.1761, allocations: 27.92 kB / 0.838 GB, free: 2.508 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001503/0.1762, allocations: 14.84 kB / 0.838 GB, free: 2.496 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001232/0.1775, allocations: 1.223 MB / 0.8392 GB, free: 1.191 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.673e-05/0.1775, allocations: 67.34 kB / 0.8393 GB, free: 1.105 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 3.94e-05/0.1776, allocations: 4 kB / 0.8393 GB, free: 1.102 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.067e-05/0.1776, allocations: 19.42 kB / 0.8393 GB, free: 1.086 MB / 0.5762 GB Notification: Performance of SimCode: time 4.01e-07/0.1776, allocations: 4 kB / 0.8393 GB, free: 1.082 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0296/0.2072, allocations: 2.195 MB / 0.8415 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.32/11.53, allocations: 14 kB / 0.8415 GB, free: 15.04 MB / 0.5919 GB " [Timeout remaining time 648] (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.792497617192566] Failed to read output from testmodel.py, exit status != 0: 11.636401168070734 11.664762388 11.488521425 Calling exit ...