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.001129/0.001129, allocations: 108 kB / 15.61 MB, free: 152 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.00112/0.00112, allocations: 194.2 kB / 16.53 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.165/1.165, allocations: 222.9 MB / 240.2 MB, free: 4.426 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.8503/0.8503, allocations: 143 MB / 433.4 MB, free: 11.46 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001073/0.001073, allocations: 59.91 kB / 0.5143 GB, free: 11.63 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1232/0.1243, allocations: 82.04 MB / 0.5944 GB, free: 9.551 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule): time 0.00209/0.1264, allocations: 1.413 MB / 0.5958 GB, free: 8.121 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0007184/0.1272, allocations: 0.4982 MB / 0.5962 GB, free: 7.621 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.893e-05/0.1272, allocations: 4 kB / 0.5963 GB, free: 7.617 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 5.958e-05/0.1273, allocations: 7.922 kB / 0.5963 GB, free: 7.609 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.12e-05/0.1273, allocations: 7.938 kB / 0.5963 GB, free: 7.602 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005856/0.1279, allocations: 230.3 kB / 0.5965 GB, free: 7.379 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001578/0.1281, allocations: 143.8 kB / 0.5966 GB, free: 7.238 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.389e-05/0.1281, allocations: 7.984 kB / 0.5966 GB, free: 7.23 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.029e-05/0.1282, allocations: 55.84 kB / 0.5967 GB, free: 7.176 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.392e-05/0.1283, allocations: 51.81 kB / 0.5967 GB, free: 7.125 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.708e-05/0.1283, allocations: 8 kB / 0.5967 GB, free: 7.117 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002174/0.1285, allocations: 167.8 kB / 0.5969 GB, free: 6.953 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.665e-05/0.1286, allocations: 35.91 kB / 0.5969 GB, free: 6.918 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.098e-05/0.1286, allocations: 59.7 kB / 0.597 GB, free: 6.859 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002529/0.1289, allocations: 235.7 kB / 0.5972 GB, free: 6.629 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.1289, allocations: 0 / 0.5972 GB, free: 6.629 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.042e-06/0.1289, allocations: 0 / 0.5972 GB, free: 6.629 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.514e-06/0.1289, allocations: 0 / 0.5972 GB, free: 6.629 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.0004656/0.1294, allocations: 447 kB / 0.5976 GB, free: 6.141 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.813e-05/0.1294, allocations: 8.031 kB / 0.5977 GB, free: 6.133 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.873e-05/0.1295, allocations: 34.75 kB / 0.5977 GB, free: 6.09 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.018e-05/0.1295, allocations: 12.84 kB / 0.5977 GB, free: 6.078 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001932/0.1297, allocations: 216 kB / 0.5979 GB, free: 5.828 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.294e-05/0.1297, allocations: 8.312 kB / 0.5979 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.614e-05/0.1298, allocations: 12.38 kB / 0.5979 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001293/0.1299, allocations: 79.95 kB / 0.598 GB, free: 5.719 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.1299, allocations: 7.938 kB / 0.598 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.795e-06/0.1299, allocations: 0 / 0.598 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.447e-06/0.1299, allocations: 0 / 0.598 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.787e-05/0.13, allocations: 39.97 kB / 0.598 GB, free: 5.672 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002112/0.1302, allocations: 234.4 kB / 0.5983 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001345/0.1304, allocations: 73.25 kB / 0.5983 GB, free: 5.301 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.417e-05/0.1304, allocations: 61.81 kB / 0.5984 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.165e-06/0.1304, allocations: 0 / 0.5984 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001665/0.1306, allocations: 120.9 kB / 0.5985 GB, free: 5.098 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 1.894e-06/0.1306, allocations: 0 / 0.5985 GB, free: 5.098 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14): time 0.000283/0.1309, allocations: 181.5 kB / 0.5987 GB, free: 4.914 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.773e-05/0.131, allocations: 97.09 kB / 0.5988 GB, free: 4.801 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001064/0.1311, allocations: 144.6 kB / 0.5989 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.729e-05/0.1311, allocations: 37.64 kB / 0.599 GB, free: 4.609 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.672e-05/0.1312, allocations: 100.5 kB / 0.599 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.693e-05/0.1312, allocations: 43.47 kB / 0.5991 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.493e-05/0.1313, allocations: 53.69 kB / 0.5991 GB, free: 4.402 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001003/0.1314, allocations: 326.8 kB / 0.5995 GB, free: 4.074 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.721e-05/0.1315, allocations: 35.98 kB / 0.5995 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001838/0.1317, allocations: 216.9 kB / 0.5997 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001212/0.1318, allocations: 97.64 kB / 0.5998 GB, free: 3.676 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.1318, allocations: 0 / 0.5998 GB, free: 3.676 MB / 0.4981 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000194/0.132, allocations: 157.4 kB / 0.5999 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.132, allocations: 8 kB / 0.5999 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.549e-05/0.132, allocations: 3.984 kB / 0.5999 GB, free: 3.504 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.1321, allocations: 4 kB / 0.6 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.766e-05/0.1321, allocations: 8 kB / 0.6 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.583e-06/0.1321, allocations: 8.562 kB / 0.6 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002429/0.1324, allocations: 76.41 kB / 0.6 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.19e-05/0.1324, allocations: 8 kB / 0.6 GB, free: 3.406 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.607e-05/0.1325, allocations: 137.9 kB / 0.6002 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.75e-05/0.1325, allocations: 15.84 kB / 0.6002 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.416e-05/0.1325, allocations: 16.7 kB / 0.6002 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-06/0.1326, allocations: 0 / 0.6002 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.1326, allocations: 4 kB / 0.6002 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.1326, allocations: 0 / 0.6002 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001247/0.1327, allocations: 197.5 kB / 0.6004 GB, free: 2.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.1327, allocations: 0 / 0.6004 GB, free: 2.98 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.158e-05/0.1327, allocations: 11.98 kB / 0.6004 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.1327, allocations: 0 / 0.6004 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/0.1328, allocations: 4 kB / 0.6004 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.1328, allocations: 7.938 kB / 0.6004 GB, free: 2.957 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.1328, allocations: 0 / 0.6004 GB, free: 2.957 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001949/0.133, allocations: 185.7 kB / 0.6006 GB, free: 2.754 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.635e-05/0.133, allocations: 92.86 kB / 0.6007 GB, free: 2.645 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.704e-05/0.133, allocations: 0 / 0.6007 GB, free: 2.645 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.895e-05/0.1331, allocations: 7.984 kB / 0.6007 GB, free: 2.637 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.964e-05/0.1331, allocations: 8 kB / 0.6007 GB, free: 2.629 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.839e-06/0.1331, allocations: 4 kB / 0.6007 GB, free: 2.625 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.041e-05/0.1332, allocations: 117.8 kB / 0.6008 GB, free: 2.512 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.01e-07/0.1332, allocations: 0 / 0.6008 GB, free: 2.512 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002498/0.1335, allocations: 79.98 kB / 0.6009 GB, free: 2.434 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.0005204/0.134, allocations: 0.7771 MB / 0.6017 GB, free: 1.625 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002148/0.1342, allocations: 171.2 kB / 0.6018 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.1342, allocations: 0 / 0.6018 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.64e-05/0.1343, allocations: 51.86 kB / 0.6019 GB, free: 1.395 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001323/0.1344, allocations: 0 / 0.6019 GB, free: 1.395 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1907/0.3251, allocations: 1.688 MB / 0.6035 GB, free: 43.17 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001077/0.3253, allocations: 0.701 MB / 0.6042 GB, free: 42.47 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.681e-05/0.3253, allocations: 12.69 kB / 0.6042 GB, free: 42.47 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.39e-05/0.3254, allocations: 27.36 kB / 0.6042 GB, free: 42.46 MB / 0.4981 GB Notification: Performance of SimCode: time 7.01e-07/0.3254, allocations: 0.9375 kB / 0.6042 GB, free: 42.46 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01651/0.3419, allocations: 3.962 MB / 0.6081 GB, free: 42.09 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.449/6.791, allocations: 14.05 kB / 0.6081 GB, free: 42.08 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 & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule_res.csv --start-time -86400 --stop-time 1.2096e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 518.4 BuildSysPro_BuildSysPro_IBPSA_Controls_SetPoints_Examples_OccupancySchedule.fmu > BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1)