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/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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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: 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001036/0.001035, allocations: 108 kB / 15.6 MB, free: 132 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.001042/0.001042, allocations: 193.1 kB / 16.53 MB, free: 6.391 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.321/1.321, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.967/0.967, allocations: 143 MB / 433.4 MB, free: 11.41 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 63.89 kB / 0.5141 GB, free: 11.68 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1489/0.1502, allocations: 82.04 MB / 0.5943 GB, free: 9.602 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule): time 0.002386/0.1526, allocations: 1.413 MB / 0.5956 GB, free: 8.172 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008122/0.1534, allocations: 0.4944 MB / 0.5961 GB, free: 7.676 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.857e-05/0.1535, allocations: 0 / 0.5961 GB, free: 7.676 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 6.788e-05/0.1535, allocations: 11.92 kB / 0.5961 GB, free: 7.664 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.623e-05/0.1536, allocations: 3.938 kB / 0.5961 GB, free: 7.66 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006528/0.1543, allocations: 237.6 kB / 0.5964 GB, free: 7.43 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001888/0.1545, allocations: 143.8 kB / 0.5965 GB, free: 7.289 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.274e-05/0.1545, allocations: 12 kB / 0.5965 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.283e-05/0.1546, allocations: 59.84 kB / 0.5966 GB, free: 7.219 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.063e-05/0.1546, allocations: 35.89 kB / 0.5966 GB, free: 7.184 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.096e-05/0.1547, allocations: 12 kB / 0.5966 GB, free: 7.172 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002437/0.1549, allocations: 163.8 kB / 0.5968 GB, free: 7.012 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.702e-05/0.155, allocations: 39.91 kB / 0.5968 GB, free: 6.973 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.528e-05/0.1551, allocations: 59.7 kB / 0.5969 GB, free: 6.914 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002855/0.1554, allocations: 231.7 kB / 0.5971 GB, free: 6.688 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1554, allocations: 7.984 kB / 0.5971 GB, free: 6.68 MB / 0.4981 GB Notification: Performance of FrontEnd: time 9.62e-07/0.1554, allocations: 0 / 0.5971 GB, free: 6.68 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.1554, allocations: 0 / 0.5971 GB, free: 6.68 MB / 0.4981 GB 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.00053/0.1559, allocations: 445.1 kB / 0.5975 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.425e-05/0.156, allocations: 8.031 kB / 0.5975 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.346e-05/0.156, allocations: 12.84 kB / 0.5975 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002065/0.1563, allocations: 212 kB / 0.5977 GB, free: 5.93 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.24e-05/0.1563, allocations: 4.375 kB / 0.5977 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.079e-05/0.1563, allocations: 12.38 kB / 0.5978 GB, free: 5.914 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001519/0.1565, allocations: 95.81 kB / 0.5979 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.1565, allocations: 4.172 kB / 0.5979 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.1565, allocations: 3.938 kB / 0.5979 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.1565, allocations: 0 / 0.5979 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.429e-05/0.1566, allocations: 39.92 kB / 0.5979 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002364/0.1568, allocations: 230.5 kB / 0.5981 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001091/0.157, allocations: 81.25 kB / 0.5982 GB, free: 5.387 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.011e-05/0.157, allocations: 57.8 kB / 0.5982 GB, free: 5.324 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.886e-06/0.1571, allocations: 3.938 kB / 0.5983 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001806/0.1572, allocations: 101.1 kB / 0.5983 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 1.152e-06/0.1572, allocations: 4 kB / 0.5984 GB, free: 5.199 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14): time 0.0003249/0.1576, allocations: 193.3 kB / 0.5985 GB, free: 5.004 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.894e-05/0.1576, allocations: 89.11 kB / 0.5986 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001182/0.1578, allocations: 144.7 kB / 0.5988 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.926e-05/0.1578, allocations: 33.7 kB / 0.5988 GB, free: 4.711 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.012e-05/0.1579, allocations: 104.5 kB / 0.5989 GB, free: 4.602 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.456e-05/0.1579, allocations: 39.53 kB / 0.5989 GB, free: 4.562 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.465e-05/0.158, allocations: 49.7 kB / 0.599 GB, free: 4.508 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000108/0.1581, allocations: 330.8 kB / 0.5993 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.311e-05/0.1582, allocations: 39.98 kB / 0.5993 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001987/0.1584, allocations: 206.3 kB / 0.5995 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001333/0.1585, allocations: 93.64 kB / 0.5996 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.1585, allocations: 0 / 0.5996 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002143/0.1587, allocations: 173.2 kB / 0.5998 GB, free: 3.609 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/0.1588, allocations: 8 kB / 0.5998 GB, free: 3.602 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.782e-05/0.1588, allocations: 4 kB / 0.5998 GB, free: 3.598 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.1588, allocations: 4 kB / 0.5998 GB, free: 3.594 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.886e-05/0.1589, allocations: 7.938 kB / 0.5998 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.1589, allocations: 8.625 kB / 0.5998 GB, free: 3.578 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002711/0.1592, allocations: 78.12 kB / 0.5999 GB, free: 3.504 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.079e-05/0.1592, allocations: 4 kB / 0.5999 GB, free: 3.5 MB / 0.4981 GB 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.0001043/0.1593, allocations: 133.8 kB / 0.6 GB, free: 3.359 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.247e-05/0.1593, allocations: 15.83 kB / 0.6 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.763e-05/0.1594, allocations: 12.72 kB / 0.6 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.1594, allocations: 0 / 0.6 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.1594, allocations: 0 / 0.6 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.1594, allocations: 0 / 0.6 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001421/0.1595, allocations: 201.5 kB / 0.6002 GB, free: 3.082 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.1595, allocations: 3.938 kB / 0.6002 GB, free: 3.078 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.378e-05/0.1596, allocations: 7.938 kB / 0.6003 GB, free: 3.07 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.1596, allocations: 4.094 kB / 0.6003 GB, free: 3.066 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.167e-06/0.1596, allocations: 7.984 kB / 0.6003 GB, free: 3.059 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.1596, allocations: 0 / 0.6003 GB, free: 3.059 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.1596, allocations: 0 / 0.6003 GB, free: 3.059 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002099/0.1598, allocations: 185.8 kB / 0.6004 GB, free: 2.855 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.085e-05/0.1599, allocations: 96.88 kB / 0.6005 GB, free: 2.742 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.914e-05/0.1599, allocations: 0 / 0.6005 GB, free: 2.742 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.389e-05/0.16, allocations: 12 kB / 0.6005 GB, free: 2.73 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.354e-05/0.16, allocations: 7.984 kB / 0.6006 GB, free: 2.723 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.52e-06/0.16, allocations: 0 / 0.6006 GB, free: 2.723 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.431e-05/0.1601, allocations: 115.2 kB / 0.6007 GB, free: 2.609 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.322e-06/0.1601, allocations: 0 / 0.6007 GB, free: 2.609 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002868/0.1604, allocations: 75.94 kB / 0.6007 GB, free: 2.535 MB / 0.4981 GB 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.0002137/0.1606, allocations: 159.2 kB / 0.6009 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002635/0.1609, allocations: 167.3 kB / 0.601 GB, free: 2.195 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.1609, allocations: 0 / 0.601 GB, free: 2.195 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.034e-05/0.161, allocations: 47.97 kB / 0.6011 GB, free: 2.148 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001852/0.1611, allocations: 11.88 kB / 0.6011 GB, free: 2.137 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003755/0.1615, allocations: 233.2 kB / 0.6013 GB, free: 1.883 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002455/0.1618, allocations: 0.7041 MB / 0.602 GB, free: 1.152 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.235e-05/0.1618, allocations: 8.656 kB / 0.602 GB, free: 1.141 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.088e-05/0.1619, allocations: 15.44 kB / 0.602 GB, free: 1.125 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.1619, allocations: 0 / 0.602 GB, free: 1.125 MB / 0.4981 GB Notification: Performance of Templates: time 0.2331/0.395, allocations: 2.533 MB / 0.6045 GB, free: 43.47 MB / 0.4981 GB 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)