Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009895/0.0009896, allocations: 108.3 kB / 16.4 MB, free: 6.445 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009732/0.0009733, allocations: 193.2 kB / 17.34 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.225/1.225, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6398/0.6398, allocations: 115.3 MB / 406.5 MB, free: 6.195 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001122/0.001122, allocations: 61.17 kB / 0.5572 GB, free: 32.43 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/0.1158, allocations: 76.18 MB / 0.6316 GB, free: 4.887 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.002961/0.1188, allocations: 1.868 MB / 0.6334 GB, free: 3.004 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.00195/0.1208, allocations: 1.577 MB / 0.635 GB, free: 1.418 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.729e-05/0.1209, allocations: 3.938 kB / 0.635 GB, free: 1.414 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001853/0.1211, allocations: 23.78 kB / 0.635 GB, free: 1.391 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002802/0.1214, allocations: 79.55 kB / 0.6351 GB, free: 1.312 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004358/0.1218, allocations: 172.5 kB / 0.6352 GB, free: 1.148 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002786/0.1221, allocations: 289.3 kB / 0.6355 GB, free: 0.8633 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001022/0.1222, allocations: 39.91 kB / 0.6355 GB, free: 0.8281 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001065/0.1223, allocations: 91.81 kB / 0.6356 GB, free: 0.7383 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002073/0.1225, allocations: 111.7 kB / 0.6357 GB, free: 0.6289 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 3.553e-05/0.1226, allocations: 20 kB / 0.6358 GB, free: 0.6094 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000146/0.1227, allocations: 75.98 kB / 0.6358 GB, free: 0.5352 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 9.682e-05/0.1228, allocations: 99.61 kB / 0.6359 GB, free: 448 kB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001085/0.1229, allocations: 119.3 kB / 0.636 GB, free: 328 kB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003683/0.1233, allocations: 339.8 kB / 0.6364 GB, free: 15.98 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.1233, allocations: 0 / 0.6364 GB, free: 15.98 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.1233, allocations: 0 / 0.6364 GB, free: 15.98 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.903e-06/0.1234, allocations: 0 / 0.6364 GB, free: 15.98 MB / 494.1 MB 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.000755/0.1241, allocations: 0.5538 MB / 0.6369 GB, free: 15.39 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.231e-05/0.1241, allocations: 8.031 kB / 0.6369 GB, free: 15.38 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.948e-05/0.1242, allocations: 58.72 kB / 0.637 GB, free: 15.31 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001396/0.1244, allocations: 32.66 kB / 0.637 GB, free: 15.28 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002921/0.1247, allocations: 274.7 kB / 0.6373 GB, free: 14.97 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.07e-05/0.1247, allocations: 16.38 kB / 0.6373 GB, free: 14.96 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.759e-05/0.1247, allocations: 27.88 kB / 0.6373 GB, free: 14.93 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003416/0.1251, allocations: 232.9 kB / 0.6375 GB, free: 14.68 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.1251, allocations: 0 / 0.6375 GB, free: 14.68 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.392e-05/0.1251, allocations: 8 kB / 0.6375 GB, free: 14.68 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-06/0.1251, allocations: 8 kB / 0.6375 GB, free: 14.67 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000769/0.1259, allocations: 0.7489 MB / 0.6383 GB, free: 13.92 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008629/0.1268, allocations: 0.6369 MB / 0.6389 GB, free: 13.23 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004324/0.1272, allocations: 309.8 kB / 0.6392 GB, free: 12.91 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001488/0.1274, allocations: 121.3 kB / 0.6393 GB, free: 12.79 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.971e-05/0.1274, allocations: 24.25 kB / 0.6393 GB, free: 12.77 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002677/0.1277, allocations: 172.2 kB / 0.6395 GB, free: 12.59 MB / 494.1 MB Notification: Performance of pre-optimization done (n=35): time 1.542e-06/0.1277, allocations: 0 / 0.6395 GB, free: 12.59 MB / 494.1 MB Notification: Performance of matching and sorting (n=35): time 0.0005884/0.1283, allocations: 385.3 kB / 0.6399 GB, free: 12.21 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.489e-05/0.1284, allocations: 132.5 kB / 0.64 GB, free: 12.05 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002498/0.1286, allocations: 309 kB / 0.6403 GB, free: 11.74 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.575e-05/0.1287, allocations: 33.7 kB / 0.6403 GB, free: 11.7 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.665e-05/0.1287, allocations: 144.5 kB / 0.6404 GB, free: 11.55 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.707e-05/0.1288, allocations: 110.4 kB / 0.6406 GB, free: 11.45 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.529e-05/0.1289, allocations: 65.69 kB / 0.6406 GB, free: 11.38 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000103/0.129, allocations: 342.8 kB / 0.6409 GB, free: 11.03 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001257/0.1292, allocations: 79.95 kB / 0.641 GB, free: 10.95 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001693/0.1293, allocations: 127.2 kB / 0.6411 GB, free: 10.82 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002831/0.1296, allocations: 214.3 kB / 0.6413 GB, free: 10.61 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.1296, allocations: 4 kB / 0.6413 GB, free: 10.6 MB / 494.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003823/0.13, allocations: 281.1 kB / 0.6416 GB, free: 10.32 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.13, allocations: 7.938 kB / 0.6416 GB, free: 10.31 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.1301, allocations: 0 / 0.6416 GB, free: 10.31 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.1301, allocations: 4 kB / 0.6416 GB, free: 10.31 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002013/0.1303, allocations: 67.84 kB / 0.6417 GB, free: 10.24 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.1303, allocations: 0 / 0.6417 GB, free: 10.24 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001369/0.1304, allocations: 23.83 kB / 0.6417 GB, free: 10.22 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.304e-05/0.1305, allocations: 16 kB / 0.6417 GB, free: 10.2 MB / 494.1 MB 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.0001356/0.1306, allocations: 173.7 kB / 0.6419 GB, free: 10.02 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.067e-05/0.1307, allocations: 31.56 kB / 0.6419 GB, free: 9.992 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005893/0.1313, allocations: 384.9 kB / 0.6423 GB, free: 9.605 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.1313, allocations: 4 kB / 0.6423 GB, free: 9.602 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.1313, allocations: 0 / 0.6423 GB, free: 9.602 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.1313, allocations: 0 / 0.6423 GB, free: 9.602 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002898/0.1316, allocations: 341.3 kB / 0.6426 GB, free: 9.219 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.1316, allocations: 4 kB / 0.6426 GB, free: 9.215 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001612/0.1318, allocations: 55.91 kB / 0.6427 GB, free: 9.16 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.1318, allocations: 3.938 kB / 0.6427 GB, free: 9.156 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.905e-05/0.1318, allocations: 16 kB / 0.6427 GB, free: 9.141 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.978e-06/0.1318, allocations: 7.984 kB / 0.6427 GB, free: 9.133 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.1318, allocations: 3.938 kB / 0.6427 GB, free: 9.129 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004283/0.1322, allocations: 325.4 kB / 0.643 GB, free: 8.793 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001157/0.1324, allocations: 140.7 kB / 0.6432 GB, free: 8.637 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.373e-05/0.1324, allocations: 19.92 kB / 0.6432 GB, free: 8.617 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001646/0.1326, allocations: 15.98 kB / 0.6432 GB, free: 8.602 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.253e-05/0.1326, allocations: 27.97 kB / 0.6432 GB, free: 8.574 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.728e-05/0.1327, allocations: 15.98 kB / 0.6432 GB, free: 8.559 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001853/0.1329, allocations: 240.4 kB / 0.6435 GB, free: 8.324 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1329, allocations: 0 / 0.6435 GB, free: 8.324 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000273/0.1332, allocations: 64 kB / 0.6435 GB, free: 8.262 MB / 494.1 MB 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.001456/0.1346, allocations: 1.174 MB / 0.6447 GB, free: 7.211 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003603/0.135, allocations: 235.6 kB / 0.6449 GB, free: 6.98 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.135, allocations: 0 / 0.6449 GB, free: 6.98 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001735/0.1352, allocations: 127.9 kB / 0.645 GB, free: 6.855 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002698/0.1355, allocations: 42.75 kB / 0.6451 GB, free: 6.816 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002574/0.138, allocations: 2.522 MB / 0.6475 GB, free: 4.211 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002881/0.1383, allocations: 0.7658 MB / 0.6483 GB, free: 3.418 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0002948/0.1386, allocations: 142.9 kB / 0.6484 GB, free: 3.281 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001271/0.1388, allocations: 99.39 kB / 0.6485 GB, free: 3.184 MB / 494.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1388, allocations: 0 / 0.6485 GB, free: 3.184 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02257/0.1614, allocations: 6.11 MB / 0.6545 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.066/7.228, allocations: 12.41 kB / 0.6545 GB, free: 13.21 MB / 0.4981 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.fmu > IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1)