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.001643/0.001643, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.002293/0.002293, allocations: 216.7 kB / 23.01 MB, free: 4.566 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.426/1.426, allocations: 230.6 MB / 256.8 MB, free: 8.031 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.002582/0.002582, allocations: 289.7 kB / 313.5 MB, free: 2.832 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.207/1.207, allocations: 180.6 MB / 0.5377 GB, free: 13.04 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: translateModel(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime") translateModel(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime") [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.002893/0.002893, allocations: 96.98 kB / 0.7408 GB, free: 28.03 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1898/0.1927, allocations: 95.38 MB / 0.834 GB, free: 8.168 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.002911/0.1956, allocations: 1.492 MB / 0.8354 GB, free: 6.664 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001067/0.1967, allocations: 0.5665 MB / 0.836 GB, free: 6.094 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.597e-05/0.1967, allocations: 0 / 0.836 GB, free: 6.094 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.086e-05/0.1967, allocations: 11.92 kB / 0.836 GB, free: 6.082 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002341/0.197, allocations: 23.86 kB / 0.836 GB, free: 6.059 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.000154/0.1971, allocations: 35.89 kB / 0.836 GB, free: 6.023 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001045/0.1972, allocations: 55.78 kB / 0.8361 GB, free: 5.969 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.1973, allocations: 7.938 kB / 0.8361 GB, free: 5.961 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001465/0.1975, allocations: 27.97 kB / 0.8361 GB, free: 5.934 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 9.429e-05/0.1976, allocations: 27.91 kB / 0.8362 GB, free: 5.906 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.59e-05/0.1976, allocations: 4 kB / 0.8362 GB, free: 5.902 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 5.074e-05/0.1976, allocations: 12 kB / 0.8362 GB, free: 5.891 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.807e-05/0.1977, allocations: 7.938 kB / 0.8362 GB, free: 5.883 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 4.88e-05/0.1977, allocations: 27.91 kB / 0.8362 GB, free: 5.855 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000133/0.1978, allocations: 43.81 kB / 0.8362 GB, free: 5.812 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.1978, allocations: 0 / 0.8362 GB, free: 5.812 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.843e-06/0.1978, allocations: 4 kB / 0.8362 GB, free: 5.809 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.1978, allocations: 0 / 0.8362 GB, free: 5.809 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.0006143/0.1985, allocations: 290.2 kB / 0.8365 GB, free: 5.496 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.1985, allocations: 8.75 kB / 0.8365 GB, free: 5.488 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001681/0.1987, allocations: 8.938 kB / 0.8365 GB, free: 5.48 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001373/0.1988, allocations: 118.5 kB / 0.8367 GB, free: 5.34 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.584e-05/0.1988, allocations: 384 / 0.8367 GB, free: 5.34 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.501e-05/0.1988, allocations: 8.375 kB / 0.8367 GB, free: 5.332 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001333/0.199, allocations: 61.92 kB / 0.8367 GB, free: 5.266 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.507e-06/0.199, allocations: 3.938 kB / 0.8367 GB, free: 5.262 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.199, allocations: 0 / 0.8367 GB, free: 5.262 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.199, allocations: 4 kB / 0.8367 GB, free: 5.258 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.438e-05/0.1991, allocations: 27.92 kB / 0.8368 GB, free: 5.23 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004099/0.1995, allocations: 251.8 kB / 0.837 GB, free: 4.941 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002132/0.1997, allocations: 58.69 kB / 0.8371 GB, free: 4.875 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.501e-05/0.1997, allocations: 20.84 kB / 0.8371 GB, free: 4.852 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.586e-05/0.1997, allocations: 11.92 kB / 0.8371 GB, free: 4.84 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001882/0.1999, allocations: 67.38 kB / 0.8371 GB, free: 4.762 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=6): time 1.202e-06/0.1999, allocations: 0 / 0.8371 GB, free: 4.762 MB / 0.5762 GB Notification: Performance of matching and sorting (n=6): time 0.0002663/0.2002, allocations: 89.67 kB / 0.8372 GB, free: 4.668 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.862e-05/0.2002, allocations: 51.41 kB / 0.8373 GB, free: 4.605 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.456e-05/0.2003, allocations: 105.8 kB / 0.8374 GB, free: 4.492 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.106e-05/0.2004, allocations: 33.64 kB / 0.8374 GB, free: 4.453 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.139e-05/0.2004, allocations: 88.09 kB / 0.8375 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.035e-05/0.2004, allocations: 19.97 kB / 0.8375 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.008e-05/0.2005, allocations: 21.7 kB / 0.8375 GB, free: 4.316 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001618/0.2007, allocations: 318.8 kB / 0.8378 GB, free: 3.996 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.653e-05/0.2007, allocations: 11.98 kB / 0.8379 GB, free: 3.984 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.973e-05/0.2007, allocations: 16 kB / 0.8379 GB, free: 3.969 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.553e-05/0.2008, allocations: 40.84 kB / 0.8379 GB, free: 3.926 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.2008, allocations: 0 / 0.8379 GB, free: 3.926 MB / 0.5762 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001212/0.2009, allocations: 69.89 kB / 0.838 GB, free: 3.852 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.2009, allocations: 8 kB / 0.838 GB, free: 3.844 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.2009, allocations: 0 / 0.838 GB, free: 3.844 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/0.201, allocations: 8 kB / 0.838 GB, free: 3.836 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.665e-05/0.201, allocations: 15.92 kB / 0.838 GB, free: 3.82 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.201, allocations: 0 / 0.838 GB, free: 3.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.081e-05/0.2011, allocations: 0 / 0.838 GB, free: 3.82 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.068e-05/0.2011, allocations: 7.984 kB / 0.838 GB, free: 3.812 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 0.0001057/0.2012, allocations: 118.4 kB / 0.8381 GB, free: 3.688 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.187e-05/0.2012, allocations: 0 / 0.8381 GB, free: 3.688 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002175/0.2014, allocations: 113.6 kB / 0.8382 GB, free: 3.562 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.2014, allocations: 0 / 0.8382 GB, free: 3.562 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.2014, allocations: 96 / 0.8382 GB, free: 3.562 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.2015, allocations: 3.938 kB / 0.8382 GB, free: 3.559 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001501/0.2016, allocations: 164.5 kB / 0.8384 GB, free: 3.355 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.2016, allocations: 0 / 0.8384 GB, free: 3.355 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.023e-05/0.2017, allocations: 8 kB / 0.8384 GB, free: 3.348 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.704e-06/0.2017, allocations: 0 / 0.8384 GB, free: 3.348 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.233e-05/0.2017, allocations: 4 kB / 0.8384 GB, free: 3.344 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.2017, allocations: 4 kB / 0.8384 GB, free: 3.34 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.2017, allocations: 7.984 kB / 0.8384 GB, free: 3.332 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001888/0.2019, allocations: 117 kB / 0.8385 GB, free: 3.199 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.454e-05/0.2019, allocations: 7.953 kB / 0.8385 GB, free: 3.191 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.698e-05/0.2019, allocations: 0 / 0.8385 GB, free: 3.191 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.497e-05/0.202, allocations: 4 kB / 0.8385 GB, free: 3.188 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.842e-05/0.202, allocations: 11.92 kB / 0.8386 GB, free: 3.176 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.344e-05/0.202, allocations: 4 kB / 0.8386 GB, free: 3.172 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 6.174e-05/0.2021, allocations: 91.27 kB / 0.8386 GB, free: 3.082 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.2021, allocations: 0 / 0.8386 GB, free: 3.082 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0001932/0.2023, allocations: 8 kB / 0.8387 GB, free: 3.074 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.000115/0.2024, allocations: 99.25 kB / 0.8387 GB, free: 2.969 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001478/0.2025, allocations: 52.08 kB / 0.8388 GB, free: 2.918 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.2025, allocations: 0 / 0.8388 GB, free: 2.918 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 6.118e-05/0.2026, allocations: 28 kB / 0.8388 GB, free: 2.891 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001482/0.2027, allocations: 4 kB / 0.8388 GB, free: 2.887 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003591/0.2031, allocations: 171.3 kB / 0.839 GB, free: 2.688 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003242/0.2034, allocations: 0.6891 MB / 0.8397 GB, free: 1.973 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.953e-05/0.2035, allocations: 11.44 kB / 0.8397 GB, free: 1.965 MB / 0.5762 GB Notification: Performance of SimCode: time 3.31e-07/0.2035, allocations: 288 / 0.8397 GB, free: 1.965 MB / 0.5762 GB Notification: Performance of Templates: time 0.002572/0.206, allocations: 0.839 MB / 0.8405 GB, free: 1.133 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.makefile [Timeout 660] (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 & ./BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.25523684779182] Failed to read output from testmodel.py, exit status != 0: 0.21361620095558465 0.228712723 0.027927883 Calling exit ...