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.001254/0.001254, allocations: 110.1 kB / 19.73 MB, free: 2.242 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.001487/0.001487, allocations: 218.2 kB / 23.05 MB, free: 5.074 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.409/1.409, allocations: 230.6 MB / 256.8 MB, free: 7.996 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.002396/0.002396, allocations: 286.5 kB / 313.5 MB, free: 2.82 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.196/1.196, allocations: 180.6 MB / 0.5377 GB, free: 12.95 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime",fmuType="cs",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.002836/0.002836, allocations: 106.2 kB / 0.7404 GB, free: 28.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1774/0.1802, allocations: 95.38 MB / 0.8335 GB, free: 8.688 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.002896/0.1831, allocations: 1.638 MB / 0.8351 GB, free: 7.035 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001146/0.1843, allocations: 0.6132 MB / 0.8357 GB, free: 6.418 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.825e-05/0.1843, allocations: 0 / 0.8357 GB, free: 6.418 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.372e-05/0.1843, allocations: 11.92 kB / 0.8357 GB, free: 6.406 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002573/0.1846, allocations: 39.72 kB / 0.8358 GB, free: 6.367 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001703/0.1848, allocations: 51.88 kB / 0.8358 GB, free: 6.316 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001538/0.1849, allocations: 111.6 kB / 0.8359 GB, free: 6.207 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001142/0.185, allocations: 15.92 kB / 0.8359 GB, free: 6.191 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001725/0.1852, allocations: 51.84 kB / 0.836 GB, free: 6.141 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001463/0.1854, allocations: 55.81 kB / 0.836 GB, free: 6.086 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.294e-05/0.1854, allocations: 8 kB / 0.836 GB, free: 6.078 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 6.769e-05/0.1854, allocations: 20 kB / 0.8361 GB, free: 6.059 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.915e-05/0.1855, allocations: 23.84 kB / 0.8361 GB, free: 6.035 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 6.912e-05/0.1855, allocations: 47.78 kB / 0.8361 GB, free: 5.988 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001909/0.1857, allocations: 91.69 kB / 0.8362 GB, free: 5.898 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.1857, allocations: 0 / 0.8362 GB, free: 5.898 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.597e-06/0.1857, allocations: 3.984 kB / 0.8362 GB, free: 5.895 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.681e-06/0.1858, allocations: 0 / 0.8362 GB, free: 5.895 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.0007629/0.1865, allocations: 330.6 kB / 0.8365 GB, free: 5.543 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/0.1866, allocations: 13.92 kB / 0.8365 GB, free: 5.531 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.425e-05/0.1866, allocations: 192 / 0.8365 GB, free: 5.531 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.354e-05/0.1866, allocations: 38.75 kB / 0.8366 GB, free: 5.484 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001733/0.1868, allocations: 16.88 kB / 0.8366 GB, free: 5.469 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001548/0.1869, allocations: 134.2 kB / 0.8367 GB, free: 5.312 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.022e-05/0.187, allocations: 12.38 kB / 0.8367 GB, free: 5.301 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.116e-05/0.187, allocations: 4.375 kB / 0.8367 GB, free: 5.297 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001878/0.1872, allocations: 87.69 kB / 0.8368 GB, free: 5.207 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.1872, allocations: 0 / 0.8368 GB, free: 5.207 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.724e-05/0.1872, allocations: 8 kB / 0.8368 GB, free: 5.199 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.1872, allocations: 4 kB / 0.8368 GB, free: 5.195 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001301/0.1873, allocations: 43.97 kB / 0.8369 GB, free: 5.152 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005344/0.1879, allocations: 319.7 kB / 0.8372 GB, free: 4.797 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003038/0.1882, allocations: 102.7 kB / 0.8373 GB, free: 4.688 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.354e-05/0.1883, allocations: 36.84 kB / 0.8373 GB, free: 4.648 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.914e-05/0.1883, allocations: 4 kB / 0.8373 GB, free: 4.645 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002719/0.1885, allocations: 95.3 kB / 0.8374 GB, free: 4.539 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=11): time 1.432e-06/0.1885, allocations: 0 / 0.8374 GB, free: 4.539 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11): time 0.0003732/0.1889, allocations: 157.5 kB / 0.8376 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.84e-05/0.189, allocations: 55.41 kB / 0.8376 GB, free: 4.312 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001259/0.1891, allocations: 121.8 kB / 0.8377 GB, free: 4.184 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.306e-05/0.1891, allocations: 29.7 kB / 0.8378 GB, free: 4.148 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.524e-05/0.1892, allocations: 92.36 kB / 0.8378 GB, free: 4.051 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.524e-05/0.1892, allocations: 35.83 kB / 0.8379 GB, free: 4.016 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001349/0.1894, allocations: 29.7 kB / 0.8379 GB, free: 3.98 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001487/0.1895, allocations: 322.8 kB / 0.8382 GB, free: 3.656 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.521e-05/0.1896, allocations: 31.98 kB / 0.8383 GB, free: 3.625 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.115e-05/0.1896, allocations: 31.98 kB / 0.8383 GB, free: 3.594 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001282/0.1898, allocations: 66.47 kB / 0.8383 GB, free: 3.527 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.1898, allocations: 0 / 0.8383 GB, free: 3.527 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001868/0.19, allocations: 110.2 kB / 0.8384 GB, free: 3.414 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.19, allocations: 4 kB / 0.8385 GB, free: 3.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.19, allocations: 0 / 0.8385 GB, free: 3.41 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.19, allocations: 4 kB / 0.8385 GB, free: 3.406 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000108/0.1901, allocations: 15.98 kB / 0.8385 GB, free: 3.391 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.1901, allocations: 7.938 kB / 0.8385 GB, free: 3.383 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001001/0.1902, allocations: 15.88 kB / 0.8385 GB, free: 3.367 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.666e-05/0.1902, allocations: 7.984 kB / 0.8385 GB, free: 3.359 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.0001099/0.1903, allocations: 123.3 kB / 0.8386 GB, free: 3.23 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.149e-05/0.1904, allocations: 3.953 kB / 0.8386 GB, free: 3.227 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002916/0.1906, allocations: 147.6 kB / 0.8388 GB, free: 3.07 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.1906, allocations: 3.984 kB / 0.8388 GB, free: 3.066 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.1907, allocations: 11.88 kB / 0.8388 GB, free: 3.055 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.85e-06/0.1907, allocations: 3.984 kB / 0.8388 GB, free: 3.051 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001861/0.1908, allocations: 180.6 kB / 0.839 GB, free: 2.832 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.1908, allocations: 0 / 0.839 GB, free: 2.832 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.149e-05/0.1909, allocations: 23.94 kB / 0.839 GB, free: 2.809 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.1909, allocations: 0 / 0.839 GB, free: 2.809 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.437e-05/0.1909, allocations: 3.984 kB / 0.839 GB, free: 2.805 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.1909, allocations: 0 / 0.839 GB, free: 2.805 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.905e-06/0.191, allocations: 7.922 kB / 0.839 GB, free: 2.797 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000256/0.1912, allocations: 169.7 kB / 0.8392 GB, free: 2.613 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.795e-05/0.1912, allocations: 7.891 kB / 0.8392 GB, free: 2.605 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.561e-05/0.1913, allocations: 8 kB / 0.8392 GB, free: 2.598 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001009/0.1914, allocations: 7.984 kB / 0.8392 GB, free: 2.59 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.65e-05/0.1914, allocations: 19.91 kB / 0.8392 GB, free: 2.57 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.618e-05/0.1914, allocations: 4 kB / 0.8392 GB, free: 2.566 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 7.179e-05/0.1915, allocations: 103.2 kB / 0.8393 GB, free: 2.465 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.1915, allocations: 0 / 0.8393 GB, free: 2.465 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002015/0.1917, allocations: 20 kB / 0.8393 GB, free: 2.445 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.0005952/0.1923, allocations: 0.6924 MB / 0.84 GB, free: 1.727 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002116/0.1925, allocations: 91.89 kB / 0.8401 GB, free: 1.637 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.1925, allocations: 0 / 0.8401 GB, free: 1.637 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 9.29e-05/0.1926, allocations: 47.91 kB / 0.8401 GB, free: 1.59 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001812/0.1928, allocations: 23.56 kB / 0.8401 GB, free: 1.57 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001687/0.1945, allocations: 1.459 MB / 0.8416 GB, free: 32 kB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003518/0.1948, allocations: 0.704 MB / 0.8423 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 5.068e-05/0.1949, allocations: 4.5 kB / 0.8423 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.362e-05/0.195, allocations: 35.42 kB / 0.8423 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of SimCode: time 4.31e-07/0.195, allocations: 0 / 0.8423 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0224/0.2174, allocations: 2.492 MB / 0.8447 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.93/11.15, allocations: 14.03 kB / 0.8447 GB, free: 12.92 MB / 0.5919 GB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime_fmu --startTime=0 --stopTime=864000 --stepSize=345.6 --timeout=50 --tolerance=1e-06 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.316618841025047] Failed to read output from testmodel.py, exit status != 0: 11.31307678698795 11.33750786 11.147567775 Calling exit ...