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/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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/BuildSysPro 3.5.0/package.mo): time 0.7341/0.7341, allocations: 128.7 MB / 143.7 MB, free: 2.176 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001243/0.001242, allocations: 181.7 kB / 173.7 MB, free: 6.016 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.561/1.561, allocations: 205.4 MB / 409 MB, free: 10.48 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007971/0.0007971, allocations: 94.36 kB / 486.6 MB, free: 12.99 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003146/0.0003147, allocations: 8.094 kB / 0.5604 GB, free: 97.63 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1407/0.141, allocations: 76.77 MB / 0.6354 GB, free: 30.45 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1273/0.2684, allocations: 103.3 MB / 0.7362 GB, free: 7.035 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002658/0.2687, allocations: 75.95 kB / 0.7363 GB, free: 6.961 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.0107/0.2794, allocations: 3.441 MB / 0.7397 GB, free: 3.512 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.255e-06/0.2795, allocations: 0 / 0.7397 GB, free: 3.512 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 8.115e-06/0.2795, allocations: 0 / 0.7397 GB, free: 3.512 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0009699/0.2804, allocations: 0.5372 MB / 0.7402 GB, free: 2.914 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.638e-05/0.2805, allocations: 12.03 kB / 0.7402 GB, free: 2.902 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.609e-05/0.2806, allocations: 46.53 kB / 0.7403 GB, free: 2.848 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000101/0.2807, allocations: 35.8 kB / 0.7403 GB, free: 2.812 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005828/0.2813, allocations: 274.7 kB / 0.7406 GB, free: 2.504 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.233e-05/0.2813, allocations: 19.98 kB / 0.7406 GB, free: 2.484 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.039e-05/0.2814, allocations: 24 kB / 0.7406 GB, free: 2.461 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005003/0.2819, allocations: 258.7 kB / 0.7408 GB, free: 2.191 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.747e-06/0.2819, allocations: 4 kB / 0.7408 GB, free: 2.188 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.769e-05/0.282, allocations: 3.984 kB / 0.7408 GB, free: 2.184 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.282, allocations: 8 kB / 0.7409 GB, free: 2.176 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002835/0.2823, allocations: 99.86 kB / 0.741 GB, free: 2.078 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004188/0.2827, allocations: 383.7 kB / 0.7413 GB, free: 1.645 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004256/0.2831, allocations: 246.7 kB / 0.7416 GB, free: 1.367 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 3.174e-05/0.2832, allocations: 12 kB / 0.7416 GB, free: 1.355 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004857/0.2837, allocations: 262.6 kB / 0.7418 GB, free: 1.074 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=24): time 1.623e-06/0.2837, allocations: 0 / 0.7418 GB, free: 1.074 MB / 0.5105 GB Notification: Performance of matching and sorting (n=24): time 0.001147/0.2848, allocations: 0.533 MB / 0.7423 GB, free: 0.5352 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.374e-05/0.2849, allocations: 144.4 kB / 0.7425 GB, free: 372 kB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001265/0.2851, allocations: 144.2 kB / 0.7426 GB, free: 224 kB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 5.44e-05/0.2851, allocations: 37.95 kB / 0.7426 GB, free: 180 kB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 7.706e-05/0.2852, allocations: 112.6 kB / 0.7428 GB, free: 64 kB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 6.74e-05/0.2853, allocations: 59.2 kB / 0.7428 GB, free: 4 kB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.2665/0.5518, allocations: 10.23 kB / 0.7428 GB, free: 108.9 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.737e-05/0.5519, allocations: 328 kB / 0.7431 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004496/0.5524, allocations: 179 kB / 0.7433 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003517/0.5528, allocations: 211.3 kB / 0.7435 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003104/0.5531, allocations: 223.9 kB / 0.7437 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.5531, allocations: 3.703 kB / 0.7437 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001033/0.5541, allocations: 0.7324 MB / 0.7444 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 6.936e-05/0.5542, allocations: 75.36 kB / 0.7445 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/0.5542, allocations: 0.9844 kB / 0.7445 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.189e-05/0.5543, allocations: 4.312 kB / 0.7445 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001284/0.5544, allocations: 19.47 kB / 0.7445 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.275e-06/0.5544, allocations: 7.953 kB / 0.7445 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003805/0.5548, allocations: 87.64 kB / 0.7446 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.315e-05/0.5549, allocations: 21.05 kB / 0.7446 GB, free: 108.3 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 32 ($whenCondition3,$whenCondition4,$PRE.occSchWee.occupied,occSchWee.occupied,$PRE.occSchWee.nexStaInd,occSchWee.nexStaInd,$PRE.occSchWee.nexStoInd,occSchWee.nexStoInd,$PRE.occSchWee.iPerSta,occSchWee.iPerSta,$PRE.occSchWee.iPerSto,occSchWee.iPerSto,$PRE.occSchWee.tOcc,occSchWee.tOcc,$PRE.occSchWee.tNonOcc,occSchWee.tNonOcc,$whenCondition1,$whenCondition2,$PRE.occSchDay.occupied,occSchDay.occupied,$PRE.occSchDay.nexStaInd,occSchDay.nexStaInd,$PRE.occSchDay.nexStoInd,occSchDay.nexStoInd,$PRE.occSchDay.iPerSta,occSchDay.iPerSta,$PRE.occSchDay.iPerSto,occSchDay.iPerSto,$PRE.occSchDay.tOcc,occSchDay.tOcc,$PRE.occSchDay.tNonOcc,occSchDay.tNonOcc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * 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.0002498/0.5551, allocations: 148.5 kB / 0.7448 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.278e-05/0.5552, allocations: 22.66 kB / 0.7448 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.052e-05/0.5553, allocations: 23.8 kB / 0.7448 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.5553, allocations: 5.531 kB / 0.7448 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.221e-06/0.5553, allocations: 2.344 kB / 0.7448 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.5553, allocations: 3.469 kB / 0.7448 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002342/0.5555, allocations: 269.1 kB / 0.7451 GB, free: 108 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.5555, allocations: 0 / 0.7451 GB, free: 108 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.744e-05/0.5556, allocations: 12.39 kB / 0.7451 GB, free: 108 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.047e-06/0.5556, allocations: 1.031 kB / 0.7451 GB, free: 108 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.227e-05/0.5557, allocations: 20.36 kB / 0.7451 GB, free: 108 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.5557, allocations: 1.641 kB / 0.7451 GB, free: 108 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.5557, allocations: 1 kB / 0.7451 GB, free: 108 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007626/0.5564, allocations: 0.4959 MB / 0.7456 GB, free: 107.8 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.663e-05/0.5565, allocations: 93.75 kB / 0.7457 GB, free: 107.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.944e-05/0.5566, allocations: 24.55 kB / 0.7457 GB, free: 107.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001504/0.5567, allocations: 15.16 kB / 0.7457 GB, free: 107.7 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.421e-05/0.5568, allocations: 27.66 kB / 0.7458 GB, free: 107.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.037e-05/0.5568, allocations: 22.58 kB / 0.7458 GB, free: 107.7 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 6.156e-05/0.5569, allocations: 113.1 kB / 0.7459 GB, free: 107.7 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.11e-07/0.5569, allocations: 0 / 0.7459 GB, free: 107.7 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003376/0.5572, allocations: 76.53 kB / 0.746 GB, free: 107.7 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition3,$whenCondition4,occSchWee.occupied,occSchWee.nexStaInd,occSchWee.nexStoInd,occSchWee.iPerSta,occSchWee.iPerSto,occSchWee.tOcc,occSchWee.tNonOcc,$whenCondition1,$whenCondition2,occSchDay.occupied,occSchDay.nexStaInd,occSchDay.nexStoInd,occSchDay.iPerSta,occSchDay.iPerSto,occSchDay.tOcc,occSchDay.tNonOcc) * Number of discrete states: 14 (occSchDay.tNonOcc,occSchDay.iPerSto,occSchDay.nexStoInd,occSchDay.occupied,occSchDay.tOcc,occSchDay.nexStaInd,occSchDay.iPerSta,occSchWee.tNonOcc,occSchWee.iPerSto,occSchWee.nexStoInd,occSchWee.occupied,occSchWee.tOcc,occSchWee.nexStaInd,occSchWee.iPerSta) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 14 * 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.0009749/0.5582, allocations: 1.295 MB / 0.7472 GB, free: 106.8 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0008175/0.5591, allocations: 0.6845 MB / 0.7479 GB, free: 106.7 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.5591, allocations: 0 / 0.7479 GB, free: 106.7 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002943/0.5594, allocations: 163.5 kB / 0.7481 GB, free: 106.7 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001427/0.5595, allocations: 21.02 kB / 0.7481 GB, free: 106.7 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002508/0.562, allocations: 2.021 MB / 0.7501 GB, free: 105.7 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000172/0.5622, allocations: 0.7204 MB / 0.7508 GB, free: 105 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 4.085e-05/0.5623, allocations: 10.2 kB / 0.7508 GB, free: 105 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.105e-05/0.5624, allocations: 40.78 kB / 0.7508 GB, free: 105 MB / 0.5105 GB Notification: Performance of SimCode: time 3.7e-07/0.5624, allocations: 0 / 0.7508 GB, free: 105 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0184/0.5808, allocations: 4.645 MB / 0.7553 GB, free: 104.7 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001569/0.581, allocations: 194 kB / 0.7555 GB, free: 104.4 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.632/2.213, allocations: 2.25 kB / 0.7555 GB, free: 104.4 MB / 0.5105 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)