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.001124/0.001124, allocations: 102.9 kB / 16.45 MB, free: 6.449 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.001317/0.001317, allocations: 212.9 kB / 19.43 MB, free: 3.637 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.327/1.327, allocations: 230.6 MB / 252.8 MB, free: 8.957 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002346/0.002346, allocations: 290.2 kB / 309.1 MB, free: 3.961 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.139/1.139, allocations: 180.9 MB / 0.5333 GB, free: 13.79 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 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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.002599/0.002599, allocations: 109.5 kB / 0.7343 GB, free: 28.56 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1434/0.146, allocations: 95.34 MB / 0.8274 GB, free: 9.902 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.002449/0.1485, allocations: 1.477 MB / 0.8288 GB, free: 8.414 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001011/0.1495, allocations: 0.5666 MB / 0.8294 GB, free: 7.844 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.98e-05/0.1495, allocations: 3.938 kB / 0.8294 GB, free: 7.84 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.034e-05/0.1496, allocations: 0 / 0.8294 GB, free: 7.84 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002209/0.1498, allocations: 27.86 kB / 0.8294 GB, free: 7.812 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001455/0.1499, allocations: 31.91 kB / 0.8294 GB, free: 7.781 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 8.986e-05/0.15, allocations: 55.77 kB / 0.8295 GB, free: 7.727 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 8.054e-05/0.1501, allocations: 11.94 kB / 0.8295 GB, free: 7.715 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000121/0.1502, allocations: 23.92 kB / 0.8295 GB, free: 7.691 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 7.124e-05/0.1503, allocations: 27.89 kB / 0.8295 GB, free: 7.664 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.428e-05/0.1503, allocations: 4 kB / 0.8295 GB, free: 7.66 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 4.815e-05/0.1503, allocations: 16 kB / 0.8296 GB, free: 7.645 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.212e-05/0.1504, allocations: 11.92 kB / 0.8296 GB, free: 7.633 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.791e-05/0.1504, allocations: 19.92 kB / 0.8296 GB, free: 7.613 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001121/0.1505, allocations: 47.88 kB / 0.8296 GB, free: 7.566 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.1505, allocations: 0 / 0.8296 GB, free: 7.566 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.603e-06/0.1505, allocations: 0 / 0.8296 GB, free: 7.566 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.588e-06/0.1505, allocations: 0 / 0.8296 GB, free: 7.566 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.0005618/0.1511, allocations: 359.3 kB / 0.83 GB, free: 7.168 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.1511, allocations: 12.03 kB / 0.83 GB, free: 7.156 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.092e-05/0.1512, allocations: 30.75 kB / 0.83 GB, free: 7.117 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001483/0.1513, allocations: 16.92 kB / 0.83 GB, free: 7.102 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000138/0.1515, allocations: 164.4 kB / 0.8302 GB, free: 6.902 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.863e-05/0.1515, allocations: 12.36 kB / 0.8302 GB, free: 6.891 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.748e-06/0.1515, allocations: 384 / 0.8302 GB, free: 6.891 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001203/0.1516, allocations: 69.7 kB / 0.8303 GB, free: 6.816 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.1516, allocations: 0 / 0.8303 GB, free: 6.816 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.177e-06/0.1516, allocations: 4 kB / 0.8303 GB, free: 6.812 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.1516, allocations: 3.938 kB / 0.8303 GB, free: 6.809 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.943e-05/0.1517, allocations: 27.92 kB / 0.8303 GB, free: 6.781 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003695/0.1521, allocations: 280.7 kB / 0.8306 GB, free: 6.457 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002143/0.1523, allocations: 62.61 kB / 0.8306 GB, free: 6.387 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.688e-05/0.1523, allocations: 20.84 kB / 0.8306 GB, free: 6.363 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.384e-05/0.1523, allocations: 4 kB / 0.8307 GB, free: 6.359 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001931/0.1525, allocations: 67.39 kB / 0.8307 GB, free: 6.281 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=6): time 1.122e-06/0.1525, allocations: 0 / 0.8307 GB, free: 6.281 MB / 0.5762 GB Notification: Performance of matching and sorting (n=6): time 0.000258/0.1528, allocations: 97.59 kB / 0.8308 GB, free: 6.18 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.407e-05/0.1528, allocations: 51.41 kB / 0.8309 GB, free: 6.117 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.778e-05/0.1529, allocations: 101.9 kB / 0.831 GB, free: 6.008 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.102e-05/0.1529, allocations: 29.7 kB / 0.831 GB, free: 5.973 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.797e-05/0.153, allocations: 88.08 kB / 0.8311 GB, free: 5.883 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.33e-05/0.153, allocations: 15.91 kB / 0.8311 GB, free: 5.867 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.38e-05/0.1531, allocations: 25.7 kB / 0.8311 GB, free: 5.836 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001294/0.1532, allocations: 314.8 kB / 0.8314 GB, free: 5.52 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.19e-05/0.1532, allocations: 15.98 kB / 0.8314 GB, free: 5.504 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.613e-05/0.1533, allocations: 16.06 kB / 0.8314 GB, free: 5.488 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.737e-05/0.1533, allocations: 44.98 kB / 0.8315 GB, free: 5.441 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.1533, allocations: 0 / 0.8315 GB, free: 5.441 MB / 0.5762 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001251/0.1535, allocations: 77.58 kB / 0.8316 GB, free: 5.359 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.1535, allocations: 4 kB / 0.8316 GB, free: 5.355 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.1535, allocations: 0 / 0.8316 GB, free: 5.355 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.1535, allocations: 4 kB / 0.8316 GB, free: 5.352 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.511e-05/0.1536, allocations: 11.98 kB / 0.8316 GB, free: 5.34 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.1536, allocations: 0 / 0.8316 GB, free: 5.34 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.155e-05/0.1536, allocations: 4 kB / 0.8316 GB, free: 5.336 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.081e-05/0.1537, allocations: 4 kB / 0.8316 GB, free: 5.332 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 8.701e-05/0.1537, allocations: 117.8 kB / 0.8317 GB, free: 5.207 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.435e-05/0.1538, allocations: 4 kB / 0.8317 GB, free: 5.203 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002059/0.154, allocations: 109.5 kB / 0.8318 GB, free: 5.086 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.154, allocations: 4 kB / 0.8318 GB, free: 5.082 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.154, allocations: 0 / 0.8318 GB, free: 5.082 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.154, allocations: 0 / 0.8318 GB, free: 5.082 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000153/0.1541, allocations: 185.8 kB / 0.832 GB, free: 4.852 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.1541, allocations: 7.938 kB / 0.832 GB, free: 4.844 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.355e-05/0.1542, allocations: 16.03 kB / 0.832 GB, free: 4.828 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.1542, allocations: 3.938 kB / 0.832 GB, free: 4.824 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.163e-05/0.1542, allocations: 4 kB / 0.832 GB, free: 4.82 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.1542, allocations: 0 / 0.832 GB, free: 4.82 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.1542, allocations: 0 / 0.832 GB, free: 4.82 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001764/0.1544, allocations: 125 kB / 0.8321 GB, free: 4.68 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 4.72e-05/0.1544, allocations: 85.05 kB / 0.8322 GB, free: 4.578 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.691e-05/0.1544, allocations: 0 / 0.8322 GB, free: 4.578 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.066e-05/0.1545, allocations: 4 kB / 0.8322 GB, free: 4.574 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.607e-05/0.1545, allocations: 11.98 kB / 0.8322 GB, free: 4.562 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.089e-05/0.1546, allocations: 0 / 0.8322 GB, free: 4.562 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 5.45e-05/0.1546, allocations: 91.45 kB / 0.8323 GB, free: 4.473 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1546, allocations: 4 kB / 0.8323 GB, free: 4.469 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0001856/0.1548, allocations: 8 kB / 0.8323 GB, free: 4.461 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.0005123/0.1553, allocations: 0.6592 MB / 0.833 GB, free: 3.773 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001366/0.1554, allocations: 47.92 kB / 0.833 GB, free: 3.727 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.1555, allocations: 0 / 0.833 GB, free: 3.727 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 6.439e-05/0.1555, allocations: 31.92 kB / 0.833 GB, free: 3.695 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001493/0.1557, allocations: 10.06 kB / 0.8331 GB, free: 3.688 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001218/0.1569, allocations: 1.219 MB / 0.8342 GB, free: 2.387 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003055/0.1572, allocations: 0.6846 MB / 0.8349 GB, free: 1.676 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 3.792e-05/0.1572, allocations: 4 kB / 0.8349 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.89e-05/0.1573, allocations: 19.42 kB / 0.8349 GB, free: 1.656 MB / 0.5762 GB Notification: Performance of SimCode: time 3e-07/0.1573, allocations: 4 kB / 0.8349 GB, free: 1.652 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02415/0.1814, allocations: 1.687 MB / 0.8366 GB, free: 156 kB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.307/7.488, allocations: 5.781 kB / 0.8366 GB, free: 152 kB / 0.5762 GB " [Timeout remaining time 652] (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: 11.242043253965676] Failed to read output from testmodel.py, exit status != 0: 7.549910955131054 7.563486499 7.41032866 Calling exit ...