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.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(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.001082/0.001082, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001002/0.001002, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.735/1.735, allocations: 223.3 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.105/1.105, allocations: 143.4 MB / 434.4 MB, free: 13.7 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004353/0.0004354, allocations: 12 kB / 0.5161 GB, free: 11.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2094/0.2098, allocations: 83.4 MB / 0.5975 GB, free: 7.711 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule): time 0.001734/0.2116, allocations: 1.12 MB / 0.5986 GB, free: 6.578 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009389/0.2126, allocations: 478.8 kB / 0.5991 GB, free: 6.109 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.096e-05/0.2127, allocations: 0 / 0.5991 GB, free: 6.109 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 7.017e-05/0.2128, allocations: 7.984 kB / 0.5991 GB, free: 6.102 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.268e-05/0.2128, allocations: 3.938 kB / 0.5991 GB, free: 6.098 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008299/0.2137, allocations: 194.9 kB / 0.5993 GB, free: 5.91 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002487/0.2139, allocations: 115.8 kB / 0.5994 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.537e-05/0.214, allocations: 15.98 kB / 0.5994 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001077/0.2141, allocations: 51.83 kB / 0.5994 GB, free: 5.73 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001049/0.2142, allocations: 39.89 kB / 0.5995 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.46e-05/0.2143, allocations: 8 kB / 0.5995 GB, free: 5.684 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003299/0.2146, allocations: 151.8 kB / 0.5996 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.684e-05/0.2147, allocations: 35.89 kB / 0.5997 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.472e-05/0.2148, allocations: 41.64 kB / 0.5997 GB, free: 5.453 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003407/0.2151, allocations: 175.9 kB / 0.5999 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.2152, allocations: 4 kB / 0.5999 GB, free: 5.277 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.996e-06/0.2152, allocations: 0 / 0.5999 GB, free: 5.277 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.522e-06/0.2152, allocations: 0 / 0.5999 GB, free: 5.277 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.0006864/0.2159, allocations: 419 kB / 0.6003 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.2159, allocations: 8.031 kB / 0.6003 GB, free: 4.812 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.432e-05/0.216, allocations: 42.56 kB / 0.6003 GB, free: 4.762 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.48e-05/0.216, allocations: 15.81 kB / 0.6003 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002667/0.2163, allocations: 212.7 kB / 0.6005 GB, free: 4.5 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.981e-05/0.2163, allocations: 8 kB / 0.6006 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.85e-05/0.2164, allocations: 12 kB / 0.6006 GB, free: 4.48 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002102/0.2166, allocations: 79.39 kB / 0.6006 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.2166, allocations: 0 / 0.6006 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.2166, allocations: 0 / 0.6006 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.087e-05/0.2167, allocations: 4 kB / 0.6006 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.292e-05/0.2167, allocations: 43.86 kB / 0.6007 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003213/0.2171, allocations: 234.4 kB / 0.6009 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001354/0.2172, allocations: 77.23 kB / 0.601 GB, free: 3.969 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.733e-05/0.2173, allocations: 61.75 kB / 0.601 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.958e-06/0.2173, allocations: 3.938 kB / 0.601 GB, free: 3.898 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002501/0.2176, allocations: 109.1 kB / 0.6012 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 1.413e-06/0.2176, allocations: 0 / 0.6012 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14): time 0.0003815/0.218, allocations: 177.5 kB / 0.6013 GB, free: 3.594 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.624e-05/0.2181, allocations: 93.08 kB / 0.6014 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001552/0.2182, allocations: 149.7 kB / 0.6016 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.954e-05/0.2183, allocations: 37.69 kB / 0.6016 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.156e-05/0.2184, allocations: 96.52 kB / 0.6017 GB, free: 3.184 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.705e-05/0.2185, allocations: 47.48 kB / 0.6017 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.005e-06/0.2185, allocations: 4 kB / 0.6017 GB, free: 3.133 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001541/0.2186, allocations: 322.8 kB / 0.602 GB, free: 2.809 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.064e-05/0.2187, allocations: 40.17 kB / 0.6021 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002313/0.219, allocations: 202.7 kB / 0.6023 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001155/0.2191, allocations: 59.86 kB / 0.6023 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.2191, allocations: 3.938 kB / 0.6023 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002529/0.2194, allocations: 161.4 kB / 0.6025 GB, free: 2.289 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/0.2194, allocations: 9.703 kB / 0.6025 GB, free: 2.281 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.531e-05/0.2194, allocations: 4 kB / 0.6025 GB, free: 2.277 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.2194, allocations: 0 / 0.6025 GB, free: 2.277 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.005e-05/0.2195, allocations: 8 kB / 0.6025 GB, free: 2.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/0.2195, allocations: 3.953 kB / 0.6025 GB, free: 2.266 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003025/0.2198, allocations: 87.84 kB / 0.6026 GB, free: 2.18 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.544e-05/0.2199, allocations: 4 kB / 0.6026 GB, free: 2.176 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 ($whenCondition2,$PRE.occSchWee.occupied,occSchWee.occupied,$PRE.occSchWee.tOcc,occSchWee.tOcc,$PRE.occSchWee.tNonOcc,occSchWee.tNonOcc,$PRE.occSchWee.tNext,occSchWee.tNext,$whenCondition1,$PRE.occSchDay.occupied,occSchDay.occupied,$PRE.occSchDay.tOcc,occSchDay.tOcc,$PRE.occSchDay.tNonOcc,occSchDay.tNonOcc,$PRE.occSchDay.tNext,occSchDay.tNext) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000152/0.22, allocations: 141.8 kB / 0.6027 GB, free: 2.027 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.896e-05/0.2201, allocations: 15.75 kB / 0.6027 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.238e-05/0.2201, allocations: 20.7 kB / 0.6028 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.2201, allocations: 0 / 0.6028 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.2201, allocations: 4 kB / 0.6028 GB, free: 1.984 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-06/0.2201, allocations: 3.953 kB / 0.6028 GB, free: 1.98 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001718/0.2203, allocations: 189.6 kB / 0.603 GB, free: 1.746 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.2203, allocations: 0 / 0.603 GB, free: 1.746 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.669e-05/0.2204, allocations: 8 kB / 0.603 GB, free: 1.738 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.2204, allocations: 0 / 0.603 GB, free: 1.738 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.678e-06/0.2204, allocations: 4 kB / 0.603 GB, free: 1.734 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.2204, allocations: 4 kB / 0.603 GB, free: 1.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.2204, allocations: 0 / 0.603 GB, free: 1.73 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002382/0.2206, allocations: 181.7 kB / 0.6031 GB, free: 1.531 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.313e-05/0.2207, allocations: 92.95 kB / 0.6032 GB, free: 1.422 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.021e-05/0.2207, allocations: 11.98 kB / 0.6032 GB, free: 1.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.462e-05/0.2208, allocations: 4 kB / 0.6032 GB, free: 1.406 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.378e-05/0.2208, allocations: 4 kB / 0.6033 GB, free: 1.402 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.11e-05/0.2209, allocations: 7.984 kB / 0.6033 GB, free: 1.395 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 8.531e-05/0.221, allocations: 121.6 kB / 0.6034 GB, free: 1.277 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.11e-07/0.221, allocations: 0 / 0.6034 GB, free: 1.277 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003486/0.2213, allocations: 68 kB / 0.6034 GB, free: 1.211 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007136/0.222, allocations: 0.7819 MB / 0.6042 GB, free: 412 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002979/0.2224, allocations: 163.5 kB / 0.6044 GB, free: 236 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.2224, allocations: 0 / 0.6044 GB, free: 236 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.348e-05/0.2224, allocations: 47.92 kB / 0.6044 GB, free: 188 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001889/0.2226, allocations: 7.938 kB / 0.6044 GB, free: 180 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3377/0.5604, allocations: 0.8001 MB / 0.6052 GB, free: 40.28 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001414/0.5606, allocations: 0.7071 MB / 0.6059 GB, free: 39.58 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.194e-05/0.5606, allocations: 7.641 kB / 0.6059 GB, free: 39.58 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.275e-05/0.5607, allocations: 29.67 kB / 0.6059 GB, free: 39.58 MB / 0.4981 GB Notification: Performance of SimCode: time 2.594e-06/0.5607, allocations: 0 / 0.6059 GB, free: 39.58 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01439/0.5751, allocations: 3.672 MB / 0.6095 GB, free: 39.38 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001388/0.5753, allocations: 201.2 kB / 0.6097 GB, free: 39.14 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.194/2.769, allocations: 0 / 0.6097 GB, free: 39.14 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/linux/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) Environment - environmentSimulation: