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.001219/0.001219, allocations: 110.4 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.001333/0.001333, allocations: 220.3 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.465/1.465, allocations: 230.6 MB / 256.8 MB, free: 7.988 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.002575/0.002575, allocations: 286.4 kB / 313.5 MB, free: 2.906 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.218/1.218, allocations: 180.6 MB / 0.5377 GB, free: 12.91 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime",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.00274/0.00274, allocations: 94.8 kB / 0.7403 GB, free: 28.32 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1823/0.185, allocations: 95.39 MB / 0.8335 GB, free: 8.641 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.002789/0.1878, allocations: 1.527 MB / 0.835 GB, free: 7.102 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0009054/0.1887, allocations: 0.5081 MB / 0.8355 GB, free: 6.59 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.145e-05/0.1888, allocations: 0 / 0.8355 GB, free: 6.59 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.739e-05/0.1888, allocations: 3.984 kB / 0.8355 GB, free: 6.586 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002273/0.189, allocations: 23.78 kB / 0.8355 GB, free: 6.562 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 7.602e-05/0.1891, allocations: 19.98 kB / 0.8355 GB, free: 6.543 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 9.414e-05/0.1892, allocations: 51.78 kB / 0.8356 GB, free: 6.492 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 8.591e-05/0.1893, allocations: 11.94 kB / 0.8356 GB, free: 6.48 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001573/0.1894, allocations: 27.86 kB / 0.8356 GB, free: 6.453 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 8.102e-05/0.1895, allocations: 27.91 kB / 0.8356 GB, free: 6.426 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.774e-05/0.1895, allocations: 4 kB / 0.8356 GB, free: 6.422 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 1.541e-05/0.1895, allocations: 4 kB / 0.8357 GB, free: 6.418 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.024e-05/0.1896, allocations: 11.98 kB / 0.8357 GB, free: 6.406 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 4.366e-05/0.1896, allocations: 23.86 kB / 0.8357 GB, free: 6.383 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001058/0.1897, allocations: 35.89 kB / 0.8357 GB, free: 6.348 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.1897, allocations: 0 / 0.8357 GB, free: 6.348 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.533e-06/0.1897, allocations: 3.938 kB / 0.8357 GB, free: 6.344 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.169e-06/0.1897, allocations: 0 / 0.8357 GB, free: 6.344 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.0005312/0.1902, allocations: 290.8 kB / 0.836 GB, free: 6.031 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/0.1903, allocations: 9.344 kB / 0.836 GB, free: 6.023 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.768e-05/0.1903, allocations: 4.188 kB / 0.836 GB, free: 6.02 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.163e-05/0.1903, allocations: 30.75 kB / 0.836 GB, free: 5.98 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.836e-05/0.1904, allocations: 4.891 kB / 0.836 GB, free: 5.977 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001299/0.1905, allocations: 122.5 kB / 0.8362 GB, free: 5.832 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.283e-05/0.1905, allocations: 384 / 0.8362 GB, free: 5.832 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.177e-06/0.1905, allocations: 384 / 0.8362 GB, free: 5.832 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001151/0.1906, allocations: 53.62 kB / 0.8362 GB, free: 5.773 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.183e-06/0.1906, allocations: 4 kB / 0.8362 GB, free: 5.77 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.107e-06/0.1907, allocations: 0 / 0.8362 GB, free: 5.77 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.607e-06/0.1907, allocations: 0 / 0.8362 GB, free: 5.77 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.49e-05/0.1907, allocations: 27.86 kB / 0.8362 GB, free: 5.742 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000363/0.1911, allocations: 247.9 kB / 0.8365 GB, free: 5.457 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000108/0.1912, allocations: 38.56 kB / 0.8365 GB, free: 5.41 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.408e-05/0.1912, allocations: 16.86 kB / 0.8365 GB, free: 5.391 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.105e-05/0.1913, allocations: 11.98 kB / 0.8365 GB, free: 5.379 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000168/0.1914, allocations: 67.42 kB / 0.8366 GB, free: 5.301 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=5): time 1.202e-06/0.1914, allocations: 0 / 0.8366 GB, free: 5.301 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5): time 0.0002172/0.1916, allocations: 77.67 kB / 0.8367 GB, free: 5.219 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.64e-05/0.1917, allocations: 51.41 kB / 0.8367 GB, free: 5.156 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001018/0.1918, allocations: 117.8 kB / 0.8368 GB, free: 5.031 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.861e-05/0.1918, allocations: 25.7 kB / 0.8369 GB, free: 5 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.24e-05/0.1919, allocations: 92.14 kB / 0.837 GB, free: 4.906 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.681e-05/0.1919, allocations: 11.89 kB / 0.837 GB, free: 4.895 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.801e-05/0.1919, allocations: 17.72 kB / 0.837 GB, free: 4.871 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001489/0.1921, allocations: 326.7 kB / 0.8373 GB, free: 4.543 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.39e-05/0.1921, allocations: 11.98 kB / 0.8373 GB, free: 4.531 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.558e-05/0.1921, allocations: 12 kB / 0.8373 GB, free: 4.52 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.047e-05/0.1922, allocations: 29.23 kB / 0.8374 GB, free: 4.488 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.1922, allocations: 0 / 0.8374 GB, free: 4.488 MB / 0.5762 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001209/0.1923, allocations: 69.64 kB / 0.8374 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.1923, allocations: 8 kB / 0.8374 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.1924, allocations: 0 / 0.8374 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.1924, allocations: 0 / 0.8374 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.015e-05/0.1924, allocations: 15.92 kB / 0.8374 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.1924, allocations: 0 / 0.8374 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.027e-05/0.1925, allocations: 8 kB / 0.8374 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.574e-06/0.1925, allocations: 0 / 0.8374 GB, free: 4.383 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 9.702e-05/0.1926, allocations: 114.4 kB / 0.8376 GB, free: 4.262 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.53e-05/0.1926, allocations: 7.938 kB / 0.8376 GB, free: 4.254 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.609e-05/0.1927, allocations: 16.06 kB / 0.8376 GB, free: 4.23 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.1927, allocations: 0 / 0.8376 GB, free: 4.23 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.1927, allocations: 0 / 0.8376 GB, free: 4.23 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.1927, allocations: 0 / 0.8376 GB, free: 4.23 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001383/0.1928, allocations: 148.7 kB / 0.8377 GB, free: 4.043 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.1928, allocations: 0 / 0.8377 GB, free: 4.043 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.962e-05/0.1928, allocations: 7.984 kB / 0.8377 GB, free: 4.035 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.1928, allocations: 0 / 0.8377 GB, free: 4.035 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.995e-06/0.1929, allocations: 0 / 0.8377 GB, free: 4.035 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.1929, allocations: 0 / 0.8377 GB, free: 4.035 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.1929, allocations: 0 / 0.8377 GB, free: 4.035 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001581/0.193, allocations: 101 kB / 0.8378 GB, free: 3.918 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.72e-05/0.193, allocations: 19.81 kB / 0.8378 GB, free: 3.898 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.642e-05/0.193, allocations: 128 / 0.8378 GB, free: 3.898 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.195e-05/0.1931, allocations: 12 kB / 0.8379 GB, free: 3.887 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.534e-05/0.1931, allocations: 7.922 kB / 0.8379 GB, free: 3.879 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.266e-05/0.1932, allocations: 4 kB / 0.8379 GB, free: 3.875 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 6.245e-05/0.1932, allocations: 91.27 kB / 0.838 GB, free: 3.785 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.1932, allocations: 4 kB / 0.838 GB, free: 3.781 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0001906/0.1934, allocations: 11.94 kB / 0.838 GB, free: 3.77 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.0005/0.1939, allocations: 0.628 MB / 0.8386 GB, free: 3.113 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00013/0.194, allocations: 35.98 kB / 0.8386 GB, free: 3.078 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.194, allocations: 0 / 0.8386 GB, free: 3.078 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 5.697e-05/0.1941, allocations: 23.98 kB / 0.8386 GB, free: 3.055 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000149/0.1942, allocations: 1.406 kB / 0.8386 GB, free: 3.055 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0013/0.1955, allocations: 1.222 MB / 0.8398 GB, free: 1.754 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003292/0.1959, allocations: 0.6807 MB / 0.8405 GB, free: 1.047 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.906e-05/0.1959, allocations: 4 kB / 0.8405 GB, free: 1.043 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.004e-05/0.196, allocations: 19.42 kB / 0.8405 GB, free: 1.027 MB / 0.5762 GB Notification: Performance of SimCode: time 3.01e-07/0.196, allocations: 0 / 0.8405 GB, free: 1.027 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0209/0.2169, allocations: 1.68 MB / 0.8422 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.87/11.08, allocations: 3.125 kB / 0.8422 GB, free: 15.53 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime_fmu --startTime=0 --stopTime=172800 --stepSize=69.12 --timeout=50 --tolerance=1e-06 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.363619197974913] Failed to read output from testmodel.py, exit status != 0: 11.240091634972487 11.264769603 11.070672122 Calling exit ...