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: translateModel(BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule") translateModel(BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001384/0.001384, allocations: 114.9 kB / 16.37 MB, free: 5.539 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.001592/0.001592, allocations: 189.4 kB / 17.3 MB, free: 5.18 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.292/1.292, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.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.8264/0.8264, allocations: 143.1 MB / 434.2 MB, free: 12.04 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 59.89 kB / 0.5156 GB, free: 14.47 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3727/0.3739, allocations: 82.04 MB / 0.5957 GB, free: 16.14 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule): time 0.002209/0.3761, allocations: 1.41 MB / 0.5971 GB, free: 14.73 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.000788/0.377, allocations: 0.5007 MB / 0.5976 GB, free: 14.23 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.33e-05/0.377, allocations: 0 / 0.5976 GB, free: 14.23 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 7.995e-05/0.3771, allocations: 3.938 kB / 0.5976 GB, free: 14.23 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.477e-05/0.3772, allocations: 15.91 kB / 0.5976 GB, free: 14.21 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006704/0.3779, allocations: 233.5 kB / 0.5978 GB, free: 13.99 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001825/0.378, allocations: 141.2 kB / 0.5979 GB, free: 13.85 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.936e-05/0.3781, allocations: 4 kB / 0.5979 GB, free: 13.85 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.719e-05/0.3782, allocations: 55.89 kB / 0.598 GB, free: 13.79 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.585e-05/0.3782, allocations: 49.27 kB / 0.598 GB, free: 13.75 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.459e-05/0.3783, allocations: 8 kB / 0.598 GB, free: 13.74 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002053/0.3785, allocations: 168.4 kB / 0.5982 GB, free: 13.57 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.168e-05/0.3786, allocations: 31.95 kB / 0.5982 GB, free: 13.54 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.329e-05/0.3786, allocations: 69.23 kB / 0.5983 GB, free: 13.48 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002404/0.3789, allocations: 235.3 kB / 0.5985 GB, free: 13.25 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.3789, allocations: 0 / 0.5985 GB, free: 13.25 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.3789, allocations: 1.469 kB / 0.5985 GB, free: 13.25 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.491e-06/0.3789, allocations: 0 / 0.5985 GB, free: 13.25 MB / 446.1 MB 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.0004729/0.3794, allocations: 453.5 kB / 0.599 GB, free: 12.76 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/0.3794, allocations: 8.031 kB / 0.599 GB, free: 12.75 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.164e-05/0.3795, allocations: 14.25 kB / 0.599 GB, free: 12.74 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001798/0.3797, allocations: 216 kB / 0.5992 GB, free: 12.49 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.608e-05/0.3797, allocations: 12.38 kB / 0.5992 GB, free: 12.48 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.579e-05/0.3797, allocations: 8.375 kB / 0.5992 GB, free: 12.47 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000131/0.3799, allocations: 81.3 kB / 0.5993 GB, free: 12.38 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.3799, allocations: 1.031 kB / 0.5993 GB, free: 12.38 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.3799, allocations: 3.938 kB / 0.5993 GB, free: 12.38 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.3799, allocations: 0 / 0.5993 GB, free: 12.38 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.736e-05/0.38, allocations: 45.41 kB / 0.5993 GB, free: 12.33 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001844/0.3802, allocations: 226.6 kB / 0.5995 GB, free: 12.06 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.525e-05/0.3803, allocations: 79.3 kB / 0.5996 GB, free: 11.96 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.716e-05/0.3803, allocations: 53.81 kB / 0.5997 GB, free: 11.91 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.259e-05/0.3804, allocations: 1.5 kB / 0.5997 GB, free: 11.91 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001483/0.3805, allocations: 115.6 kB / 0.5998 GB, free: 11.78 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.102e-06/0.3805, allocations: 0 / 0.5998 GB, free: 11.78 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.000284/0.3808, allocations: 197.5 kB / 0.6 GB, free: 11.58 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.949e-05/0.3809, allocations: 87.72 kB / 0.6001 GB, free: 11.48 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.528e-05/0.381, allocations: 151.9 kB / 0.6002 GB, free: 11.32 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.434e-05/0.381, allocations: 33.7 kB / 0.6002 GB, free: 11.28 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.328e-05/0.381, allocations: 100.5 kB / 0.6003 GB, free: 11.18 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.624e-05/0.3811, allocations: 31.55 kB / 0.6004 GB, free: 11.14 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.951e-05/0.3811, allocations: 55.05 kB / 0.6004 GB, free: 11.09 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.454e-05/0.3812, allocations: 322.8 kB / 0.6007 GB, free: 10.76 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.378e-05/0.3813, allocations: 43.97 kB / 0.6008 GB, free: 10.72 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001444/0.3814, allocations: 199.1 kB / 0.601 GB, free: 10.47 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000104/0.3815, allocations: 93.38 kB / 0.601 GB, free: 10.38 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.3815, allocations: 4 kB / 0.601 GB, free: 10.38 MB / 446.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001767/0.3817, allocations: 170.7 kB / 0.6012 GB, free: 10.2 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.3817, allocations: 10.34 kB / 0.6012 GB, free: 10.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.886e-05/0.3818, allocations: 0 / 0.6012 GB, free: 10.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.3818, allocations: 4 kB / 0.6012 GB, free: 10.19 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.185e-05/0.3819, allocations: 13.33 kB / 0.6012 GB, free: 10.18 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.3819, allocations: 4 kB / 0.6012 GB, free: 10.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002308/0.3821, allocations: 75.62 kB / 0.6013 GB, free: 10.11 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.074e-05/0.3821, allocations: 4.906 kB / 0.6013 GB, free: 10.1 MB / 446.1 MB 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.544e-05/0.3822, allocations: 130.9 kB / 0.6014 GB, free: 9.965 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.774e-05/0.3822, allocations: 19.92 kB / 0.6015 GB, free: 9.945 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.658e-05/0.3823, allocations: 14.25 kB / 0.6015 GB, free: 9.93 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.3823, allocations: 4 kB / 0.6015 GB, free: 9.926 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.3823, allocations: 0 / 0.6015 GB, free: 9.926 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.3823, allocations: 7.922 kB / 0.6015 GB, free: 9.918 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.923e-05/0.3824, allocations: 190.8 kB / 0.6017 GB, free: 9.684 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.3824, allocations: 11.88 kB / 0.6017 GB, free: 9.672 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.891e-05/0.3824, allocations: 4 kB / 0.6017 GB, free: 9.668 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.065e-06/0.3825, allocations: 1.375 kB / 0.6017 GB, free: 9.668 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.3825, allocations: 11.92 kB / 0.6017 GB, free: 9.656 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.3825, allocations: 0 / 0.6017 GB, free: 9.656 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.3825, allocations: 0 / 0.6017 GB, free: 9.656 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001661/0.3827, allocations: 175.3 kB / 0.6019 GB, free: 9.465 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.245e-05/0.3827, allocations: 90.23 kB / 0.6019 GB, free: 9.359 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.961e-05/0.3827, allocations: 4 kB / 0.602 GB, free: 9.355 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.596e-05/0.3828, allocations: 4 kB / 0.602 GB, free: 9.352 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.352e-05/0.3828, allocations: 5.234 kB / 0.602 GB, free: 9.348 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.472e-06/0.3828, allocations: 4 kB / 0.602 GB, free: 9.344 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.238e-05/0.3829, allocations: 118.5 kB / 0.6021 GB, free: 9.23 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.3829, allocations: 0 / 0.6021 GB, free: 9.23 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002663/0.3832, allocations: 75.92 kB / 0.6022 GB, free: 9.156 MB / 446.1 MB 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.0001935/0.3834, allocations: 172.5 kB / 0.6023 GB, free: 8.98 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001962/0.3836, allocations: 164.6 kB / 0.6025 GB, free: 8.809 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.3836, allocations: 0 / 0.6025 GB, free: 8.809 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.487e-05/0.3836, allocations: 43.98 kB / 0.6025 GB, free: 8.766 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001563/0.3838, allocations: 12.05 kB / 0.6025 GB, free: 8.758 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003301/0.3841, allocations: 224.3 kB / 0.6027 GB, free: 8.512 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001261/0.3843, allocations: 0.7102 MB / 0.6034 GB, free: 7.777 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.55e-05/0.3843, allocations: 4.672 kB / 0.6034 GB, free: 7.77 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.943e-05/0.3843, allocations: 11.44 kB / 0.6034 GB, free: 7.758 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3843, allocations: 4 kB / 0.6035 GB, free: 7.754 MB / 446.1 MB Notification: Performance of Templates: time 0.004348/0.3887, allocations: 2.554 MB / 0.6059 GB, free: 5.305 MB / 446.1 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule.makefile (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 & ./BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1)