Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.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.001363/0.001363, allocations: 100.3 kB / 19.73 MB, free: 2.133 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.001579/0.001579, allocations: 221.1 kB / 23.03 MB, free: 4.945 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.437/1.437, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.002487/0.002487, allocations: 281.9 kB / 313.5 MB, free: 2.723 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.222/1.222, allocations: 180.6 MB / 0.5377 GB, free: 14.58 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.ConvertTime,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime",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.003057/0.003057, allocations: 105.1 kB / 0.7403 GB, free: 27.92 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.175/0.1781, allocations: 95.39 MB / 0.8334 GB, free: 8.352 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.003094/0.1812, allocations: 1.467 MB / 0.8349 GB, free: 6.871 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0004736/0.1816, allocations: 177.1 kB / 0.835 GB, free: 6.699 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.72e-05/0.1817, allocations: 0 / 0.835 GB, free: 6.699 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.996e-05/0.1817, allocations: 11.86 kB / 0.835 GB, free: 6.688 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002281/0.182, allocations: 19.86 kB / 0.835 GB, free: 6.668 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002458/0.1822, allocations: 65.66 kB / 0.8351 GB, free: 6.605 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.000108/0.1823, allocations: 51.8 kB / 0.8352 GB, free: 6.555 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 9.409e-05/0.1824, allocations: 15.92 kB / 0.8352 GB, free: 6.539 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 7.312e-05/0.1825, allocations: 31.84 kB / 0.8352 GB, free: 6.508 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 7.912e-05/0.1826, allocations: 19.98 kB / 0.8352 GB, free: 6.488 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.309e-05/0.1826, allocations: 4 kB / 0.8352 GB, free: 6.484 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 2.455e-05/0.1826, allocations: 7.938 kB / 0.8352 GB, free: 6.477 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.66e-05/0.1826, allocations: 11.98 kB / 0.8352 GB, free: 6.465 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 5.083e-05/0.1827, allocations: 15.92 kB / 0.8353 GB, free: 6.449 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001153/0.1828, allocations: 47.88 kB / 0.8353 GB, free: 6.402 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.1828, allocations: 0 / 0.8353 GB, free: 6.402 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.313e-06/0.1828, allocations: 4 kB / 0.8353 GB, free: 6.398 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.1828, allocations: 0 / 0.8353 GB, free: 6.398 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.0005424/0.1833, allocations: 278.2 kB / 0.8356 GB, free: 6.094 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.1834, allocations: 9.344 kB / 0.8356 GB, free: 6.086 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.65e-05/0.1834, allocations: 192 / 0.8356 GB, free: 6.086 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.135e-05/0.1834, allocations: 38.75 kB / 0.8356 GB, free: 6.039 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.278e-05/0.1835, allocations: 0.9375 kB / 0.8356 GB, free: 6.039 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001296/0.1836, allocations: 122.4 kB / 0.8357 GB, free: 5.895 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.535e-05/0.1836, allocations: 4.375 kB / 0.8357 GB, free: 5.891 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.593e-05/0.1836, allocations: 12.31 kB / 0.8358 GB, free: 5.879 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001986/0.1838, allocations: 132 kB / 0.8359 GB, free: 5.723 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/0.1838, allocations: 0 / 0.8359 GB, free: 5.723 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.339e-05/0.1839, allocations: 0 / 0.8359 GB, free: 5.723 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.117e-06/0.1839, allocations: 0 / 0.8359 GB, free: 5.723 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.985e-05/0.1839, allocations: 19.98 kB / 0.8359 GB, free: 5.703 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003939/0.1843, allocations: 239.9 kB / 0.8361 GB, free: 5.426 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000105/0.1844, allocations: 34.56 kB / 0.8362 GB, free: 5.383 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.727e-05/0.1845, allocations: 12.86 kB / 0.8362 GB, free: 5.367 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.09e-05/0.1845, allocations: 0 / 0.8362 GB, free: 5.367 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002054/0.1847, allocations: 71.47 kB / 0.8362 GB, free: 5.285 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.1847, allocations: 0 / 0.8362 GB, free: 5.285 MB / 0.5762 GB Notification: Performance of matching and sorting (n=4): time 0.0002298/0.1849, allocations: 77.58 kB / 0.8363 GB, free: 5.203 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.107e-05/0.185, allocations: 102.8 kB / 0.8364 GB, free: 5.078 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001001/0.1851, allocations: 109.8 kB / 0.8365 GB, free: 4.961 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.018e-05/0.1851, allocations: 25.7 kB / 0.8365 GB, free: 4.93 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.979e-05/0.1852, allocations: 88.14 kB / 0.8366 GB, free: 4.84 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.262e-05/0.1852, allocations: 7.938 kB / 0.8366 GB, free: 4.832 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.793e-05/0.1852, allocations: 25.66 kB / 0.8367 GB, free: 4.801 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001496/0.1854, allocations: 322.8 kB / 0.837 GB, free: 4.477 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.427e-05/0.1854, allocations: 12 kB / 0.837 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.334e-05/0.1855, allocations: 85.97 kB / 0.8371 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.101e-05/0.1856, allocations: 28.8 kB / 0.8371 GB, free: 4.328 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.1856, allocations: 0 / 0.8371 GB, free: 4.328 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001378/0.1857, allocations: 61.64 kB / 0.8372 GB, free: 4.262 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.1857, allocations: 4 kB / 0.8372 GB, free: 4.258 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.1857, allocations: 0 / 0.8372 GB, free: 4.258 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.1858, allocations: 448 / 0.8372 GB, free: 4.258 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.974e-05/0.1858, allocations: 12 kB / 0.8372 GB, free: 4.246 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.1858, allocations: 3.984 kB / 0.8372 GB, free: 4.242 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001147/0.186, allocations: 11.94 kB / 0.8372 GB, free: 4.23 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.066e-05/0.186, allocations: 8.031 kB / 0.8372 GB, free: 4.223 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 (conTim.tNext,$PRE.conTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.0001247/0.1861, allocations: 126.4 kB / 0.8373 GB, free: 4.09 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.571e-05/0.1861, allocations: 0 / 0.8373 GB, free: 4.09 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.713e-05/0.1861, allocations: 3.688 kB / 0.8373 GB, free: 4.078 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.1861, allocations: 4 kB / 0.8373 GB, free: 4.074 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.1861, allocations: 0 / 0.8373 GB, free: 4.074 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.1861, allocations: 0 / 0.8373 GB, free: 4.074 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001449/0.1863, allocations: 140.6 kB / 0.8375 GB, free: 3.895 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.1863, allocations: 0 / 0.8375 GB, free: 3.895 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.84e-05/0.1863, allocations: 7.984 kB / 0.8375 GB, free: 3.887 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.1863, allocations: 4.188 kB / 0.8375 GB, free: 3.883 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.666e-06/0.1863, allocations: 0 / 0.8375 GB, free: 3.883 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.1863, allocations: 0 / 0.8375 GB, free: 3.883 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.1863, allocations: 0 / 0.8375 GB, free: 3.883 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001698/0.1865, allocations: 97.03 kB / 0.8376 GB, free: 3.77 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 3.584e-05/0.1865, allocations: 4 kB / 0.8376 GB, free: 3.766 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.323e-05/0.1866, allocations: 0 / 0.8376 GB, free: 3.766 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001115/0.1867, allocations: 19.92 kB / 0.8376 GB, free: 3.746 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.872e-05/0.1867, allocations: 7.922 kB / 0.8376 GB, free: 3.738 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.542e-05/0.1867, allocations: 4 kB / 0.8376 GB, free: 3.734 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 5.188e-05/0.1868, allocations: 87.28 kB / 0.8377 GB, free: 3.648 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.1868, allocations: 0 / 0.8377 GB, free: 3.648 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002154/0.187, allocations: 15.98 kB / 0.8377 GB, free: 3.633 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,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * 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.0005178/0.1875, allocations: 0.6303 MB / 0.8383 GB, free: 2.973 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001264/0.1876, allocations: 23.94 kB / 0.8383 GB, free: 2.949 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.1876, allocations: 0 / 0.8383 GB, free: 2.949 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 4.703e-05/0.1877, allocations: 15.98 kB / 0.8383 GB, free: 2.934 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001746/0.1879, allocations: 11.94 kB / 0.8384 GB, free: 2.922 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001319/0.1892, allocations: 1.165 MB / 0.8395 GB, free: 1.676 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.185e-05/0.1893, allocations: 71.33 kB / 0.8396 GB, free: 1.586 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 4.241e-05/0.1893, allocations: 4.25 kB / 0.8396 GB, free: 1.582 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.544e-05/0.1893, allocations: 11.44 kB / 0.8396 GB, free: 1.57 MB / 0.5762 GB Notification: Performance of SimCode: time 5.91e-07/0.1893, allocations: 7.938 kB / 0.8396 GB, free: 1.562 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02252/0.2119, allocations: 2.008 MB / 0.8415 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.25/11.46, allocations: 7.562 kB / 0.8415 GB, free: 15.73 MB / 0.5919 GB " [Timeout remaining time 648] (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime_fmu --startTime=0 --stopTime=7.776e+07 --stepSize=31104 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.68222113896627] Failed to read output from testmodel.py, exit status != 0: 11.623457442037761 11.648524517 11.461029327 Calling exit ...