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.00129/0.00129, 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.001594/0.001594, allocations: 209.5 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.454/1.454, 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.003649/0.003649, allocations: 287.8 kB / 312.7 MB, free: 2.602 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.268/1.268, allocations: 180.6 MB / 0.5369 GB, free: 14.41 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature",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.002993/0.002993, allocations: 109.7 kB / 0.7395 GB, free: 28.19 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1935/0.1965, allocations: 95.4 MB / 0.8327 GB, free: 8.293 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.003537/0.2001, allocations: 1.879 MB / 0.8345 GB, free: 6.402 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003079/0.2032, allocations: 1.773 MB / 0.8362 GB, free: 4.621 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001151/0.2033, allocations: 8 kB / 0.8362 GB, free: 4.613 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0002864/0.2036, allocations: 27.78 kB / 0.8363 GB, free: 4.586 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0004724/0.204, allocations: 120.1 kB / 0.8364 GB, free: 4.469 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004808/0.2045, allocations: 170.8 kB / 0.8365 GB, free: 4.305 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003796/0.2049, allocations: 297.3 kB / 0.8368 GB, free: 4.012 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001246/0.205, allocations: 29.03 kB / 0.8369 GB, free: 3.98 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001285/0.2051, allocations: 99.75 kB / 0.837 GB, free: 3.883 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002278/0.2054, allocations: 107.6 kB / 0.8371 GB, free: 3.777 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.371e-05/0.2054, allocations: 20 kB / 0.8371 GB, free: 3.758 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002597/0.2057, allocations: 123.9 kB / 0.8372 GB, free: 3.637 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001151/0.2058, allocations: 95.73 kB / 0.8373 GB, free: 3.543 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001152/0.2059, allocations: 99.45 kB / 0.8374 GB, free: 3.445 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0004934/0.2064, allocations: 378.4 kB / 0.8377 GB, free: 3.074 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.2064, allocations: 4 kB / 0.8377 GB, free: 3.07 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.733e-06/0.2064, allocations: 0 / 0.8377 GB, free: 3.07 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.192e-06/0.2064, allocations: 0 / 0.8377 GB, free: 3.07 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.000881/0.2073, allocations: 0.5169 MB / 0.8382 GB, free: 2.523 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.737e-05/0.2073, allocations: 13.34 kB / 0.8383 GB, free: 2.512 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.071e-05/0.2074, allocations: 50.73 kB / 0.8383 GB, free: 2.453 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001754/0.2076, allocations: 44.69 kB / 0.8384 GB, free: 2.41 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003522/0.208, allocations: 221.1 kB / 0.8386 GB, free: 2.168 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.297e-05/0.208, allocations: 12.38 kB / 0.8386 GB, free: 2.156 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.414e-05/0.208, allocations: 27.88 kB / 0.8386 GB, free: 2.129 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005141/0.2085, allocations: 369.3 kB / 0.839 GB, free: 1.719 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.769e-06/0.2085, allocations: 0 / 0.839 GB, free: 1.719 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.719e-05/0.2086, allocations: 12 kB / 0.839 GB, free: 1.707 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.2086, allocations: 4 kB / 0.839 GB, free: 1.703 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009002/0.2095, allocations: 0.6904 MB / 0.8396 GB, free: 1.012 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001169/0.2106, allocations: 0.5855 MB / 0.8402 GB, free: 388 kB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005162/0.2112, allocations: 294.5 kB / 0.8405 GB, free: 88 kB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002017/0.2114, allocations: 97.38 kB / 0.8406 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 4.689e-05/0.2114, allocations: 16.27 kB / 0.8406 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004484/0.2119, allocations: 232.8 kB / 0.8408 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=35): time 2.545e-06/0.2119, allocations: 0 / 0.8408 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of matching and sorting (n=35): time 0.0007415/0.2126, allocations: 383 kB / 0.8412 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.121e-05/0.2127, allocations: 136.5 kB / 0.8413 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003445/0.213, allocations: 321.1 kB / 0.8416 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.08e-05/0.2131, allocations: 37.7 kB / 0.8417 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000106/0.2132, allocations: 132.7 kB / 0.8418 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001058/0.2133, allocations: 122.9 kB / 0.8419 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.569e-05/0.2134, allocations: 65.69 kB / 0.842 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001563/0.2135, allocations: 338.8 kB / 0.8423 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001526/0.2137, allocations: 79.95 kB / 0.8424 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002768/0.214, allocations: 212.5 kB / 0.8426 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003572/0.2143, allocations: 213.2 kB / 0.8428 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.2143, allocations: 0 / 0.8428 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000473/0.2148, allocations: 289.1 kB / 0.843 GB, free: 13.33 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/0.2148, allocations: 11.94 kB / 0.8431 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.269e-06/0.2148, allocations: 0 / 0.8431 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.2148, allocations: 3.938 kB / 0.8431 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002267/0.2151, allocations: 59.91 kB / 0.8431 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.256e-06/0.2151, allocations: 4 kB / 0.8431 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001685/0.2152, allocations: 31.83 kB / 0.8432 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.633e-05/0.2153, allocations: 11.98 kB / 0.8432 GB, free: 13.21 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.000247/0.2155, allocations: 162.4 kB / 0.8433 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.843e-05/0.2156, allocations: 39.75 kB / 0.8434 GB, free: 13 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007431/0.2163, allocations: 372.9 kB / 0.8437 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.685e-06/0.2164, allocations: 8 kB / 0.8437 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.2164, allocations: 0 / 0.8437 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.782e-06/0.2164, allocations: 3.984 kB / 0.8437 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003627/0.2167, allocations: 288.5 kB / 0.844 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.429e-06/0.2167, allocations: 4 kB / 0.844 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001823/0.2169, allocations: 55.91 kB / 0.8441 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.214e-06/0.2169, allocations: 11.88 kB / 0.8441 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.528e-05/0.2169, allocations: 11.98 kB / 0.8441 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.2169, allocations: 0 / 0.8441 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.2169, allocations: 0 / 0.8441 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005205/0.2175, allocations: 334.3 kB / 0.8444 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001583/0.2176, allocations: 79.67 kB / 0.8445 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.818e-05/0.2177, allocations: 15.94 kB / 0.8445 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001766/0.2179, allocations: 15.98 kB / 0.8445 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.077e-05/0.2179, allocations: 27.95 kB / 0.8445 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.486e-05/0.2179, allocations: 15.98 kB / 0.8445 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002484/0.2182, allocations: 244.4 kB / 0.8448 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/0.2182, allocations: 0 / 0.8448 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003425/0.2185, allocations: 83.86 kB / 0.8449 GB, free: 11.39 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.00244/0.221, allocations: 1.256 MB / 0.8461 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.000483/0.2215, allocations: 224.1 kB / 0.8463 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.2215, allocations: 0 / 0.8463 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001975/0.2217, allocations: 119.8 kB / 0.8464 GB, free: 9.969 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003337/0.222, allocations: 37.23 kB / 0.8465 GB, free: 9.93 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003281/0.2253, allocations: 2.589 MB / 0.849 GB, free: 7.262 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001715/0.2254, allocations: 163.4 kB / 0.8491 GB, free: 7.082 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0003592/0.2258, allocations: 138.9 kB / 0.8493 GB, free: 6.945 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001786/0.226, allocations: 103.4 kB / 0.8494 GB, free: 6.844 MB / 0.5919 GB Notification: Performance of SimCode: time 9.11e-07/0.226, allocations: 0 / 0.8494 GB, free: 6.844 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04011/0.2661, allocations: 7.224 MB / 0.8564 GB, free: 15.73 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 11/11.26, allocations: 0 / 0.8564 GB, free: 15.73 MB / 0.6075 GB " [Timeout remaining time 649] (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: 15.622461310587823] Failed to read output from testmodel.py, exit status != 0: 11.46606858400628 11.483093496 11.273338415 Calling exit ...