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: "" <> buildModelFMU(BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Controls_SetPoints_Examples_OccupancySchedule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule,fileNamePrefix="BuildSysPro_BuildSysPro_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.001036/0.001036, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00109/0.00109, allocations: 194.3 kB / 16.13 MB, free: 6.664 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.22/1.22, allocations: 222.9 MB / 239.8 MB, free: 4.57 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.8895/0.8895, allocations: 143 MB / 433 MB, free: 11.66 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00109/0.00109, allocations: 59.91 kB / 0.5136 GB, free: 12.05 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1403/0.1414, allocations: 82.04 MB / 0.5937 GB, free: 9.984 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule): time 0.002201/0.1436, allocations: 1.474 MB / 0.5952 GB, free: 8.492 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008223/0.1444, allocations: 0.5179 MB / 0.5957 GB, free: 7.973 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.415e-05/0.1445, allocations: 0 / 0.5957 GB, free: 7.973 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 6.471e-05/0.1445, allocations: 11.88 kB / 0.5957 GB, free: 7.961 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.62e-05/0.1446, allocations: 11.92 kB / 0.5957 GB, free: 7.949 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005339/0.1451, allocations: 187.8 kB / 0.5959 GB, free: 7.77 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001674/0.1453, allocations: 131.8 kB / 0.596 GB, free: 7.641 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.555e-05/0.1454, allocations: 15.97 kB / 0.596 GB, free: 7.625 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.534e-05/0.1454, allocations: 55.78 kB / 0.5961 GB, free: 7.57 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.341e-05/0.1455, allocations: 35.91 kB / 0.5961 GB, free: 7.535 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.637e-05/0.1455, allocations: 15.94 kB / 0.5961 GB, free: 7.52 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000219/0.1458, allocations: 163.8 kB / 0.5963 GB, free: 7.359 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.535e-05/0.1458, allocations: 23.97 kB / 0.5963 GB, free: 7.336 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.322e-05/0.1459, allocations: 55.72 kB / 0.5963 GB, free: 7.281 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002627/0.1462, allocations: 227.7 kB / 0.5966 GB, free: 7.059 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.1462, allocations: 0 / 0.5966 GB, free: 7.059 MB / 0.4981 GB Notification: Performance of FrontEnd: time 6.52e-07/0.1462, allocations: 0 / 0.5966 GB, free: 7.059 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.657e-06/0.1462, allocations: 0 / 0.5966 GB, free: 7.059 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.000482/0.1467, allocations: 447.1 kB / 0.597 GB, free: 6.57 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.335e-05/0.1467, allocations: 12.03 kB / 0.597 GB, free: 6.559 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.43e-05/0.1468, allocations: 38.73 kB / 0.597 GB, free: 6.512 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.252e-05/0.1468, allocations: 16.78 kB / 0.5971 GB, free: 6.496 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001792/0.147, allocations: 214.6 kB / 0.5973 GB, free: 6.25 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.003e-05/0.147, allocations: 4.375 kB / 0.5973 GB, free: 6.246 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.718e-05/0.147, allocations: 16.38 kB / 0.5973 GB, free: 6.23 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001383/0.1472, allocations: 83.94 kB / 0.5974 GB, free: 6.137 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.802e-06/0.1472, allocations: 3.938 kB / 0.5974 GB, free: 6.133 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.276e-06/0.1472, allocations: 4 kB / 0.5974 GB, free: 6.129 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.1472, allocations: 0 / 0.5974 GB, free: 6.129 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.007e-05/0.1473, allocations: 39.92 kB / 0.5974 GB, free: 6.09 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002051/0.1475, allocations: 226.5 kB / 0.5976 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001048/0.1476, allocations: 81.19 kB / 0.5977 GB, free: 5.719 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.943e-05/0.1477, allocations: 65.8 kB / 0.5978 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.165e-06/0.1477, allocations: 0 / 0.5978 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000179/0.1479, allocations: 116.9 kB / 0.5979 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 1.012e-06/0.1479, allocations: 0 / 0.5979 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14): time 0.000295/0.1482, allocations: 185.5 kB / 0.598 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.172e-05/0.1483, allocations: 85.11 kB / 0.5981 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001175/0.1484, allocations: 149.8 kB / 0.5983 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.907e-05/0.1484, allocations: 33.7 kB / 0.5983 GB, free: 5.031 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.927e-05/0.1485, allocations: 108.4 kB / 0.5984 GB, free: 4.918 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.716e-05/0.1485, allocations: 39.48 kB / 0.5984 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.445e-05/0.1486, allocations: 49.7 kB / 0.5985 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.545e-05/0.1487, allocations: 322.8 kB / 0.5988 GB, free: 4.5 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.018e-05/0.1488, allocations: 39.98 kB / 0.5988 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001897/0.149, allocations: 210 kB / 0.599 GB, free: 4.203 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000128/0.1491, allocations: 101.6 kB / 0.5991 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.1491, allocations: 4 kB / 0.5991 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002051/0.1493, allocations: 157.9 kB / 0.5993 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/0.1493, allocations: 4 kB / 0.5993 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.987e-05/0.1494, allocations: 4 kB / 0.5993 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.014e-05/0.1494, allocations: 0 / 0.5993 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.754e-05/0.1494, allocations: 15.94 kB / 0.5993 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.1495, allocations: 0 / 0.5993 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002499/0.1497, allocations: 79.73 kB / 0.5994 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.175e-05/0.1497, allocations: 8.156 kB / 0.5994 GB, free: 3.824 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 9.266e-05/0.1498, allocations: 129.9 kB / 0.5995 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.965e-05/0.1499, allocations: 15.83 kB / 0.5995 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.688e-05/0.1499, allocations: 16.72 kB / 0.5995 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.1499, allocations: 4 kB / 0.5996 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.1499, allocations: 0 / 0.5996 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.676e-06/0.1499, allocations: 0 / 0.5996 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001298/0.1501, allocations: 197.4 kB / 0.5997 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.021e-06/0.1501, allocations: 0 / 0.5997 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.124e-05/0.1501, allocations: 12 kB / 0.5998 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.1501, allocations: 0 / 0.5998 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.087e-06/0.1501, allocations: 7.938 kB / 0.5998 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.1501, allocations: 0 / 0.5998 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.1501, allocations: 3.984 kB / 0.5998 GB, free: 3.383 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002009/0.1503, allocations: 185.8 kB / 0.5999 GB, free: 3.18 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.576e-05/0.1504, allocations: 88.86 kB / 0.6 GB, free: 3.074 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.737e-05/0.1504, allocations: 4 kB / 0.6 GB, free: 3.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.967e-05/0.1504, allocations: 0 / 0.6 GB, free: 3.07 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.66e-05/0.1505, allocations: 15.92 kB / 0.6 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.095e-06/0.1505, allocations: 4 kB / 0.6 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.149e-05/0.1506, allocations: 121.8 kB / 0.6002 GB, free: 2.934 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1506, allocations: 0 / 0.6002 GB, free: 2.934 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002662/0.1509, allocations: 72 kB / 0.6002 GB, free: 2.863 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.0005396/0.1514, allocations: 0.78 MB / 0.601 GB, free: 2.055 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002203/0.1516, allocations: 167.2 kB / 0.6012 GB, free: 1.879 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.1516, allocations: 0 / 0.6012 GB, free: 1.879 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.137e-05/0.1517, allocations: 43.92 kB / 0.6012 GB, free: 1.836 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001564/0.1519, allocations: 11.98 kB / 0.6012 GB, free: 1.824 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001485/0.1534, allocations: 1.714 MB / 0.6029 GB, free: 16 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2162/0.3696, allocations: 0.7005 MB / 0.6036 GB, free: 43.37 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.486e-05/0.3697, allocations: 10.16 kB / 0.6036 GB, free: 43.36 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.494e-05/0.3697, allocations: 27.95 kB / 0.6036 GB, free: 43.36 MB / 0.4981 GB Notification: Performance of SimCode: time 5.21e-07/0.3697, allocations: 0 / 0.6036 GB, free: 43.36 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01167/0.3814, allocations: 3.755 MB / 0.6073 GB, free: 43.11 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001335/0.3816, allocations: 213.5 kB / 0.6075 GB, free: 42.85 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.586/1.967, allocations: 2.078 kB / 0.6075 GB, free: 42.85 MB / 0.4981 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Controls_SetPoints_Examples_OccupancySchedule_fmu --startTime=-86400 --stopTime=1.2096e+06 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Controls_SetPoints_Examples_OccupancySchedule.fmu > BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1)