Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.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(IBPSA.Controls.SetPoints.Examples.OccupancySchedule,fileNamePrefix="IBPSA_latest_IBPSA_Controls_SetPoints_Examples_OccupancySchedule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.SetPoints.Examples.OccupancySchedule,fileNamePrefix="IBPSA_latest_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.001411/0.001411, allocations: 102.5 kB / 16.27 MB, free: 5.93 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.001601/0.001601, allocations: 190.5 kB / 17.2 MB, free: 5.574 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 / 240.9 MB, free: 15.24 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7058/0.7058, allocations: 122.9 MB / 413.9 MB, free: 15.91 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 63.89 kB / 0.4912 GB, free: 7.363 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2852/0.2864, allocations: 77.93 MB / 0.5673 GB, free: 32.69 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.SetPoints.Examples.OccupancySchedule): time 0.002147/0.2886, allocations: 1.394 MB / 0.5686 GB, free: 31.72 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007/0.2893, allocations: 0.5073 MB / 0.5691 GB, free: 31.37 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.149e-05/0.2894, allocations: 0 / 0.5691 GB, free: 31.37 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 6.211e-05/0.2894, allocations: 13.5 kB / 0.5691 GB, free: 31.36 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.504e-05/0.2895, allocations: 8.406 kB / 0.5692 GB, free: 31.36 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006044/0.2901, allocations: 235.3 kB / 0.5694 GB, free: 31.26 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001616/0.2903, allocations: 138.7 kB / 0.5695 GB, free: 31.21 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.486e-05/0.2903, allocations: 4.5 kB / 0.5695 GB, free: 31.21 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.825e-05/0.2904, allocations: 60.22 kB / 0.5696 GB, free: 31.19 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.692e-05/0.2905, allocations: 42.78 kB / 0.5696 GB, free: 31.17 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.041e-05/0.2905, allocations: 10.69 kB / 0.5696 GB, free: 31.17 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002284/0.2907, allocations: 167.8 kB / 0.5698 GB, free: 31.12 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.005e-05/0.2908, allocations: 38.38 kB / 0.5698 GB, free: 31.1 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.202e-05/0.2909, allocations: 57.41 kB / 0.5699 GB, free: 31.07 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002675/0.2912, allocations: 228.7 kB / 0.5701 GB, free: 31 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.2912, allocations: 0 / 0.5701 GB, free: 31 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.2912, allocations: 0 / 0.5701 GB, free: 31 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.205e-06/0.2912, allocations: 1.125 kB / 0.5701 GB, free: 31 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.0004172/0.2916, allocations: 449.1 kB / 0.5705 GB, free: 30.58 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.089e-05/0.2916, allocations: 9.688 kB / 0.5705 GB, free: 30.58 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.348e-05/0.2917, allocations: 37.52 kB / 0.5706 GB, free: 30.54 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.376e-05/0.2917, allocations: 12.84 kB / 0.5706 GB, free: 30.53 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001494/0.2919, allocations: 215.6 kB / 0.5708 GB, free: 30.31 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.2919, allocations: 5.531 kB / 0.5708 GB, free: 30.31 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.658e-05/0.2919, allocations: 14.19 kB / 0.5708 GB, free: 30.3 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001246/0.2921, allocations: 81.56 kB / 0.5709 GB, free: 30.25 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.834e-06/0.2921, allocations: 4.594 kB / 0.5709 GB, free: 30.24 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.888e-06/0.2921, allocations: 1.031 kB / 0.5709 GB, free: 30.24 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.2921, allocations: 6.906 kB / 0.5709 GB, free: 30.24 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.748e-05/0.2922, allocations: 40.06 kB / 0.5709 GB, free: 30.23 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001744/0.2923, allocations: 225.1 kB / 0.5711 GB, free: 30.01 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.216e-05/0.2924, allocations: 82.16 kB / 0.5712 GB, free: 29.95 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.186e-05/0.2925, allocations: 57 kB / 0.5713 GB, free: 29.91 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.035e-05/0.2925, allocations: 3 kB / 0.5713 GB, free: 29.91 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000149/0.2927, allocations: 116.5 kB / 0.5714 GB, free: 29.83 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 2.054e-06/0.2927, allocations: 0.9688 kB / 0.5714 GB, free: 29.83 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.0002974/0.293, allocations: 189.1 kB / 0.5716 GB, free: 29.75 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.34e-05/0.293, allocations: 89 kB / 0.5717 GB, free: 29.65 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.179e-05/0.2931, allocations: 145.5 kB / 0.5718 GB, free: 29.54 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.307e-05/0.2932, allocations: 34.84 kB / 0.5718 GB, free: 29.51 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.072e-05/0.2932, allocations: 106.5 kB / 0.5719 GB, free: 29.41 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.486e-05/0.2933, allocations: 35.34 kB / 0.572 GB, free: 29.38 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.724e-05/0.2933, allocations: 51.05 kB / 0.572 GB, free: 29.35 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.351e-05/0.2934, allocations: 327.8 kB / 0.5723 GB, free: 29.03 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.261e-05/0.2934, allocations: 39.45 kB / 0.5724 GB, free: 29.02 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001614/0.2936, allocations: 205.3 kB / 0.5726 GB, free: 28.85 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001155/0.2937, allocations: 102.4 kB / 0.5727 GB, free: 28.79 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.2937, allocations: 0 / 0.5727 GB, free: 28.79 MB / 446.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001961/0.2939, allocations: 162.3 kB / 0.5728 GB, free: 28.72 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/0.294, allocations: 5.609 kB / 0.5728 GB, free: 28.72 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.865e-05/0.294, allocations: 8.344 kB / 0.5728 GB, free: 28.71 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.294, allocations: 1.125 kB / 0.5728 GB, free: 28.71 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.488e-05/0.2941, allocations: 12.03 kB / 0.5728 GB, free: 28.71 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.2941, allocations: 1.766 kB / 0.5728 GB, free: 28.71 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002595/0.2943, allocations: 78.7 kB / 0.5729 GB, free: 28.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.718e-06/0.2944, allocations: 3.969 kB / 0.5729 GB, free: 28.7 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.659e-05/0.2944, allocations: 131.7 kB / 0.573 GB, free: 28.58 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.822e-05/0.2945, allocations: 12.88 kB / 0.5731 GB, free: 28.57 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.432e-05/0.2945, allocations: 16.22 kB / 0.5731 GB, free: 28.57 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.2945, allocations: 5.125 kB / 0.5731 GB, free: 28.56 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.2945, allocations: 2 kB / 0.5731 GB, free: 28.56 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.2945, allocations: 1.25 kB / 0.5731 GB, free: 28.56 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.908e-05/0.2946, allocations: 202.6 kB / 0.5733 GB, free: 28.35 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.2946, allocations: 1.156 kB / 0.5733 GB, free: 28.35 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.22e-05/0.2947, allocations: 9.094 kB / 0.5733 GB, free: 28.34 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.2947, allocations: 1 kB / 0.5733 GB, free: 28.34 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-06/0.2947, allocations: 5.25 kB / 0.5733 GB, free: 28.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.2947, allocations: 1.25 kB / 0.5733 GB, free: 28.34 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.2947, allocations: 0 / 0.5733 GB, free: 28.34 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001784/0.2949, allocations: 177.6 kB / 0.5735 GB, free: 28.24 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.033e-05/0.2949, allocations: 93.36 kB / 0.5736 GB, free: 28.13 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.847e-05/0.2949, allocations: 3.516 kB / 0.5736 GB, free: 28.13 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.982e-05/0.295, allocations: 6.969 kB / 0.5736 GB, free: 28.13 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.439e-05/0.295, allocations: 6.188 kB / 0.5736 GB, free: 28.13 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.672e-06/0.295, allocations: 3.781 kB / 0.5736 GB, free: 28.13 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.318e-05/0.2951, allocations: 113.6 kB / 0.5737 GB, free: 28.05 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2951, allocations: 0 / 0.5737 GB, free: 28.05 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002824/0.2954, allocations: 79.84 kB / 0.5738 GB, free: 28.03 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.0004153/0.2958, allocations: 0.7795 MB / 0.5745 GB, free: 27.37 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002149/0.296, allocations: 166.8 kB / 0.5747 GB, free: 27.28 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.296, allocations: 0 / 0.5747 GB, free: 27.28 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.935e-05/0.2961, allocations: 54.02 kB / 0.5747 GB, free: 27.26 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001493/0.2962, allocations: 6.469 kB / 0.5747 GB, free: 27.26 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00125/0.2975, allocations: 1.707 MB / 0.5764 GB, free: 25.91 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001118/0.2976, allocations: 0.7061 MB / 0.5771 GB, free: 25.21 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.428e-05/0.2977, allocations: 9 kB / 0.5771 GB, free: 25.21 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.859e-05/0.2977, allocations: 31.11 kB / 0.5771 GB, free: 25.19 MB / 446.1 MB Notification: Performance of SimCode: time 2.31e-07/0.2977, allocations: 0 / 0.5771 GB, free: 25.19 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1976/0.4954, allocations: 3.926 MB / 0.581 GB, free: 24.2 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.764/8.259, allocations: 7.953 kB / 0.581 GB, free: 24.19 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/IBPSA_latest_IBPSA.Controls.SetPoints.Examples.OccupancySchedule.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_SetPoints_Examples_OccupancySchedule_fmu --startTime=-86400 --stopTime=1.2096e+06 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_SetPoints_Examples_OccupancySchedule.fmu > IBPSA_latest_IBPSA.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1)