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.0009618/0.0009618, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.0009995/0.0009995, allocations: 177.3 kB / 15.94 MB, free: 228 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.356/1.356, allocations: 223.2 MB / 239.9 MB, free: 5.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.064/1.064, allocations: 143.3 MB / 434.2 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003396/0.0003397, allocations: 8 kB / 0.5159 GB, free: 11.19 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2017/0.202, allocations: 83.41 MB / 0.5973 GB, free: 7.723 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule): time 0.001533/0.2036, allocations: 1.12 MB / 0.5984 GB, free: 6.59 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0007357/0.2044, allocations: 443 kB / 0.5989 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.411e-05/0.2044, allocations: 0 / 0.5989 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 6.099e-05/0.2045, allocations: 7.922 kB / 0.5989 GB, free: 6.148 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.038e-05/0.2045, allocations: 11.98 kB / 0.5989 GB, free: 6.137 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006182/0.2052, allocations: 186.9 kB / 0.5991 GB, free: 5.957 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001725/0.2054, allocations: 87.89 kB / 0.5991 GB, free: 5.871 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.767e-05/0.2054, allocations: 11.98 kB / 0.5992 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.276e-05/0.2055, allocations: 51.89 kB / 0.5992 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.628e-05/0.2056, allocations: 43.83 kB / 0.5992 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.91e-05/0.2056, allocations: 8 kB / 0.5993 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002176/0.2058, allocations: 127.9 kB / 0.5994 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.574e-05/0.2059, allocations: 39.88 kB / 0.5994 GB, free: 5.594 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.298e-05/0.2059, allocations: 41.64 kB / 0.5995 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002258/0.2062, allocations: 167.9 kB / 0.5996 GB, free: 5.383 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 1.774e-06/0.2062, allocations: 0 / 0.5996 GB, free: 5.383 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.233e-06/0.2062, allocations: 4 kB / 0.5996 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.305e-06/0.2062, allocations: 0 / 0.5996 GB, free: 5.379 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.0005171/0.2067, allocations: 418.9 kB / 0.6 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.2068, allocations: 12.03 kB / 0.6 GB, free: 4.91 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.971e-05/0.2068, allocations: 38.5 kB / 0.6001 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.407e-05/0.2069, allocations: 11.91 kB / 0.6001 GB, free: 4.852 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002225/0.2071, allocations: 213.2 kB / 0.6003 GB, free: 4.605 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.496e-05/0.2071, allocations: 8 kB / 0.6003 GB, free: 4.598 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.007e-05/0.2071, allocations: 16 kB / 0.6003 GB, free: 4.582 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001622/0.2073, allocations: 79.33 kB / 0.6004 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.193e-06/0.2073, allocations: 0 / 0.6004 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.968e-06/0.2073, allocations: 4 kB / 0.6004 GB, free: 4.488 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.2074, allocations: 0 / 0.6004 GB, free: 4.488 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.22e-05/0.2074, allocations: 43.92 kB / 0.6004 GB, free: 4.445 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002439/0.2077, allocations: 234.4 kB / 0.6006 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001113/0.2078, allocations: 85.19 kB / 0.6007 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.926e-06/0.2078, allocations: 0 / 0.6007 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001994/0.208, allocations: 105.1 kB / 0.6008 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 1.062e-06/0.208, allocations: 4 kB / 0.6008 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14): time 0.0004116/0.2084, allocations: 347.6 kB / 0.6012 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.445e-05/0.2085, allocations: 85.11 kB / 0.6012 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001278/0.2086, allocations: 153.7 kB / 0.6014 GB, free: 3.293 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.486e-05/0.2087, allocations: 37.7 kB / 0.6014 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.195e-05/0.2088, allocations: 100.5 kB / 0.6015 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.234e-05/0.2088, allocations: 35.55 kB / 0.6016 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.833e-06/0.2088, allocations: 4 kB / 0.6016 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000136/0.209, allocations: 326.8 kB / 0.6019 GB, free: 2.777 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.893e-05/0.209, allocations: 40.17 kB / 0.6019 GB, free: 2.734 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001992/0.2092, allocations: 195.7 kB / 0.6021 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.461e-05/0.2093, allocations: 59.92 kB / 0.6022 GB, free: 2.43 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.2093, allocations: 0 / 0.6022 GB, free: 2.43 MB / 0.4981 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002151/0.2096, allocations: 165.3 kB / 0.6023 GB, free: 2.262 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.2096, allocations: 8 kB / 0.6023 GB, free: 2.254 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.876e-05/0.2096, allocations: 0 / 0.6023 GB, free: 2.254 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.2096, allocations: 8 kB / 0.6023 GB, free: 2.246 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.546e-05/0.2097, allocations: 11.92 kB / 0.6023 GB, free: 2.234 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/0.2097, allocations: 4 kB / 0.6023 GB, free: 2.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002899/0.21, allocations: 87.8 kB / 0.6024 GB, free: 2.145 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.077e-05/0.21, allocations: 4 kB / 0.6024 GB, free: 2.141 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.0001112/0.2102, allocations: 137.8 kB / 0.6026 GB, free: 1.996 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.653e-05/0.2102, allocations: 11.81 kB / 0.6026 GB, free: 1.984 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.071e-05/0.2102, allocations: 16.72 kB / 0.6026 GB, free: 1.965 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.023e-06/0.2102, allocations: 96 / 0.6026 GB, free: 1.965 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.2102, allocations: 0 / 0.6026 GB, free: 1.965 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.2102, allocations: 3.984 kB / 0.6026 GB, free: 1.961 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001514/0.2104, allocations: 201.5 kB / 0.6028 GB, free: 1.715 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.2104, allocations: 3.938 kB / 0.6028 GB, free: 1.711 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.298e-05/0.2104, allocations: 7.938 kB / 0.6028 GB, free: 1.703 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.258e-05/0.2105, allocations: 4 kB / 0.6028 GB, free: 1.699 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.036e-05/0.2105, allocations: 3.984 kB / 0.6028 GB, free: 1.695 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.2105, allocations: 0 / 0.6028 GB, free: 1.695 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.2105, allocations: 4 kB / 0.6028 GB, free: 1.691 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002256/0.2107, allocations: 199.4 kB / 0.603 GB, free: 1.469 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.615e-05/0.2108, allocations: 88.95 kB / 0.6031 GB, free: 1.363 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.933e-05/0.2108, allocations: 0 / 0.6031 GB, free: 1.363 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.233e-05/0.2108, allocations: 4 kB / 0.6031 GB, free: 1.359 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.537e-05/0.2109, allocations: 15.98 kB / 0.6031 GB, free: 1.344 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.476e-06/0.2109, allocations: 7.953 kB / 0.6031 GB, free: 1.336 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.854e-05/0.211, allocations: 109.7 kB / 0.6032 GB, free: 1.23 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.211, allocations: 3.938 kB / 0.6032 GB, free: 1.227 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002843/0.2113, allocations: 71.98 kB / 0.6033 GB, free: 1.156 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.0006513/0.2119, allocations: 0.8554 MB / 0.6041 GB, free: 272 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002326/0.2122, allocations: 160.2 kB / 0.6043 GB, free: 100 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.2122, allocations: 0 / 0.6043 GB, free: 100 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.514e-05/0.2123, allocations: 47.92 kB / 0.6043 GB, free: 52 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001109/0.2124, allocations: 11.89 kB / 0.6043 GB, free: 40 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2797/0.4921, allocations: 0.9413 MB / 0.6053 GB, free: 40.3 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001252/0.4923, allocations: 0.7055 MB / 0.6059 GB, free: 39.61 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.794e-05/0.4924, allocations: 10.81 kB / 0.606 GB, free: 39.61 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.088e-05/0.4924, allocations: 28.58 kB / 0.606 GB, free: 39.6 MB / 0.4981 GB Notification: Performance of SimCode: time 6.81e-07/0.4924, allocations: 0 / 0.606 GB, free: 39.6 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02118/0.5136, allocations: 3.65 MB / 0.6095 GB, free: 39.42 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002031/0.5138, allocations: 192.8 kB / 0.6097 GB, free: 39.18 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.732/2.246, allocations: 4 kB / 0.6097 GB, free: 39.18 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: