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.000865/0.0008649, allocations: 98.58 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009127/0.0009127, allocations: 185 kB / 16.92 MB, free: 6.773 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.232/1.232, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6449/0.6449, allocations: 115.5 MB / 407.6 MB, free: 2.684 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002694/0.0002694, allocations: 8 kB / 495.9 MB, free: 6.25 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1148/0.1151, allocations: 77.53 MB / 0.56 GB, free: 8.93 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.SetPoints.Examples.OccupancySchedule): time 0.001358/0.1165, allocations: 1.122 MB / 0.5611 GB, free: 7.797 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008268/0.1173, allocations: 0.5102 MB / 0.5616 GB, free: 7.285 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.53e-05/0.1174, allocations: 3.938 kB / 0.5616 GB, free: 7.281 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 5.723e-05/0.1174, allocations: 3.938 kB / 0.5616 GB, free: 7.277 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.643e-05/0.1175, allocations: 11.97 kB / 0.5616 GB, free: 7.266 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005898/0.1181, allocations: 199 kB / 0.5618 GB, free: 7.074 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001762/0.1183, allocations: 139.8 kB / 0.562 GB, free: 6.938 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.969e-05/0.1183, allocations: 4 kB / 0.562 GB, free: 6.934 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.705e-05/0.1184, allocations: 47.91 kB / 0.562 GB, free: 6.887 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.127e-05/0.1185, allocations: 47.77 kB / 0.5621 GB, free: 6.84 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.103e-05/0.1185, allocations: 4 kB / 0.5621 GB, free: 6.836 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002312/0.1187, allocations: 167.8 kB / 0.5622 GB, free: 6.672 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 5.684e-05/0.1188, allocations: 23.91 kB / 0.5623 GB, free: 6.648 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 7.605e-05/0.1189, allocations: 77.42 kB / 0.5623 GB, free: 6.566 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002752/0.1192, allocations: 227.7 kB / 0.5625 GB, free: 6.344 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.1192, allocations: 0 / 0.5625 GB, free: 6.344 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.936e-06/0.1192, allocations: 3.984 kB / 0.5625 GB, free: 6.34 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.657e-06/0.1192, allocations: 4 kB / 0.5626 GB, free: 6.336 MB / 430.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.0004572/0.1197, allocations: 415.2 kB / 0.5629 GB, free: 5.879 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.258e-05/0.1197, allocations: 8.031 kB / 0.563 GB, free: 5.871 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.611e-05/0.1197, allocations: 38.75 kB / 0.563 GB, free: 5.824 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.88e-05/0.1198, allocations: 12.84 kB / 0.563 GB, free: 5.812 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001769/0.12, allocations: 213.8 kB / 0.5632 GB, free: 5.566 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.391e-05/0.12, allocations: 4.375 kB / 0.5632 GB, free: 5.562 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.802e-05/0.12, allocations: 16.38 kB / 0.5632 GB, free: 5.547 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001409/0.1202, allocations: 83.89 kB / 0.5633 GB, free: 5.453 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.1202, allocations: 3.938 kB / 0.5633 GB, free: 5.449 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.328e-06/0.1202, allocations: 0 / 0.5633 GB, free: 5.449 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.1202, allocations: 4 kB / 0.5633 GB, free: 5.445 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.063e-05/0.1203, allocations: 39.91 kB / 0.5634 GB, free: 5.406 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002096/0.1205, allocations: 230.4 kB / 0.5636 GB, free: 5.129 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001037/0.1206, allocations: 85.23 kB / 0.5637 GB, free: 5.027 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.002e-05/0.1207, allocations: 53.81 kB / 0.5637 GB, free: 4.969 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.267e-06/0.1207, allocations: 0 / 0.5637 GB, free: 4.969 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001677/0.1209, allocations: 125 kB / 0.5638 GB, free: 4.828 MB / 430.1 MB Notification: Performance of pre-optimization done (n=14): time 1.222e-06/0.1209, allocations: 0 / 0.5638 GB, free: 4.828 MB / 430.1 MB Notification: Performance of matching and sorting (n=14): time 0.0003013/0.1212, allocations: 185.6 kB / 0.564 GB, free: 4.641 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.059e-05/0.1213, allocations: 89.09 kB / 0.5641 GB, free: 4.535 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001029/0.1214, allocations: 143.7 kB / 0.5642 GB, free: 4.387 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.033e-05/0.1214, allocations: 37.7 kB / 0.5643 GB, free: 4.344 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.658e-05/0.1215, allocations: 96.52 kB / 0.5644 GB, free: 4.242 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.67e-05/0.1215, allocations: 43.44 kB / 0.5644 GB, free: 4.199 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.294e-05/0.1216, allocations: 29.7 kB / 0.5644 GB, free: 4.164 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.153e-05/0.1217, allocations: 330.8 kB / 0.5647 GB, free: 3.832 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.365e-05/0.1217, allocations: 43.92 kB / 0.5648 GB, free: 3.789 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001816/0.1219, allocations: 199.3 kB / 0.565 GB, free: 3.539 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001254/0.122, allocations: 93.09 kB / 0.5651 GB, free: 3.445 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.1221, allocations: 0 / 0.5651 GB, free: 3.445 MB / 430.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002164/0.1223, allocations: 173.4 kB / 0.5652 GB, free: 3.27 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.1223, allocations: 4 kB / 0.5652 GB, free: 3.266 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.741e-05/0.1223, allocations: 4 kB / 0.5652 GB, free: 3.262 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.947e-06/0.1223, allocations: 0 / 0.5652 GB, free: 3.262 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.712e-05/0.1224, allocations: 11.94 kB / 0.5652 GB, free: 3.25 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.1224, allocations: 4 kB / 0.5652 GB, free: 3.246 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002983/0.1227, allocations: 95.73 kB / 0.5653 GB, free: 3.152 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.047e-05/0.1227, allocations: 4 kB / 0.5653 GB, free: 3.148 MB / 430.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 9.523e-05/0.1228, allocations: 125.8 kB / 0.5655 GB, free: 3.016 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.718e-05/0.1229, allocations: 11.84 kB / 0.5655 GB, free: 3.004 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.859e-05/0.1229, allocations: 20.7 kB / 0.5655 GB, free: 2.984 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.1229, allocations: 0 / 0.5655 GB, free: 2.984 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.1229, allocations: 8 kB / 0.5655 GB, free: 2.977 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.1229, allocations: 0 / 0.5655 GB, free: 2.977 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001305/0.1231, allocations: 197.5 kB / 0.5657 GB, free: 2.734 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.1231, allocations: 0 / 0.5657 GB, free: 2.734 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.516e-05/0.1231, allocations: 8 kB / 0.5657 GB, free: 2.727 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.1231, allocations: 3.938 kB / 0.5657 GB, free: 2.723 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.715e-06/0.1231, allocations: 0 / 0.5657 GB, free: 2.723 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/0.1231, allocations: 4 kB / 0.5657 GB, free: 2.719 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.1231, allocations: 0 / 0.5657 GB, free: 2.719 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002071/0.1233, allocations: 182.4 kB / 0.5659 GB, free: 2.52 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.131e-05/0.1234, allocations: 96.84 kB / 0.566 GB, free: 2.406 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.042e-05/0.1234, allocations: 8 kB / 0.566 GB, free: 2.398 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.158e-05/0.1235, allocations: 0 / 0.566 GB, free: 2.398 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.291e-05/0.1235, allocations: 7.984 kB / 0.566 GB, free: 2.391 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.033e-06/0.1235, allocations: 4 kB / 0.566 GB, free: 2.387 MB / 430.1 MB Notification: Performance of sorting global known variables: time 7.287e-05/0.1236, allocations: 115.2 kB / 0.5661 GB, free: 2.273 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1236, allocations: 4 kB / 0.5661 GB, free: 2.27 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002809/0.1239, allocations: 68 kB / 0.5662 GB, free: 2.203 MB / 430.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.0005241/0.1244, allocations: 0.7725 MB / 0.5669 GB, free: 1.402 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002188/0.1247, allocations: 171.4 kB / 0.5671 GB, free: 1.223 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1247, allocations: 4 kB / 0.5671 GB, free: 1.219 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 6.369e-05/0.1247, allocations: 47.92 kB / 0.5671 GB, free: 1.172 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001592/0.1249, allocations: 17.94 kB / 0.5672 GB, free: 1.156 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001476/0.1264, allocations: 1.707 MB / 0.5688 GB, free: 15.34 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002153/0.1266, allocations: 0.7011 MB / 0.5695 GB, free: 14.62 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.706e-05/0.1267, allocations: 20.77 kB / 0.5695 GB, free: 14.6 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.095e-05/0.1267, allocations: 23.44 kB / 0.5695 GB, free: 14.57 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1267, allocations: 0 / 0.5695 GB, free: 14.57 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08213/0.2088, allocations: 3.63 MB / 0.5731 GB, free: 11.11 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001697/0.209, allocations: 201.6 kB / 0.5733 GB, free: 10.86 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.706/1.915, allocations: 4 kB / 0.5733 GB, free: 10.85 MB / 446.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)