Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.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.001884/0.001884, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002134/0.002134, allocations: 217.1 kB / 22.25 MB, free: 4.852 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.46/1.46, allocations: 230.6 MB / 256 MB, free: 7.789 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.002538/0.002538, allocations: 294.2 kB / 312.7 MB, free: 2.613 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.221/1.221, allocations: 180.6 MB / 0.5369 GB, free: 14.6 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.SolarTime,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime",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.00294/0.00294, allocations: 104.6 kB / 0.7395 GB, free: 28.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1864/0.1894, allocations: 95.38 MB / 0.8326 GB, free: 8.34 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.003113/0.1925, allocations: 1.609 MB / 0.8342 GB, free: 6.719 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001193/0.1937, allocations: 0.5588 MB / 0.8348 GB, free: 6.156 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.524e-05/0.1937, allocations: 4 kB / 0.8348 GB, free: 6.152 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.612e-05/0.1938, allocations: 3.938 kB / 0.8348 GB, free: 6.148 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002729/0.1941, allocations: 39.7 kB / 0.8348 GB, free: 6.109 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001988/0.1943, allocations: 47.89 kB / 0.8349 GB, free: 6.062 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001547/0.1944, allocations: 111.6 kB / 0.835 GB, free: 5.953 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001149/0.1945, allocations: 19.92 kB / 0.835 GB, free: 5.934 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001704/0.1947, allocations: 51.84 kB / 0.835 GB, free: 5.883 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001157/0.1948, allocations: 47.81 kB / 0.8351 GB, free: 5.836 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.391e-05/0.1948, allocations: 8 kB / 0.8351 GB, free: 5.828 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 6.126e-05/0.1949, allocations: 19.92 kB / 0.8351 GB, free: 5.809 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 3.954e-05/0.1949, allocations: 23.92 kB / 0.8351 GB, free: 5.785 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 5.89e-05/0.195, allocations: 35.84 kB / 0.8352 GB, free: 5.75 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001846/0.1952, allocations: 111.5 kB / 0.8353 GB, free: 5.641 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.1952, allocations: 0 / 0.8353 GB, free: 5.641 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.794e-06/0.1952, allocations: 0 / 0.8353 GB, free: 5.641 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.1952, allocations: 0 / 0.8353 GB, free: 5.641 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.000727/0.1959, allocations: 329.9 kB / 0.8356 GB, free: 5.289 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.441e-05/0.196, allocations: 13.94 kB / 0.8356 GB, free: 5.277 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.316e-05/0.196, allocations: 34.75 kB / 0.8356 GB, free: 5.234 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001695/0.1962, allocations: 24.88 kB / 0.8357 GB, free: 5.211 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001501/0.1963, allocations: 130.4 kB / 0.8358 GB, free: 5.059 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.723e-05/0.1963, allocations: 384 / 0.8358 GB, free: 5.059 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.986e-05/0.1964, allocations: 4.375 kB / 0.8358 GB, free: 5.055 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001914/0.1966, allocations: 93.77 kB / 0.8359 GB, free: 4.957 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.1966, allocations: 3.984 kB / 0.8359 GB, free: 4.953 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/0.1966, allocations: 0 / 0.8359 GB, free: 4.953 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.1966, allocations: 0 / 0.8359 GB, free: 4.953 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000114/0.1967, allocations: 47.97 kB / 0.8359 GB, free: 4.906 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005439/0.1972, allocations: 299.7 kB / 0.8362 GB, free: 4.57 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003187/0.1976, allocations: 106.7 kB / 0.8363 GB, free: 4.457 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.033e-05/0.1976, allocations: 36.84 kB / 0.8363 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.009e-05/0.1977, allocations: 0 / 0.8363 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002724/0.1979, allocations: 103.2 kB / 0.8364 GB, free: 4.305 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=11): time 1.493e-06/0.1979, allocations: 0 / 0.8364 GB, free: 4.305 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11): time 0.0003904/0.1983, allocations: 149.5 kB / 0.8366 GB, free: 4.152 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.73e-05/0.1984, allocations: 51.41 kB / 0.8366 GB, free: 4.09 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001313/0.1985, allocations: 134.2 kB / 0.8368 GB, free: 3.949 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.818e-05/0.1985, allocations: 29.7 kB / 0.8368 GB, free: 3.914 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.364e-05/0.1986, allocations: 92.38 kB / 0.8369 GB, free: 3.816 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.451e-05/0.1986, allocations: 35.83 kB / 0.8369 GB, free: 3.781 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.462e-05/0.1987, allocations: 29.7 kB / 0.8369 GB, free: 3.746 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001632/0.1989, allocations: 318.8 kB / 0.8372 GB, free: 3.426 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.333e-05/0.1989, allocations: 31.92 kB / 0.8373 GB, free: 3.395 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.24e-05/0.199, allocations: 34.61 kB / 0.8373 GB, free: 3.363 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001185/0.1991, allocations: 60.84 kB / 0.8374 GB, free: 3.301 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.562e-06/0.1991, allocations: 0 / 0.8374 GB, free: 3.301 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001909/0.1993, allocations: 109.6 kB / 0.8375 GB, free: 3.188 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.1993, allocations: 6.188 kB / 0.8375 GB, free: 3.184 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.1993, allocations: 4 kB / 0.8375 GB, free: 3.18 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.1993, allocations: 7.938 kB / 0.8375 GB, free: 3.172 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001079/0.1994, allocations: 19.98 kB / 0.8375 GB, free: 3.152 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.264e-05/0.1994, allocations: 7.984 kB / 0.8375 GB, free: 3.145 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001031/0.1995, allocations: 15.86 kB / 0.8375 GB, free: 3.129 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.099e-05/0.1996, allocations: 0 / 0.8375 GB, free: 3.129 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: 6 (eqnTim.tNext,$PRE.eqnTim.tNext,locTim.tNext,$PRE.locTim.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001063/0.1997, allocations: 126.9 kB / 0.8377 GB, free: 2.996 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.388e-05/0.1997, allocations: 7.953 kB / 0.8377 GB, free: 2.988 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002893/0.2, allocations: 147.1 kB / 0.8378 GB, free: 2.832 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.2, allocations: 4 kB / 0.8378 GB, free: 2.828 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.2, allocations: 4 kB / 0.8378 GB, free: 2.824 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.112e-06/0.2, allocations: 3.938 kB / 0.8378 GB, free: 2.82 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001879/0.2002, allocations: 172.7 kB / 0.838 GB, free: 2.609 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.2002, allocations: 0 / 0.838 GB, free: 2.609 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.399e-05/0.2003, allocations: 19.94 kB / 0.838 GB, free: 2.59 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.2003, allocations: 0 / 0.838 GB, free: 2.59 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.608e-05/0.2003, allocations: 4 kB / 0.838 GB, free: 2.586 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.2003, allocations: 3.984 kB / 0.838 GB, free: 2.582 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.2003, allocations: 0 / 0.838 GB, free: 2.582 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002549/0.2005, allocations: 163.9 kB / 0.8382 GB, free: 2.406 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.289e-05/0.2006, allocations: 19.89 kB / 0.8382 GB, free: 2.387 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.592e-05/0.2006, allocations: 4 kB / 0.8382 GB, free: 2.383 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001019/0.2007, allocations: 11.98 kB / 0.8382 GB, free: 2.371 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.725e-05/0.2008, allocations: 11.92 kB / 0.8382 GB, free: 2.359 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.88e-05/0.2008, allocations: 7.984 kB / 0.8382 GB, free: 2.352 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 7.751e-05/0.2008, allocations: 107.1 kB / 0.8383 GB, free: 2.246 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.2008, allocations: 0 / 0.8383 GB, free: 2.246 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000204/0.2011, allocations: 24 kB / 0.8383 GB, free: 2.223 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: 4 ($whenCondition2,$whenCondition1,locTim.tNext,eqnTim.tNext) * Number of discrete states: 2 (locTim.tNext,eqnTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0005728/0.2016, allocations: 0.6905 MB / 0.839 GB, free: 1.504 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002177/0.2018, allocations: 91.89 kB / 0.8391 GB, free: 1.414 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.2018, allocations: 0 / 0.8391 GB, free: 1.414 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 9.03e-05/0.2019, allocations: 43.92 kB / 0.8391 GB, free: 1.371 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001676/0.2021, allocations: 11.94 kB / 0.8392 GB, free: 1.359 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001613/0.2037, allocations: 1.464 MB / 0.8406 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.365e-05/0.2038, allocations: 83.31 kB / 0.8407 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 6.723e-05/0.2039, allocations: 16.48 kB / 0.8407 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.783e-05/0.2039, allocations: 31.61 kB / 0.8407 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of SimCode: time 5.31e-07/0.2039, allocations: 0 / 0.8407 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02914/0.2331, allocations: 2.844 MB / 0.8435 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.32/11.55, allocations: 15.17 kB / 0.8435 GB, free: 12.97 MB / 0.5919 GB " [Timeout remaining time 648] (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime_res.csv --start-time 0 --stop-time 864000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 345.6 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.892649170942605] Failed to read output from testmodel.py, exit status != 0: 11.655547631904483 11.68464813 11.484112537 Calling exit ...