Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.SetPoints.Examples.OccupancySchedule.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.Controls.SetPoints.Examples.OccupancySchedule,fileNamePrefix="IBPSA_latest_IBPSA_Controls_SetPoints_Examples_OccupancySchedule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.SetPoints.Examples.OccupancySchedule,fileNamePrefix="IBPSA_latest_IBPSA_Controls_SetPoints_Examples_OccupancySchedule",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.001327/0.001327, allocations: 109.7 kB / 16.4 MB, free: 6.418 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.001342/0.001342, allocations: 195.9 kB / 17.34 MB, free: 5.699 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.246/1.246, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6893/0.6893, allocations: 115.3 MB / 406.5 MB, free: 6.152 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001152/0.001152, allocations: 66.97 kB / 0.5572 GB, free: 32.53 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1204/0.1216, allocations: 76.19 MB / 0.6316 GB, free: 4.91 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.SetPoints.Examples.OccupancySchedule): time 0.002166/0.1238, allocations: 1.388 MB / 0.6329 GB, free: 3.508 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007859/0.1246, allocations: 0.4944 MB / 0.6334 GB, free: 3.012 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.148e-05/0.1246, allocations: 0 / 0.6334 GB, free: 3.012 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 6.403e-05/0.1247, allocations: 11.88 kB / 0.6334 GB, free: 3 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 4.683e-05/0.1247, allocations: 3.938 kB / 0.6334 GB, free: 2.996 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006542/0.1254, allocations: 246 kB / 0.6336 GB, free: 2.758 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001872/0.1256, allocations: 139.8 kB / 0.6338 GB, free: 2.621 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.44e-05/0.1257, allocations: 7.984 kB / 0.6338 GB, free: 2.613 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.341e-05/0.1257, allocations: 59.84 kB / 0.6338 GB, free: 2.555 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.04e-05/0.1258, allocations: 39.83 kB / 0.6339 GB, free: 2.516 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 2.583e-05/0.1258, allocations: 12 kB / 0.6339 GB, free: 2.504 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002426/0.1261, allocations: 171.8 kB / 0.6341 GB, free: 2.336 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 6.476e-05/0.1262, allocations: 35.97 kB / 0.6341 GB, free: 2.301 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001091/0.1263, allocations: 55.72 kB / 0.6341 GB, free: 2.246 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000302/0.1266, allocations: 234.3 kB / 0.6344 GB, free: 2.02 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.1266, allocations: 0 / 0.6344 GB, free: 2.02 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1266, allocations: 0 / 0.6344 GB, free: 2.02 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.581e-06/0.1266, allocations: 0 / 0.6344 GB, free: 2.02 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005497/0.1272, allocations: 447.8 kB / 0.6348 GB, free: 1.531 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.356e-05/0.1272, allocations: 12.03 kB / 0.6348 GB, free: 1.52 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.251e-05/0.1273, allocations: 42.73 kB / 0.6349 GB, free: 1.469 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.646e-05/0.1273, allocations: 12.84 kB / 0.6349 GB, free: 1.457 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002104/0.1275, allocations: 209.9 kB / 0.6351 GB, free: 1.215 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.708e-05/0.1275, allocations: 8.375 kB / 0.6351 GB, free: 1.207 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.639e-05/0.1276, allocations: 12.38 kB / 0.6351 GB, free: 1.195 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001558/0.1277, allocations: 83.94 kB / 0.6352 GB, free: 1.102 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.1278, allocations: 3.938 kB / 0.6352 GB, free: 1.098 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.548e-06/0.1278, allocations: 0 / 0.6352 GB, free: 1.098 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.1278, allocations: 0 / 0.6352 GB, free: 1.098 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.181e-05/0.1279, allocations: 43.92 kB / 0.6352 GB, free: 1.055 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000232/0.1281, allocations: 230.5 kB / 0.6354 GB, free: 0.7773 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001075/0.1282, allocations: 73.25 kB / 0.6355 GB, free: 0.6875 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.81e-05/0.1283, allocations: 65.72 kB / 0.6356 GB, free: 0.6172 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.208e-05/0.1283, allocations: 4 kB / 0.6356 GB, free: 0.6133 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001953/0.1285, allocations: 117 kB / 0.6357 GB, free: 492 kB / 478.1 MB Notification: Performance of pre-optimization done (n=14): time 1.122e-06/0.1285, allocations: 0 / 0.6357 GB, free: 492 kB / 478.1 MB Notification: Performance of matching and sorting (n=14): time 0.0003213/0.1288, allocations: 189.3 kB / 0.6359 GB, free: 296 kB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.876e-05/0.1289, allocations: 85.11 kB / 0.6359 GB, free: 192 kB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001123/0.129, allocations: 149.8 kB / 0.6361 GB, free: 32 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.519e-05/0.1291, allocations: 37.7 kB / 0.6361 GB, free: 15.99 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.822e-05/0.1292, allocations: 104.5 kB / 0.6362 GB, free: 15.88 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.293e-05/0.1292, allocations: 39.53 kB / 0.6363 GB, free: 15.84 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.972e-05/0.1293, allocations: 49.7 kB / 0.6363 GB, free: 15.79 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001534/0.1294, allocations: 326.8 kB / 0.6366 GB, free: 15.46 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.23e-05/0.1295, allocations: 35.98 kB / 0.6366 GB, free: 15.42 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001979/0.1297, allocations: 209.1 kB / 0.6368 GB, free: 15.16 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001251/0.1298, allocations: 89.7 kB / 0.6369 GB, free: 15.07 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.1299, allocations: 4 kB / 0.6369 GB, free: 15.07 MB / 494.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.00022/0.1301, allocations: 165.3 kB / 0.6371 GB, free: 14.9 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.1301, allocations: 8 kB / 0.6371 GB, free: 14.89 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.132e-05/0.1301, allocations: 4 kB / 0.6371 GB, free: 14.89 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.1301, allocations: 0 / 0.6371 GB, free: 14.89 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.579e-05/0.1302, allocations: 15.94 kB / 0.6371 GB, free: 14.87 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.89e-06/0.1302, allocations: 0 / 0.6371 GB, free: 14.87 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002669/0.1305, allocations: 82.86 kB / 0.6372 GB, free: 14.79 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.333e-05/0.1305, allocations: 8 kB / 0.6372 GB, free: 14.79 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 18 (occSchWee.tNext,$PRE.occSchWee.tNext,occSchWee.tNonOcc,$PRE.occSchWee.tNonOcc,occSchWee.tOcc,$PRE.occSchWee.tOcc,occSchWee.occupied,$PRE.occSchWee.occupied,$whenCondition2,occSchDay.tNext,$PRE.occSchDay.tNext,occSchDay.tNonOcc,$PRE.occSchDay.tNonOcc,occSchDay.tOcc,$PRE.occSchDay.tOcc,occSchDay.occupied,$PRE.occSchDay.occupied,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0001022/0.1306, allocations: 125.8 kB / 0.6373 GB, free: 14.65 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.285e-05/0.1307, allocations: 15.83 kB / 0.6373 GB, free: 14.64 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.68e-05/0.1307, allocations: 12.72 kB / 0.6374 GB, free: 14.62 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.1307, allocations: 4 kB / 0.6374 GB, free: 14.62 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.1307, allocations: 4 kB / 0.6374 GB, free: 14.61 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.1307, allocations: 0 / 0.6374 GB, free: 14.61 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000161/0.1309, allocations: 197.5 kB / 0.6375 GB, free: 14.37 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.1309, allocations: 0 / 0.6375 GB, free: 14.37 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.28e-05/0.131, allocations: 15.88 kB / 0.6376 GB, free: 14.36 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.131, allocations: 0 / 0.6376 GB, free: 14.36 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.107e-05/0.131, allocations: 8 kB / 0.6376 GB, free: 14.35 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.131, allocations: 0 / 0.6376 GB, free: 14.35 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.131, allocations: 0 / 0.6376 GB, free: 14.35 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002141/0.1312, allocations: 181.8 kB / 0.6377 GB, free: 14.15 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.544e-05/0.1313, allocations: 92.94 kB / 0.6378 GB, free: 14.04 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.876e-05/0.1313, allocations: 0 / 0.6378 GB, free: 14.04 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.8e-05/0.1313, allocations: 4 kB / 0.6378 GB, free: 14.04 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.975e-05/0.1314, allocations: 7.984 kB / 0.6378 GB, free: 14.03 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.163e-06/0.1314, allocations: 4 kB / 0.6379 GB, free: 14.02 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.996e-05/0.1315, allocations: 114.3 kB / 0.638 GB, free: 13.91 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1315, allocations: 3.938 kB / 0.638 GB, free: 13.91 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003002/0.1318, allocations: 76 kB / 0.638 GB, free: 13.84 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,occSchWee.occupied,occSchWee.tOcc,occSchWee.tNonOcc,occSchWee.tNext,$whenCondition1,occSchDay.occupied,occSchDay.tOcc,occSchDay.tNonOcc,occSchDay.tNext) * Number of discrete states: 2 (occSchDay.tNext,occSchWee.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0005736/0.1324, allocations: 0.777 MB / 0.6388 GB, free: 13.03 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002604/0.1326, allocations: 167.3 kB / 0.639 GB, free: 12.85 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.1327, allocations: 4 kB / 0.639 GB, free: 12.85 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 6.589e-05/0.1327, allocations: 43.92 kB / 0.639 GB, free: 12.8 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000157/0.1329, allocations: 16.2 kB / 0.639 GB, free: 12.79 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001629/0.1345, allocations: 1.717 MB / 0.6407 GB, free: 10.98 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002899/0.1348, allocations: 0.7117 MB / 0.6414 GB, free: 10.24 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 5.282e-05/0.1349, allocations: 16.64 kB / 0.6414 GB, free: 10.22 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.72e-05/0.135, allocations: 23.44 kB / 0.6414 GB, free: 10.2 MB / 494.1 MB Notification: Performance of SimCode: time 4.5e-07/0.135, allocations: 4 kB / 0.6414 GB, free: 10.2 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02118/0.1562, allocations: 4.019 MB / 0.6454 GB, free: 6.297 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.925/7.081, allocations: 13.91 kB / 0.6454 GB, free: 6.289 MB / 494.1 MB (rm -f IBPSA_latest_IBPSA.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/IBPSA_latest_IBPSA.Controls.SetPoints.Examples.OccupancySchedule.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_SetPoints_Examples_OccupancySchedule_fmu --startTime=-86400 --stopTime=1.2096e+06 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_SetPoints_Examples_OccupancySchedule.fmu > IBPSA_latest_IBPSA.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1)