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.001336/0.001336, 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.001637/0.001637, allocations: 210.5 kB / 22.24 MB, free: 4.859 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.499/1.499, allocations: 230.6 MB / 256 MB, free: 7.785 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.002553/0.002553, allocations: 294.2 kB / 312.7 MB, free: 2.594 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.65 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.002971/0.002971, allocations: 101.8 kB / 0.7395 GB, free: 28.12 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1704/0.1733, allocations: 95.38 MB / 0.8327 GB, free: 8.348 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.002789/0.1761, allocations: 1.607 MB / 0.8342 GB, free: 6.727 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001091/0.1772, allocations: 0.5665 MB / 0.8348 GB, free: 6.156 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.277e-05/0.1773, allocations: 0 / 0.8348 GB, free: 6.156 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.425e-05/0.1773, allocations: 7.922 kB / 0.8348 GB, free: 6.148 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002591/0.1776, allocations: 45.45 kB / 0.8348 GB, free: 6.105 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001828/0.1777, allocations: 43.89 kB / 0.8349 GB, free: 6.062 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001539/0.1779, allocations: 115.6 kB / 0.835 GB, free: 5.949 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/0.178, allocations: 15.92 kB / 0.835 GB, free: 5.934 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001619/0.1782, allocations: 55.83 kB / 0.835 GB, free: 5.879 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001144/0.1783, allocations: 47.77 kB / 0.8351 GB, free: 5.832 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.261e-05/0.1783, allocations: 8 kB / 0.8351 GB, free: 5.824 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 5.771e-05/0.1784, allocations: 12 kB / 0.8351 GB, free: 5.812 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.274e-05/0.1784, allocations: 31.91 kB / 0.8351 GB, free: 5.781 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 5.841e-05/0.1785, allocations: 31.86 kB / 0.8352 GB, free: 5.75 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001769/0.1786, allocations: 99.67 kB / 0.8353 GB, free: 5.652 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.1786, allocations: 0 / 0.8353 GB, free: 5.652 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.633e-06/0.1786, allocations: 0 / 0.8353 GB, free: 5.652 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.242e-06/0.1786, allocations: 0 / 0.8353 GB, free: 5.652 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.0007476/0.1794, allocations: 333.9 kB / 0.8356 GB, free: 5.297 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.1794, allocations: 13.94 kB / 0.8356 GB, free: 5.285 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.035e-05/0.1795, allocations: 42.73 kB / 0.8356 GB, free: 5.234 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001696/0.1797, allocations: 16.83 kB / 0.8357 GB, free: 5.219 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001535/0.1798, allocations: 138.3 kB / 0.8358 GB, free: 5.059 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.1798, allocations: 4.375 kB / 0.8358 GB, free: 5.055 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.139e-05/0.1799, allocations: 8.375 kB / 0.8358 GB, free: 5.047 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002042/0.1801, allocations: 85.77 kB / 0.8359 GB, free: 4.957 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.1801, allocations: 0 / 0.8359 GB, free: 4.957 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.258e-05/0.1801, allocations: 0 / 0.8359 GB, free: 4.957 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.1801, allocations: 0 / 0.8359 GB, free: 4.957 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001176/0.1802, allocations: 55.97 kB / 0.8359 GB, free: 4.902 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005363/0.1807, allocations: 291.7 kB / 0.8362 GB, free: 4.574 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003103/0.181, allocations: 106.7 kB / 0.8363 GB, free: 4.461 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.991e-05/0.1811, allocations: 36.84 kB / 0.8363 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.754e-05/0.1811, allocations: 0 / 0.8363 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003181/0.1815, allocations: 99.3 kB / 0.8364 GB, free: 4.312 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=11): time 1.202e-06/0.1815, allocations: 0 / 0.8364 GB, free: 4.312 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11): time 0.000356/0.1818, allocations: 149.5 kB / 0.8366 GB, free: 4.16 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.477e-05/0.1819, allocations: 59.39 kB / 0.8366 GB, free: 4.09 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001231/0.182, allocations: 129.8 kB / 0.8368 GB, free: 3.953 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.777e-05/0.182, allocations: 29.7 kB / 0.8368 GB, free: 3.918 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.234e-05/0.1821, allocations: 92.36 kB / 0.8369 GB, free: 3.82 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.347e-05/0.1821, allocations: 35.83 kB / 0.8369 GB, free: 3.785 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.469e-05/0.1822, allocations: 29.7 kB / 0.8369 GB, free: 3.75 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002011/0.1824, allocations: 322.8 kB / 0.8373 GB, free: 3.426 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.612e-05/0.1824, allocations: 23.98 kB / 0.8373 GB, free: 3.402 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.734e-05/0.1825, allocations: 31.98 kB / 0.8373 GB, free: 3.371 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001228/0.1826, allocations: 63.36 kB / 0.8374 GB, free: 3.309 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.1826, allocations: 0 / 0.8374 GB, free: 3.309 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002047/0.1828, allocations: 117.6 kB / 0.8375 GB, free: 3.188 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.1828, allocations: 11.98 kB / 0.8375 GB, free: 3.176 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.1829, allocations: 0 / 0.8375 GB, free: 3.176 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.1829, allocations: 0 / 0.8375 GB, free: 3.176 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001148/0.183, allocations: 19.98 kB / 0.8375 GB, free: 3.156 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-06/0.183, allocations: 3.938 kB / 0.8375 GB, free: 3.152 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000101/0.1831, allocations: 11.88 kB / 0.8375 GB, free: 3.141 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.442e-05/0.1831, allocations: 4 kB / 0.8375 GB, free: 3.137 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.0001093/0.1832, allocations: 127.3 kB / 0.8377 GB, free: 3.004 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.035e-05/0.1832, allocations: 11.95 kB / 0.8377 GB, free: 2.992 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002866/0.1835, allocations: 142 kB / 0.8378 GB, free: 2.84 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.95e-06/0.1835, allocations: 7.938 kB / 0.8378 GB, free: 2.832 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.1835, allocations: 0 / 0.8378 GB, free: 2.832 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.219e-06/0.1835, allocations: 3.938 kB / 0.8378 GB, free: 2.828 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002016/0.1837, allocations: 176.7 kB / 0.838 GB, free: 2.613 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.1837, allocations: 0 / 0.838 GB, free: 2.613 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.208e-05/0.1838, allocations: 15.94 kB / 0.838 GB, free: 2.598 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.1838, allocations: 3.984 kB / 0.838 GB, free: 2.594 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.512e-05/0.1838, allocations: 7.984 kB / 0.838 GB, free: 2.586 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.1838, allocations: 0 / 0.838 GB, free: 2.586 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.1838, allocations: 4 kB / 0.838 GB, free: 2.582 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002686/0.1841, allocations: 170.2 kB / 0.8382 GB, free: 2.398 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.053e-05/0.1841, allocations: 7.891 kB / 0.8382 GB, free: 2.391 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.478e-05/0.1842, allocations: 7.984 kB / 0.8382 GB, free: 2.383 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.941e-05/0.1843, allocations: 8 kB / 0.8382 GB, free: 2.375 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.402e-05/0.1843, allocations: 15.91 kB / 0.8382 GB, free: 2.359 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.621e-05/0.1843, allocations: 4 kB / 0.8382 GB, free: 2.355 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 7.865e-05/0.1844, allocations: 103.2 kB / 0.8383 GB, free: 2.254 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.1844, allocations: 0 / 0.8383 GB, free: 2.254 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002064/0.1846, allocations: 24 kB / 0.8383 GB, free: 2.23 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.0005955/0.1852, allocations: 0.7012 MB / 0.839 GB, free: 1.504 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002082/0.1854, allocations: 83.91 kB / 0.8391 GB, free: 1.422 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1854, allocations: 0 / 0.8391 GB, free: 1.422 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 9.491e-05/0.1855, allocations: 47.92 kB / 0.8391 GB, free: 1.375 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001651/0.1857, allocations: 7.938 kB / 0.8392 GB, free: 1.367 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001682/0.1874, allocations: 1.466 MB / 0.8406 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.8e-05/0.1874, allocations: 87.31 kB / 0.8407 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 6.23e-05/0.1875, allocations: 12.48 kB / 0.8407 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.305e-05/0.1876, allocations: 31.42 kB / 0.8407 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of SimCode: time 3.31e-07/0.1876, allocations: 0 / 0.8407 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02855/0.2161, allocations: 2.847 MB / 0.8435 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.94/11.15, allocations: 11.77 kB / 0.8435 GB, free: 12.98 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.384815816301852] Failed to read output from testmodel.py, exit status != 0: 11.257148321252316 11.273438252 11.091552583 Calling exit ...