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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001141/0.001141, allocations: 112.3 kB / 16.46 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001191/0.001191, allocations: 195.8 kB / 19.41 MB, free: 3.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.282/1.282, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002324/0.002324, allocations: 278.7 kB / 303 MB, free: 9.516 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.099/1.099, allocations: 180.9 MB / 0.5261 GB, free: 14.68 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 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002574/0.002574, allocations: 101 kB / 0.7248 GB, free: 40.6 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1337/0.1363, allocations: 94.16 MB / 0.8167 GB, free: 5.469 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.003034/0.1393, allocations: 1.884 MB / 0.8186 GB, free: 3.574 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002185/0.1415, allocations: 1.592 MB / 0.8201 GB, free: 1.973 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.381e-05/0.1416, allocations: 4 kB / 0.8201 GB, free: 1.969 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0002543/0.1418, allocations: 27.8 kB / 0.8202 GB, free: 1.941 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002839/0.1421, allocations: 79.53 kB / 0.8202 GB, free: 1.863 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004319/0.1426, allocations: 168.8 kB / 0.8204 GB, free: 1.703 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.000327/0.1429, allocations: 281.4 kB / 0.8207 GB, free: 1.43 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001116/0.143, allocations: 36.8 kB / 0.8207 GB, free: 1.391 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001051/0.1431, allocations: 95.75 kB / 0.8208 GB, free: 1.297 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002211/0.1433, allocations: 115.7 kB / 0.8209 GB, free: 1.184 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.717e-05/0.1434, allocations: 20 kB / 0.8209 GB, free: 1.164 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001486/0.1435, allocations: 75.98 kB / 0.821 GB, free: 1.09 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.988e-05/0.1436, allocations: 91.73 kB / 0.8211 GB, free: 1 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001161/0.1437, allocations: 123.2 kB / 0.8212 GB, free: 0.8789 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000386/0.1441, allocations: 330.9 kB / 0.8215 GB, free: 0.5547 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.1441, allocations: 0 / 0.8215 GB, free: 0.5547 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.222e-06/0.1441, allocations: 0 / 0.8215 GB, free: 0.5547 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.795e-06/0.1441, allocations: 8 kB / 0.8215 GB, free: 0.5469 MB / 0.5606 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.0007769/0.1449, allocations: 0.5651 MB / 0.8221 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.1449, allocations: 12.02 kB / 0.8221 GB, free: 15.92 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.204e-05/0.145, allocations: 54.73 kB / 0.8221 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001353/0.1451, allocations: 32.75 kB / 0.8222 GB, free: 15.83 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003046/0.1454, allocations: 274.9 kB / 0.8224 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.897e-05/0.1454, allocations: 16.31 kB / 0.8224 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.873e-05/0.1455, allocations: 19.94 kB / 0.8225 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003806/0.1459, allocations: 245.6 kB / 0.8227 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.1459, allocations: 0 / 0.8227 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.651e-05/0.1459, allocations: 15.98 kB / 0.8227 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/0.1459, allocations: 4 kB / 0.8227 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008741/0.1468, allocations: 0.749 MB / 0.8235 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000979/0.1478, allocations: 0.6332 MB / 0.8241 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004719/0.1482, allocations: 302.3 kB / 0.8244 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00015/0.1484, allocations: 93.38 kB / 0.8244 GB, free: 13.37 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 4.892e-05/0.1484, allocations: 24.25 kB / 0.8245 GB, free: 13.35 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003405/0.1488, allocations: 175.4 kB / 0.8246 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=35): time 1.463e-06/0.1488, allocations: 0 / 0.8246 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of matching and sorting (n=35): time 0.0006453/0.1494, allocations: 382.6 kB / 0.825 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.602e-05/0.1495, allocations: 132.5 kB / 0.8251 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002901/0.1498, allocations: 309 kB / 0.8254 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.003e-05/0.1498, allocations: 33.7 kB / 0.8255 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.511e-05/0.1499, allocations: 136.6 kB / 0.8256 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 9.53e-05/0.15, allocations: 123 kB / 0.8257 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.46e-05/0.1501, allocations: 69.67 kB / 0.8258 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001454/0.1503, allocations: 342.8 kB / 0.8261 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001376/0.1504, allocations: 87.81 kB / 0.8262 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001807/0.1506, allocations: 123.5 kB / 0.8263 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003132/0.1509, allocations: 212.6 kB / 0.8265 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.1509, allocations: 3.938 kB / 0.8265 GB, free: 11.17 MB / 0.5762 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004257/0.1513, allocations: 293.7 kB / 0.8268 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.1513, allocations: 10.12 kB / 0.8268 GB, free: 10.87 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.1513, allocations: 4 kB / 0.8268 GB, free: 10.87 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.084e-05/0.1513, allocations: 0 / 0.8268 GB, free: 10.87 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002059/0.1515, allocations: 63.91 kB / 0.8269 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.1516, allocations: 0 / 0.8269 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001328/0.1517, allocations: 23.88 kB / 0.8269 GB, free: 10.78 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.346e-05/0.1517, allocations: 12 kB / 0.8269 GB, free: 10.77 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 (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.0001527/0.1519, allocations: 165.7 kB / 0.8271 GB, free: 10.6 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.97e-05/0.1519, allocations: 35.75 kB / 0.8271 GB, free: 10.56 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006409/0.1526, allocations: 380.6 kB / 0.8274 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.1526, allocations: 7.938 kB / 0.8275 GB, free: 10.17 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.1526, allocations: 4 kB / 0.8275 GB, free: 10.17 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.1526, allocations: 0 / 0.8275 GB, free: 10.17 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003264/0.1529, allocations: 345.3 kB / 0.8278 GB, free: 9.781 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.1529, allocations: 0 / 0.8278 GB, free: 9.781 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001672/0.1531, allocations: 63.91 kB / 0.8278 GB, free: 9.719 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.1531, allocations: 3.938 kB / 0.8279 GB, free: 9.715 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.011e-05/0.1531, allocations: 11.98 kB / 0.8279 GB, free: 9.703 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.1531, allocations: 4 kB / 0.8279 GB, free: 9.699 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.1531, allocations: 4 kB / 0.8279 GB, free: 9.695 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004639/0.1536, allocations: 326.3 kB / 0.8282 GB, free: 9.359 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001627/0.1537, allocations: 156.7 kB / 0.8283 GB, free: 9.188 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.818e-05/0.1538, allocations: 7.938 kB / 0.8283 GB, free: 9.18 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001591/0.1539, allocations: 22.94 kB / 0.8284 GB, free: 9.16 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.714e-05/0.154, allocations: 27.95 kB / 0.8284 GB, free: 9.133 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.501e-05/0.154, allocations: 12 kB / 0.8284 GB, free: 9.121 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002063/0.1542, allocations: 236.4 kB / 0.8286 GB, free: 8.891 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9.1e-08/0.1542, allocations: 0 / 0.8286 GB, free: 8.891 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002695/0.1545, allocations: 71.94 kB / 0.8287 GB, free: 8.82 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 (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.001969/0.1564, allocations: 1.163 MB / 0.8298 GB, free: 7.785 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003864/0.1568, allocations: 220.1 kB / 0.83 GB, free: 7.57 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.1568, allocations: 0 / 0.83 GB, free: 7.57 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001861/0.157, allocations: 123.8 kB / 0.8302 GB, free: 7.449 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000263/0.1573, allocations: 44.17 kB / 0.8302 GB, free: 7.406 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002836/0.1601, allocations: 2.526 MB / 0.8327 GB, free: 4.797 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003626/0.1605, allocations: 0.7736 MB / 0.8334 GB, free: 4 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0003054/0.1608, allocations: 150.8 kB / 0.8336 GB, free: 3.852 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000139/0.1609, allocations: 95.39 kB / 0.8337 GB, free: 3.758 MB / 0.5762 GB Notification: Performance of SimCode: time 2.9e-07/0.1609, allocations: 0 / 0.8337 GB, free: 3.758 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03043/0.1914, allocations: 6.092 MB / 0.8396 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.472/7.664, allocations: 9.984 kB / 0.8396 GB, free: 13.79 MB / 0.5919 GB " [Timeout remaining time 652] (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: 11.41011564899236] Failed to read output from testmodel.py, exit status != 0: 7.835935856215656 7.848915579 7.702278749 Calling exit ...