Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule") translateModel(BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7107/0.7107, allocations: 128.7 MB / 144.5 MB, free: 1.336 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001312/0.001312, allocations: 189.5 kB / 174.2 MB, free: 5.91 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.391/1.391, allocations: 205 MB / 408.9 MB, free: 9.703 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009081/0.0009081, allocations: 111.8 kB / 485.1 MB, free: 13.55 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009516/0.0009517, allocations: 63.05 kB / 0.558 GB, free: 97.63 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1097, allocations: 75.48 MB / 0.6317 GB, free: 33 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule): time 0.002103/0.1119, allocations: 1.491 MB / 0.6331 GB, free: 31.49 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.000691/0.1126, allocations: 447.6 kB / 0.6336 GB, free: 31.05 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.143e-05/0.1126, allocations: 7.938 kB / 0.6336 GB, free: 31.05 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 7.002e-05/0.1127, allocations: 3.938 kB / 0.6336 GB, free: 31.04 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001335/0.1129, allocations: 19.91 kB / 0.6336 GB, free: 31.02 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004319/0.1133, allocations: 198.5 kB / 0.6338 GB, free: 30.83 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001851/0.1135, allocations: 283.7 kB / 0.6341 GB, free: 30.55 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.642e-05/0.1136, allocations: 8.172 kB / 0.6341 GB, free: 30.54 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001607/0.1137, allocations: 139.7 kB / 0.6342 GB, free: 30.41 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001531/0.1139, allocations: 127.6 kB / 0.6343 GB, free: 30.28 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 4.777e-05/0.1139, allocations: 16 kB / 0.6343 GB, free: 30.27 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.663e-05/0.114, allocations: 35.98 kB / 0.6344 GB, free: 30.23 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 6.471e-05/0.1141, allocations: 47.88 kB / 0.6344 GB, free: 30.18 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000101/0.1142, allocations: 99.67 kB / 0.6345 GB, free: 30.09 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002217/0.1144, allocations: 275.3 kB / 0.6348 GB, free: 29.82 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.1144, allocations: 0 / 0.6348 GB, free: 29.82 MB / 442.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.1145, allocations: 0 / 0.6348 GB, free: 29.82 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.657e-06/0.1145, allocations: 0 / 0.6348 GB, free: 29.82 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0007831/0.1152, allocations: 0.5765 MB / 0.6353 GB, free: 29.18 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.966e-05/0.1153, allocations: 8.031 kB / 0.6353 GB, free: 29.17 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.035e-05/0.1154, allocations: 28.75 kB / 0.6354 GB, free: 29.14 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002104/0.1156, allocations: 258.7 kB / 0.6356 GB, free: 28.85 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.991e-05/0.1156, allocations: 28.25 kB / 0.6356 GB, free: 28.82 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.189e-05/0.1157, allocations: 32.36 kB / 0.6357 GB, free: 28.79 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003974/0.1161, allocations: 249.5 kB / 0.6359 GB, free: 28.53 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.1161, allocations: 4.125 kB / 0.6359 GB, free: 28.53 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.395e-05/0.1161, allocations: 15.91 kB / 0.6359 GB, free: 28.51 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.1161, allocations: 0 / 0.6359 GB, free: 28.51 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002387/0.1164, allocations: 103.9 kB / 0.636 GB, free: 28.41 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002628/0.1167, allocations: 383.8 kB / 0.6364 GB, free: 27.98 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003269/0.117, allocations: 246.5 kB / 0.6366 GB, free: 27.7 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000225/0.1172, allocations: 139.5 kB / 0.6368 GB, free: 27.55 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.767e-05/0.1172, allocations: 0 / 0.6368 GB, free: 27.55 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004282/0.1177, allocations: 275.5 kB / 0.637 GB, free: 27.26 MB / 442.7 MB Notification: Performance of pre-optimization done (n=24): time 1.523e-06/0.1177, allocations: 0 / 0.637 GB, free: 27.26 MB / 442.7 MB Notification: Performance of matching and sorting (n=24): time 0.0009216/0.1186, allocations: 0.5333 MB / 0.6375 GB, free: 26.72 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.204e-05/0.1187, allocations: 144.4 kB / 0.6377 GB, free: 26.55 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.489e-05/0.1188, allocations: 155.4 kB / 0.6378 GB, free: 26.39 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.471e-05/0.1188, allocations: 41.7 kB / 0.6379 GB, free: 26.34 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.688e-05/0.1189, allocations: 108.6 kB / 0.638 GB, free: 26.23 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.913e-05/0.1189, allocations: 59.25 kB / 0.638 GB, free: 26.17 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001093/0.119, allocations: 85.67 kB / 0.6381 GB, free: 26.08 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 4.451e-05/0.1191, allocations: 330.8 kB / 0.6384 GB, free: 25.75 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002232/0.1193, allocations: 183.9 kB / 0.6386 GB, free: 25.57 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002188/0.1195, allocations: 223.1 kB / 0.6388 GB, free: 25.34 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000273/0.1198, allocations: 300.9 kB / 0.6391 GB, free: 25.02 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.1198, allocations: 8 kB / 0.6391 GB, free: 25.02 MB / 442.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.000759/0.1206, allocations: 0.7249 MB / 0.6398 GB, free: 24.27 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.516e-05/0.1207, allocations: 95.3 kB / 0.6399 GB, free: 24.17 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.1207, allocations: 4 kB / 0.6399 GB, free: 24.16 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.1207, allocations: 0 / 0.6399 GB, free: 24.16 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.065e-05/0.1208, allocations: 23.92 kB / 0.6399 GB, free: 24.14 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.942e-06/0.1208, allocations: 0 / 0.6399 GB, free: 24.14 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003258/0.1211, allocations: 79.73 kB / 0.64 GB, free: 24.06 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.801e-05/0.1212, allocations: 19.98 kB / 0.64 GB, free: 24.04 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 32 (occSchWee.tNonOcc,$PRE.occSchWee.tNonOcc,occSchWee.tOcc,$PRE.occSchWee.tOcc,occSchWee.iPerSto,$PRE.occSchWee.iPerSto,occSchWee.iPerSta,$PRE.occSchWee.iPerSta,occSchWee.nexStoInd,$PRE.occSchWee.nexStoInd,occSchWee.nexStaInd,$PRE.occSchWee.nexStaInd,occSchWee.occupied,$PRE.occSchWee.occupied,$whenCondition4,$whenCondition3,occSchDay.tNonOcc,$PRE.occSchDay.tNonOcc,occSchDay.tOcc,$PRE.occSchDay.tOcc,occSchDay.iPerSto,$PRE.occSchDay.iPerSto,occSchDay.iPerSta,$PRE.occSchDay.iPerSta,occSchDay.nexStoInd,$PRE.occSchDay.nexStoInd,occSchDay.nexStaInd,$PRE.occSchDay.nexStaInd,occSchDay.occupied,$PRE.occSchDay.occupied,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 2 * 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.0001054/0.1213, allocations: 168.2 kB / 0.6402 GB, free: 23.87 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.556e-05/0.1213, allocations: 27.73 kB / 0.6402 GB, free: 23.84 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.869e-05/0.1214, allocations: 16.72 kB / 0.6402 GB, free: 23.82 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.758e-06/0.1214, allocations: 4 kB / 0.6402 GB, free: 23.82 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.1214, allocations: 0 / 0.6402 GB, free: 23.82 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.1214, allocations: 4 kB / 0.6402 GB, free: 23.82 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001388/0.1215, allocations: 261.5 kB / 0.6405 GB, free: 23.51 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.1215, allocations: 0 / 0.6405 GB, free: 23.51 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.012e-05/0.1216, allocations: 15.94 kB / 0.6405 GB, free: 23.5 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.1216, allocations: 3.938 kB / 0.6405 GB, free: 23.49 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.457e-05/0.1216, allocations: 15.97 kB / 0.6405 GB, free: 23.48 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.1216, allocations: 4 kB / 0.6405 GB, free: 23.47 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.1216, allocations: 0 / 0.6405 GB, free: 23.47 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009492/0.1226, allocations: 1.168 MB / 0.6417 GB, free: 22.24 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.386e-05/0.1226, allocations: 92.86 kB / 0.6418 GB, free: 22.13 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.835e-05/0.1227, allocations: 19.98 kB / 0.6418 GB, free: 22.11 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001234/0.1228, allocations: 19.92 kB / 0.6418 GB, free: 22.09 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.136e-05/0.1229, allocations: 27.97 kB / 0.6418 GB, free: 22.06 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.477e-05/0.1229, allocations: 19.97 kB / 0.6418 GB, free: 22.04 MB / 442.7 MB Notification: Performance of sorting global known variables: time 5.473e-05/0.123, allocations: 118.7 kB / 0.642 GB, free: 21.93 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.6e-07/0.123, allocations: 0 / 0.642 GB, free: 21.93 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003796/0.1234, allocations: 83.92 kB / 0.642 GB, free: 21.85 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition3,$whenCondition4,occSchWee.occupied,occSchWee.nexStaInd,occSchWee.nexStoInd,occSchWee.iPerSta,occSchWee.iPerSto,occSchWee.tOcc,occSchWee.tNonOcc,$whenCondition1,$whenCondition2,occSchDay.occupied,occSchDay.nexStaInd,occSchDay.nexStoInd,occSchDay.iPerSta,occSchDay.iPerSto,occSchDay.tOcc,occSchDay.tNonOcc) * Number of discrete states: 14 (occSchDay.tNonOcc,occSchDay.iPerSto,occSchDay.nexStoInd,occSchDay.occupied,occSchDay.tOcc,occSchDay.nexStaInd,occSchDay.iPerSta,occSchWee.tNonOcc,occSchWee.iPerSto,occSchWee.nexStoInd,occSchWee.occupied,occSchWee.tOcc,occSchWee.nexStaInd,occSchWee.iPerSta) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 14 * 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.0001495/0.1235, allocations: 145.3 kB / 0.6422 GB, free: 21.7 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0006922/0.1242, allocations: 0.7092 MB / 0.6429 GB, free: 20.96 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1242, allocations: 0 / 0.6429 GB, free: 20.96 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002625/0.1245, allocations: 163.9 kB / 0.643 GB, free: 20.8 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001911/0.1247, allocations: 15.97 kB / 0.643 GB, free: 20.79 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007202/0.1254, allocations: 0.5845 MB / 0.6436 GB, free: 20.16 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001453/0.1256, allocations: 0.7286 MB / 0.6443 GB, free: 19.4 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 3.085e-05/0.1256, allocations: 9.438 kB / 0.6443 GB, free: 19.39 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.229e-05/0.1257, allocations: 19.42 kB / 0.6443 GB, free: 19.38 MB / 442.7 MB Notification: Performance of SimCode: time 3.2e-07/0.1257, allocations: 0 / 0.6443 GB, free: 19.38 MB / 442.7 MB Notification: Performance of Templates: time 0.005544/0.1312, allocations: 3.558 MB / 0.6478 GB, free: 15.86 MB / 442.7 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule.sim & ./BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1)