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.0009995/0.0009994, 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.0009662/0.0009662, allocations: 195.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.233/1.233, allocations: 222.9 MB / 240.2 MB, free: 4.422 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.8905/0.8905, allocations: 143 MB / 433.4 MB, free: 11.45 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001143/0.001143, allocations: 63.91 kB / 0.5143 GB, free: 11.58 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1233/0.1244, allocations: 82.04 MB / 0.5944 GB, free: 9.504 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule): time 0.002232/0.1267, allocations: 1.406 MB / 0.5958 GB, free: 8.082 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0007393/0.1275, allocations: 0.506 MB / 0.5963 GB, free: 7.574 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.918e-05/0.1275, allocations: 4 kB / 0.5963 GB, free: 7.57 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 6.148e-05/0.1276, allocations: 3.938 kB / 0.5963 GB, free: 7.566 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.458e-05/0.1276, allocations: 11.92 kB / 0.5963 GB, free: 7.555 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000611/0.1283, allocations: 230.6 kB / 0.5965 GB, free: 7.332 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001614/0.1284, allocations: 139.8 kB / 0.5966 GB, free: 7.195 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.667e-05/0.1285, allocations: 7.984 kB / 0.5966 GB, free: 7.188 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.974e-05/0.1285, allocations: 59.78 kB / 0.5967 GB, free: 7.129 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.858e-05/0.1286, allocations: 43.89 kB / 0.5967 GB, free: 7.086 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.503e-05/0.1286, allocations: 8 kB / 0.5967 GB, free: 7.078 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002194/0.1289, allocations: 171.8 kB / 0.5969 GB, free: 6.91 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.196e-05/0.1289, allocations: 39.89 kB / 0.5969 GB, free: 6.871 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.795e-05/0.129, allocations: 51.73 kB / 0.597 GB, free: 6.82 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002599/0.1293, allocations: 235.7 kB / 0.5972 GB, free: 6.59 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.1293, allocations: 0 / 0.5972 GB, free: 6.59 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.322e-06/0.1293, allocations: 0 / 0.5972 GB, free: 6.59 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.409e-06/0.1293, allocations: 0 / 0.5972 GB, free: 6.59 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.0004584/0.1298, allocations: 447 kB / 0.5976 GB, free: 6.102 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.955e-05/0.1298, allocations: 8.031 kB / 0.5977 GB, free: 6.094 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.16e-05/0.1298, allocations: 42.73 kB / 0.5977 GB, free: 6.043 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.286e-05/0.1299, allocations: 12.84 kB / 0.5977 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000169/0.1301, allocations: 215.5 kB / 0.5979 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.057e-05/0.1301, allocations: 4.375 kB / 0.5979 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.65e-05/0.1301, allocations: 12.38 kB / 0.5979 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001265/0.1302, allocations: 91.88 kB / 0.598 GB, free: 5.668 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.1303, allocations: 3.938 kB / 0.598 GB, free: 5.664 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.045e-06/0.1303, allocations: 0 / 0.598 GB, free: 5.664 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.1303, allocations: 4 kB / 0.598 GB, free: 5.66 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.298e-05/0.1303, allocations: 35.92 kB / 0.5981 GB, free: 5.625 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001925/0.1305, allocations: 230.5 kB / 0.5983 GB, free: 5.348 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.345e-05/0.1306, allocations: 81.25 kB / 0.5984 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.392e-05/0.1307, allocations: 53.81 kB / 0.5984 GB, free: 5.191 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.179e-05/0.1307, allocations: 7.922 kB / 0.5984 GB, free: 5.184 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001433/0.1309, allocations: 112.9 kB / 0.5985 GB, free: 5.055 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 1.112e-06/0.1309, allocations: 0 / 0.5985 GB, free: 5.055 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14): time 0.0002826/0.1312, allocations: 189.5 kB / 0.5987 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.486e-05/0.1312, allocations: 89.11 kB / 0.5988 GB, free: 4.758 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.956e-05/0.1313, allocations: 141.8 kB / 0.5989 GB, free: 4.609 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.095e-05/0.1314, allocations: 41.7 kB / 0.599 GB, free: 4.562 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.05e-05/0.1314, allocations: 100.4 kB / 0.5991 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.673e-05/0.1315, allocations: 35.55 kB / 0.5991 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.365e-05/0.1315, allocations: 49.7 kB / 0.5991 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.728e-05/0.1316, allocations: 326.8 kB / 0.5995 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.951e-05/0.1317, allocations: 47.92 kB / 0.5995 GB, free: 3.992 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001751/0.1319, allocations: 208.8 kB / 0.5997 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000118/0.132, allocations: 97.69 kB / 0.5998 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.132, allocations: 0 / 0.5998 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001971/0.1322, allocations: 173.3 kB / 0.6 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.049e-05/0.1322, allocations: 4 kB / 0.6 GB, free: 3.457 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.739e-05/0.1323, allocations: 4 kB / 0.6 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.012e-05/0.1323, allocations: 0 / 0.6 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.595e-05/0.1323, allocations: 15.94 kB / 0.6 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.1324, allocations: 0 / 0.6 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002476/0.1326, allocations: 79.73 kB / 0.6001 GB, free: 3.359 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.498e-06/0.1326, allocations: 4 kB / 0.6001 GB, free: 3.355 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.11e-05/0.1327, allocations: 137.9 kB / 0.6002 GB, free: 3.211 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.908e-05/0.1327, allocations: 11.84 kB / 0.6002 GB, free: 3.199 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.644e-05/0.1328, allocations: 16.7 kB / 0.6002 GB, free: 3.18 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.1328, allocations: 0 / 0.6002 GB, free: 3.18 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.1328, allocations: 0 / 0.6002 GB, free: 3.18 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.1328, allocations: 4 kB / 0.6002 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001267/0.1329, allocations: 197.5 kB / 0.6004 GB, free: 2.934 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.1329, allocations: 0 / 0.6004 GB, free: 2.934 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.234e-05/0.133, allocations: 7.938 kB / 0.6004 GB, free: 2.926 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.988e-06/0.133, allocations: 4 kB / 0.6004 GB, free: 2.922 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.805e-06/0.133, allocations: 0 / 0.6004 GB, free: 2.922 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.133, allocations: 4 kB / 0.6004 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.133, allocations: 4 kB / 0.6004 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001932/0.1332, allocations: 181.7 kB / 0.6006 GB, free: 2.715 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.937e-05/0.1332, allocations: 96.84 kB / 0.6007 GB, free: 2.602 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.775e-05/0.1333, allocations: 0 / 0.6007 GB, free: 2.602 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.269e-05/0.1333, allocations: 8 kB / 0.6007 GB, free: 2.594 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.809e-05/0.1334, allocations: 11.98 kB / 0.6007 GB, free: 2.582 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.721e-06/0.1334, allocations: 0 / 0.6007 GB, free: 2.582 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.021e-05/0.1334, allocations: 117.3 kB / 0.6008 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1335, allocations: 3.938 kB / 0.6008 GB, free: 2.465 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002661/0.1337, allocations: 76 kB / 0.6009 GB, free: 2.391 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.0005312/0.1343, allocations: 0.7741 MB / 0.6017 GB, free: 1.586 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000233/0.1345, allocations: 163.3 kB / 0.6018 GB, free: 1.414 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.1345, allocations: 3.938 kB / 0.6018 GB, free: 1.41 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.239e-05/0.1346, allocations: 47.92 kB / 0.6019 GB, free: 1.363 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001551/0.1347, allocations: 14.48 kB / 0.6019 GB, free: 1.352 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1952/0.33, allocations: 1.689 MB / 0.6035 GB, free: 43.19 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001151/0.3301, allocations: 0.7003 MB / 0.6042 GB, free: 42.5 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.187e-05/0.3302, allocations: 8.5 kB / 0.6042 GB, free: 42.49 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.099e-05/0.3303, allocations: 31.12 kB / 0.6042 GB, free: 42.49 MB / 0.4981 GB Notification: Performance of SimCode: time 9.12e-07/0.3303, allocations: 0 / 0.6042 GB, free: 42.49 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.236/2.566, allocations: 3.968 MB / 0.6081 GB, free: 42.11 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.15/12.72, allocations: 8.359 kB / 0.6081 GB, free: 42.11 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)