Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.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.001255/0.001255, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001488/0.001488, allocations: 208.4 kB / 22.24 MB, free: 5.262 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.442/1.442, allocations: 230.6 MB / 256 MB, free: 7.797 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.002792/0.002792, allocations: 299.2 kB / 312.7 MB, free: 2.691 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.273/1.273, allocations: 180.6 MB / 0.5369 GB, free: 14.43 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.LocalCivilTime,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime",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.00289/0.00289, allocations: 107 kB / 0.7395 GB, free: 27.93 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1748/0.1777, allocations: 95.38 MB / 0.8327 GB, free: 8.312 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.002962/0.1807, allocations: 1.502 MB / 0.8341 GB, free: 6.797 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0009521/0.1816, allocations: 472.5 kB / 0.8346 GB, free: 6.332 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.853e-05/0.1817, allocations: 0 / 0.8346 GB, free: 6.332 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.91e-05/0.1817, allocations: 7.922 kB / 0.8346 GB, free: 6.324 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002377/0.1819, allocations: 23.86 kB / 0.8346 GB, free: 6.301 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 9.728e-05/0.182, allocations: 19.91 kB / 0.8346 GB, free: 6.281 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001107/0.1821, allocations: 51.8 kB / 0.8347 GB, free: 6.23 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 9.831e-05/0.1822, allocations: 11.94 kB / 0.8347 GB, free: 6.219 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001799/0.1824, allocations: 27.86 kB / 0.8347 GB, free: 6.191 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 8.501e-05/0.1825, allocations: 27.89 kB / 0.8347 GB, free: 6.164 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.613e-05/0.1825, allocations: 4 kB / 0.8347 GB, free: 6.16 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 1.403e-05/0.1825, allocations: 4 kB / 0.8347 GB, free: 6.156 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.888e-05/0.1825, allocations: 4 kB / 0.8347 GB, free: 6.152 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 4.357e-05/0.1826, allocations: 19.92 kB / 0.8348 GB, free: 6.133 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001091/0.1827, allocations: 39.88 kB / 0.8348 GB, free: 6.094 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.1827, allocations: 0 / 0.8348 GB, free: 6.094 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.643e-06/0.1827, allocations: 4 kB / 0.8348 GB, free: 6.09 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.411e-06/0.1827, allocations: 0 / 0.8348 GB, free: 6.09 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005737/0.1833, allocations: 290.1 kB / 0.8351 GB, free: 5.777 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/0.1833, allocations: 9.344 kB / 0.8351 GB, free: 5.77 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.227e-05/0.1834, allocations: 38.69 kB / 0.8351 GB, free: 5.723 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.9e-05/0.1834, allocations: 4.891 kB / 0.8351 GB, free: 5.719 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001385/0.1835, allocations: 114.5 kB / 0.8352 GB, free: 5.582 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.715e-05/0.1835, allocations: 4.375 kB / 0.8352 GB, free: 5.578 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.087e-06/0.1836, allocations: 384 / 0.8352 GB, free: 5.578 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001218/0.1837, allocations: 53.81 kB / 0.8353 GB, free: 5.52 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.1837, allocations: 8 kB / 0.8353 GB, free: 5.512 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.275e-06/0.1837, allocations: 0 / 0.8353 GB, free: 5.512 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.1837, allocations: 0 / 0.8353 GB, free: 5.512 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.332e-05/0.1838, allocations: 19.98 kB / 0.8353 GB, free: 5.492 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003769/0.1841, allocations: 243.8 kB / 0.8356 GB, free: 5.211 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001219/0.1843, allocations: 46.48 kB / 0.8356 GB, free: 5.156 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.511e-05/0.1843, allocations: 20.94 kB / 0.8356 GB, free: 5.133 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.247e-05/0.1843, allocations: 4 kB / 0.8356 GB, free: 5.129 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000196/0.1845, allocations: 67.33 kB / 0.8357 GB, free: 5.051 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=5): time 1.433e-06/0.1845, allocations: 4 kB / 0.8357 GB, free: 5.047 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5): time 0.0002264/0.1847, allocations: 77.67 kB / 0.8358 GB, free: 4.965 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.276e-05/0.1848, allocations: 55.41 kB / 0.8358 GB, free: 4.898 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.969e-05/0.1849, allocations: 113.8 kB / 0.8359 GB, free: 4.777 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.63e-05/0.1849, allocations: 25.7 kB / 0.836 GB, free: 4.746 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.899e-05/0.185, allocations: 80.14 kB / 0.836 GB, free: 4.664 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.718e-05/0.185, allocations: 19.89 kB / 0.836 GB, free: 4.645 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.052e-05/0.185, allocations: 21.7 kB / 0.8361 GB, free: 4.617 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001415/0.1852, allocations: 314.8 kB / 0.8364 GB, free: 4.301 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.149e-05/0.1852, allocations: 12 kB / 0.8364 GB, free: 4.289 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.048e-05/0.1852, allocations: 19.98 kB / 0.8364 GB, free: 4.27 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.564e-05/0.1853, allocations: 32.8 kB / 0.8364 GB, free: 4.234 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.1853, allocations: 0 / 0.8364 GB, free: 4.234 MB / 0.5762 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001117/0.1854, allocations: 65.64 kB / 0.8365 GB, free: 4.164 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.1854, allocations: 9.719 kB / 0.8365 GB, free: 4.156 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.1854, allocations: 0 / 0.8365 GB, free: 4.156 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.1855, allocations: 0 / 0.8365 GB, free: 4.156 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.072e-05/0.1855, allocations: 8 kB / 0.8365 GB, free: 4.148 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.1855, allocations: 7.922 kB / 0.8365 GB, free: 4.141 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.895e-05/0.1856, allocations: 4.438 kB / 0.8365 GB, free: 4.137 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.804e-06/0.1856, allocations: 0 / 0.8365 GB, free: 4.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: 3 (locTim.tNext,$PRE.locTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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.0001069/0.1857, allocations: 126.4 kB / 0.8366 GB, free: 4.004 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.422e-05/0.1857, allocations: 3.953 kB / 0.8366 GB, free: 4 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.146e-05/0.1858, allocations: 16.06 kB / 0.8367 GB, free: 3.977 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.1858, allocations: 0 / 0.8367 GB, free: 3.977 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.1858, allocations: 3.984 kB / 0.8367 GB, free: 3.973 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.1858, allocations: 0 / 0.8367 GB, free: 3.973 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001283/0.1859, allocations: 132.7 kB / 0.8368 GB, free: 3.801 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.1859, allocations: 0 / 0.8368 GB, free: 3.801 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.947e-05/0.1859, allocations: 12 kB / 0.8368 GB, free: 3.789 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.1859, allocations: 0 / 0.8368 GB, free: 3.789 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.056e-06/0.1859, allocations: 0 / 0.8368 GB, free: 3.789 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.1859, allocations: 4 kB / 0.8368 GB, free: 3.785 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1859, allocations: 0 / 0.8368 GB, free: 3.785 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001578/0.1861, allocations: 97.05 kB / 0.8369 GB, free: 3.672 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.814e-05/0.1861, allocations: 15.83 kB / 0.8369 GB, free: 3.656 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.637e-05/0.1861, allocations: 0 / 0.8369 GB, free: 3.656 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.566e-05/0.1862, allocations: 11.92 kB / 0.8369 GB, free: 3.645 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.426e-05/0.1862, allocations: 4 kB / 0.8369 GB, free: 3.641 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.859e-06/0.1862, allocations: 0 / 0.8369 GB, free: 3.641 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 6.76e-05/0.1863, allocations: 95.56 kB / 0.837 GB, free: 3.547 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.1863, allocations: 0 / 0.837 GB, free: 3.547 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0001961/0.1865, allocations: 12 kB / 0.837 GB, free: 3.535 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,locTim.tNext) * Number of discrete states: 1 (locTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 4 * 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.0004988/0.187, allocations: 0.6397 MB / 0.8377 GB, free: 2.867 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001269/0.1871, allocations: 35.92 kB / 0.8377 GB, free: 2.832 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1871, allocations: 0 / 0.8377 GB, free: 2.832 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 5.557e-05/0.1872, allocations: 16 kB / 0.8377 GB, free: 2.816 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001486/0.1873, allocations: 4 kB / 0.8377 GB, free: 2.812 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001307/0.1886, allocations: 1.218 MB / 0.8389 GB, free: 1.516 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.33e-05/0.1887, allocations: 67.3 kB / 0.839 GB, free: 1.43 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 3.081e-05/0.1887, allocations: 11.98 kB / 0.839 GB, free: 1.418 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.304e-05/0.1888, allocations: 19.31 kB / 0.839 GB, free: 1.402 MB / 0.5762 GB Notification: Performance of SimCode: time 4.91e-07/0.1888, allocations: 0 / 0.839 GB, free: 1.402 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02921/0.218, allocations: 2.051 MB / 0.841 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.08/11.3, allocations: 10.31 kB / 0.841 GB, free: 15.51 MB / 0.5919 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime_res.csv --start-time 0 --stop-time 172800 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 69.12 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.570134715177119] Failed to read output from testmodel.py, exit status != 0: 11.3974838857539 11.415140518 11.229130034 Calling exit ...