Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.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.001314/0.001314, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.001452/0.001452, allocations: 216.9 kB / 23.03 MB, free: 4.922 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.463/1.463, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.002508/0.002508, allocations: 292.2 kB / 313.5 MB, free: 2.688 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.236/1.236, allocations: 180.6 MB / 0.5377 GB, free: 14.64 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.CheckTemperature,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature",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.002826/0.002826, allocations: 101.8 kB / 0.7403 GB, free: 27.97 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1703/0.1732, allocations: 95.39 MB / 0.8334 GB, free: 8.293 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.003544/0.1767, allocations: 1.869 MB / 0.8353 GB, free: 6.414 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002915/0.1796, allocations: 1.777 MB / 0.837 GB, free: 4.629 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001145/0.1797, allocations: 0 / 0.837 GB, free: 4.629 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0002312/0.18, allocations: 35.77 kB / 0.837 GB, free: 4.594 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0004427/0.1804, allocations: 119.4 kB / 0.8371 GB, free: 4.477 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004883/0.1809, allocations: 185.5 kB / 0.8373 GB, free: 4.301 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0004/0.1813, allocations: 293.3 kB / 0.8376 GB, free: 4.012 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001294/0.1814, allocations: 33 kB / 0.8376 GB, free: 3.977 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001325/0.1816, allocations: 99.81 kB / 0.8377 GB, free: 3.879 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002305/0.1818, allocations: 119.5 kB / 0.8378 GB, free: 3.762 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.625e-05/0.1818, allocations: 20 kB / 0.8378 GB, free: 3.742 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002746/0.1821, allocations: 127.9 kB / 0.838 GB, free: 3.617 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001377/0.1822, allocations: 91.73 kB / 0.8381 GB, free: 3.527 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000124/0.1824, allocations: 103.4 kB / 0.8382 GB, free: 3.426 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0005264/0.1829, allocations: 382.5 kB / 0.8385 GB, free: 3.051 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.1829, allocations: 0 / 0.8385 GB, free: 3.051 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.222e-06/0.1829, allocations: 0 / 0.8385 GB, free: 3.051 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.771e-06/0.1829, allocations: 0 / 0.8385 GB, free: 3.051 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0008862/0.1838, allocations: 0.514 MB / 0.839 GB, free: 2.508 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.1838, allocations: 13.34 kB / 0.839 GB, free: 2.496 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.895e-05/0.1839, allocations: 4.188 kB / 0.839 GB, free: 2.492 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.06e-05/0.1839, allocations: 54.73 kB / 0.8391 GB, free: 2.43 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001652/0.1841, allocations: 40.69 kB / 0.8391 GB, free: 2.391 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003112/0.1844, allocations: 225 kB / 0.8393 GB, free: 2.145 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.261e-05/0.1844, allocations: 20.12 kB / 0.8394 GB, free: 2.125 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.342e-05/0.1844, allocations: 19.98 kB / 0.8394 GB, free: 2.105 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005018/0.1849, allocations: 369.4 kB / 0.8397 GB, free: 1.695 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.185, allocations: 0 / 0.8397 GB, free: 1.695 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.669e-05/0.185, allocations: 8 kB / 0.8397 GB, free: 1.688 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.185, allocations: 4 kB / 0.8397 GB, free: 1.684 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009569/0.1859, allocations: 0.749 MB / 0.8405 GB, free: 0.9336 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001025/0.187, allocations: 0.5738 MB / 0.841 GB, free: 320 kB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004935/0.1875, allocations: 290.5 kB / 0.8413 GB, free: 24 kB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001792/0.1876, allocations: 101.4 kB / 0.8414 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 4.742e-05/0.1877, allocations: 20.2 kB / 0.8414 GB, free: 15.9 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004254/0.1881, allocations: 232.1 kB / 0.8417 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=35): time 1.914e-06/0.1881, allocations: 0 / 0.8417 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of matching and sorting (n=35): time 0.0007301/0.1889, allocations: 387.7 kB / 0.842 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.326e-05/0.1889, allocations: 132.5 kB / 0.8422 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003375/0.1893, allocations: 321.1 kB / 0.8425 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.07e-05/0.1893, allocations: 29.7 kB / 0.8425 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001128/0.1894, allocations: 136.7 kB / 0.8426 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001104/0.1895, allocations: 123 kB / 0.8427 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.972e-05/0.1896, allocations: 65.69 kB / 0.8428 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001608/0.1898, allocations: 342.8 kB / 0.8431 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001524/0.1899, allocations: 79.95 kB / 0.8432 GB, free: 14 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002476/0.1902, allocations: 208.5 kB / 0.8434 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003407/0.1905, allocations: 213.2 kB / 0.8436 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.1905, allocations: 0 / 0.8436 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004672/0.191, allocations: 289.1 kB / 0.8439 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.191, allocations: 11.88 kB / 0.8439 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.191, allocations: 0 / 0.8439 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.191, allocations: 8 kB / 0.8439 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002266/0.1913, allocations: 59.91 kB / 0.844 GB, free: 13.19 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.1913, allocations: 0 / 0.844 GB, free: 13.19 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001611/0.1914, allocations: 29.94 kB / 0.844 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.061e-05/0.1915, allocations: 15.98 kB / 0.844 GB, free: 13.14 MB / 0.5919 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 (36): * Single equations (assignments): 36 * 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.0001805/0.1916, allocations: 170.4 kB / 0.8442 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.081e-05/0.1917, allocations: 31.75 kB / 0.8442 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007191/0.1924, allocations: 384.9 kB / 0.8446 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.113e-06/0.1924, allocations: 4 kB / 0.8446 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.1924, allocations: 0 / 0.8446 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.1924, allocations: 3.984 kB / 0.8446 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003382/0.1928, allocations: 284.4 kB / 0.8448 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1928, allocations: 7.938 kB / 0.8448 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001886/0.193, allocations: 59.97 kB / 0.8449 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.19e-06/0.193, allocations: 3.938 kB / 0.8449 GB, free: 12.15 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.042e-05/0.193, allocations: 8 kB / 0.8449 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.142e-06/0.193, allocations: 7.984 kB / 0.8449 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.193, allocations: 3.938 kB / 0.8449 GB, free: 12.13 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005025/0.1935, allocations: 334.3 kB / 0.8452 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001397/0.1936, allocations: 71.62 kB / 0.8453 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.45e-05/0.1937, allocations: 11.98 kB / 0.8453 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001879/0.1939, allocations: 27.98 kB / 0.8453 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.92e-05/0.1939, allocations: 27.98 kB / 0.8454 GB, free: 11.65 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.152e-05/0.194, allocations: 15.98 kB / 0.8454 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000247/0.1942, allocations: 248.4 kB / 0.8456 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.1942, allocations: 0 / 0.8456 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003307/0.1945, allocations: 79.86 kB / 0.8457 GB, free: 11.32 MB / 0.5919 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 (35): * Single equations (assignments): 34 * 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.00237/0.1969, allocations: 1.246 MB / 0.8469 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004453/0.1974, allocations: 224.1 kB / 0.8471 GB, free: 10.01 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.1974, allocations: 0 / 0.8471 GB, free: 10.01 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001984/0.1976, allocations: 119.9 kB / 0.8472 GB, free: 9.895 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003348/0.1979, allocations: 47.11 kB / 0.8473 GB, free: 9.848 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00328/0.2012, allocations: 2.577 MB / 0.8498 GB, free: 7.195 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001645/0.2013, allocations: 155.4 kB / 0.85 GB, free: 7.023 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0003376/0.2017, allocations: 142.9 kB / 0.8501 GB, free: 6.883 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001767/0.2019, allocations: 103.4 kB / 0.8502 GB, free: 6.781 MB / 0.5919 GB Notification: Performance of SimCode: time 9.62e-07/0.2019, allocations: 0 / 0.8502 GB, free: 6.781 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03147/0.2333, allocations: 6.951 MB / 0.857 GB, free: 15.96 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.59/11.83, allocations: 7.25 kB / 0.857 GB, free: 15.96 MB / 0.6075 GB " [Timeout remaining time 648] (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature_fmu --startTime=0 --stopTime=8.64e+06 --stepSize=3456 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.271245183888823] Failed to read output from testmodel.py, exit status != 0: 12.084646121016704 12.10146638 11.915291705 Calling exit ...