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.001231/0.001231, allocations: 102.4 kB / 16.35 MB, free: 5.824 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.0009889/0.0009889, allocations: 192.3 kB / 17.29 MB, free: 5.48 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.27/1.27, allocations: 222.9 MB / 241 MB, free: 15.14 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.8336/0.8336, allocations: 143.1 MB / 434.2 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001168/0.001168, allocations: 64.14 kB / 0.5156 GB, free: 14.41 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3066/0.3078, allocations: 82.03 MB / 0.5957 GB, free: 16.12 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule): time 0.002194/0.31, allocations: 1.422 MB / 0.5971 GB, free: 14.71 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.000763/0.3108, allocations: 0.4996 MB / 0.5976 GB, free: 14.21 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.542e-05/0.3108, allocations: 0 / 0.5976 GB, free: 14.21 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 7.751e-05/0.3109, allocations: 3.938 kB / 0.5976 GB, free: 14.21 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.329e-05/0.311, allocations: 8.75 kB / 0.5976 GB, free: 14.2 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000666/0.3117, allocations: 237.7 kB / 0.5978 GB, free: 13.97 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001722/0.3119, allocations: 142.9 kB / 0.5979 GB, free: 13.83 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.504e-05/0.3119, allocations: 7.984 kB / 0.5979 GB, free: 13.82 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.384e-05/0.312, allocations: 55.84 kB / 0.598 GB, free: 13.77 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.591e-05/0.312, allocations: 43.83 kB / 0.598 GB, free: 13.73 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.498e-05/0.3121, allocations: 8 kB / 0.598 GB, free: 13.72 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001946/0.3123, allocations: 171.8 kB / 0.5982 GB, free: 13.55 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.506e-05/0.3123, allocations: 33.25 kB / 0.5982 GB, free: 13.52 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.221e-05/0.3124, allocations: 59.72 kB / 0.5983 GB, free: 13.46 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002386/0.3127, allocations: 236.5 kB / 0.5985 GB, free: 13.23 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.3127, allocations: 0 / 0.5985 GB, free: 13.23 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3127, allocations: 0 / 0.5985 GB, free: 13.23 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.599e-06/0.3127, allocations: 0 / 0.5985 GB, free: 13.23 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.0004263/0.3131, allocations: 453.7 kB / 0.5989 GB, free: 12.74 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.029e-05/0.3132, allocations: 9.531 kB / 0.599 GB, free: 12.73 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.904e-05/0.3132, allocations: 12.84 kB / 0.599 GB, free: 12.72 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001649/0.3134, allocations: 213.7 kB / 0.5992 GB, free: 12.48 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.816e-05/0.3134, allocations: 13.66 kB / 0.5992 GB, free: 12.46 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.227e-05/0.3134, allocations: 12.38 kB / 0.5992 GB, free: 12.45 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001523/0.3136, allocations: 88.45 kB / 0.5993 GB, free: 12.36 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.143e-06/0.3136, allocations: 192 / 0.5993 GB, free: 12.36 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.3136, allocations: 3.938 kB / 0.5993 GB, free: 12.36 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.3137, allocations: 0 / 0.5993 GB, free: 12.36 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.198e-05/0.3137, allocations: 41.39 kB / 0.5993 GB, free: 12.32 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000162/0.3139, allocations: 230.5 kB / 0.5995 GB, free: 12.04 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.794e-05/0.314, allocations: 78.52 kB / 0.5996 GB, free: 11.95 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.547e-05/0.314, allocations: 54.53 kB / 0.5997 GB, free: 11.89 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.176e-05/0.3141, allocations: 5.188 kB / 0.5997 GB, free: 11.88 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001631/0.3142, allocations: 112.9 kB / 0.5998 GB, free: 11.76 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.052e-06/0.3142, allocations: 1.5 kB / 0.5998 GB, free: 11.76 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.0002761/0.3145, allocations: 189.3 kB / 0.6 GB, free: 11.57 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.974e-05/0.3146, allocations: 85.11 kB / 0.6001 GB, free: 11.46 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.22e-05/0.3147, allocations: 153.2 kB / 0.6002 GB, free: 11.31 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.328e-05/0.3147, allocations: 33.7 kB / 0.6002 GB, free: 11.27 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.868e-05/0.3147, allocations: 104.5 kB / 0.6003 GB, free: 11.16 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.174e-05/0.3148, allocations: 36.88 kB / 0.6004 GB, free: 11.12 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.191e-05/0.3148, allocations: 49.7 kB / 0.6004 GB, free: 11.07 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.244e-05/0.3149, allocations: 332 kB / 0.6007 GB, free: 10.74 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.471e-05/0.315, allocations: 39.98 kB / 0.6008 GB, free: 10.7 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001365/0.3151, allocations: 198.9 kB / 0.601 GB, free: 10.45 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001012/0.3152, allocations: 95.23 kB / 0.601 GB, free: 10.36 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.3152, allocations: 0 / 0.601 GB, free: 10.36 MB / 446.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001721/0.3154, allocations: 170.4 kB / 0.6012 GB, free: 10.18 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/0.3154, allocations: 4 kB / 0.6012 GB, free: 10.18 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.723e-05/0.3154, allocations: 5.344 kB / 0.6012 GB, free: 10.18 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.3154, allocations: 4 kB / 0.6012 GB, free: 10.17 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.87e-05/0.3155, allocations: 7.938 kB / 0.6012 GB, free: 10.16 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.3155, allocations: 4 kB / 0.6012 GB, free: 10.16 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000235/0.3158, allocations: 80.08 kB / 0.6013 GB, free: 10.09 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.052e-05/0.3158, allocations: 4 kB / 0.6013 GB, free: 10.08 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 7.353e-05/0.3159, allocations: 127 kB / 0.6014 GB, free: 9.949 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.684e-05/0.3159, allocations: 15.84 kB / 0.6014 GB, free: 9.934 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.493e-05/0.3159, allocations: 13.48 kB / 0.6015 GB, free: 9.918 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.3159, allocations: 4 kB / 0.6015 GB, free: 9.914 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.316, allocations: 0.875 kB / 0.6015 GB, free: 9.914 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.316, allocations: 0 / 0.6015 GB, free: 9.914 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.96e-05/0.3161, allocations: 201.5 kB / 0.6017 GB, free: 9.668 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.574e-06/0.3161, allocations: 9.219 kB / 0.6017 GB, free: 9.66 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.997e-05/0.3161, allocations: 4 kB / 0.6017 GB, free: 9.656 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.3161, allocations: 7.875 kB / 0.6017 GB, free: 9.648 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.628e-06/0.3161, allocations: 5.812 kB / 0.6017 GB, free: 9.645 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.3161, allocations: 0.625 kB / 0.6017 GB, free: 9.645 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3161, allocations: 0 / 0.6017 GB, free: 9.645 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001642/0.3163, allocations: 178.8 kB / 0.6019 GB, free: 9.449 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.218e-05/0.3163, allocations: 94.19 kB / 0.6019 GB, free: 9.34 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.704e-05/0.3164, allocations: 0 / 0.6019 GB, free: 9.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.87e-05/0.3164, allocations: 8 kB / 0.602 GB, free: 9.332 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.202e-05/0.3164, allocations: 4.703 kB / 0.602 GB, free: 9.328 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.412e-06/0.3164, allocations: 5.438 kB / 0.602 GB, free: 9.324 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.868e-05/0.3165, allocations: 115.2 kB / 0.6021 GB, free: 9.211 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3165, allocations: 0 / 0.6021 GB, free: 9.211 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002581/0.3168, allocations: 71.94 kB / 0.6021 GB, free: 9.141 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.0001761/0.317, allocations: 172.7 kB / 0.6023 GB, free: 8.965 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001955/0.3172, allocations: 168.2 kB / 0.6025 GB, free: 8.789 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.3172, allocations: 0 / 0.6025 GB, free: 8.789 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.31e-05/0.3172, allocations: 44.77 kB / 0.6025 GB, free: 8.746 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001494/0.3174, allocations: 6.688 kB / 0.6025 GB, free: 8.742 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000303/0.3177, allocations: 225.3 kB / 0.6027 GB, free: 8.496 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001058/0.3178, allocations: 0.7111 MB / 0.6034 GB, free: 7.762 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.393e-05/0.3178, allocations: 8.656 kB / 0.6034 GB, free: 7.75 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.798e-05/0.3179, allocations: 11.44 kB / 0.6034 GB, free: 7.738 MB / 446.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3179, allocations: 0 / 0.6034 GB, free: 7.738 MB / 446.1 MB Notification: Performance of Templates: time 0.004791/0.3227, allocations: 2.555 MB / 0.6059 GB, free: 5.285 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 gbode -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1)