Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.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: "" <> buildModelFMU(IDEAS.Controls.SetPoints.Examples.OccupancySchedule,fileNamePrefix="IDEAS_IDEAS_Controls_SetPoints_Examples_OccupancySchedule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.SetPoints.Examples.OccupancySchedule,fileNamePrefix="IDEAS_IDEAS_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.0007634/0.0007633, allocations: 91.53 kB / 15.36 MB, free: 0.7383 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.004592/0.004592, allocations: 174.2 kB / 16.27 MB, free: 6.613 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.284/1.284, allocations: 223.2 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7132/0.7132, allocations: 132.3 MB / 423.7 MB, free: 1.984 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003946/0.0003947, allocations: 8 kB / 0.5041 GB, free: 3.816 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3373/0.3377, allocations: 81.58 MB / 0.5837 GB, free: 3.875 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.OccupancySchedule): time 0.001349/0.3391, allocations: 1.139 MB / 0.5849 GB, free: 3.035 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008594/0.34, allocations: 0.4985 MB / 0.5853 GB, free: 2.703 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.749e-05/0.3401, allocations: 1.188 kB / 0.5853 GB, free: 2.703 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 6.6e-05/0.3402, allocations: 7.141 kB / 0.5853 GB, free: 2.699 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.846e-05/0.3402, allocations: 13.27 kB / 0.5854 GB, free: 2.691 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006828/0.3409, allocations: 197.8 kB / 0.5855 GB, free: 2.598 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002096/0.3411, allocations: 129.5 kB / 0.5857 GB, free: 2.559 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.79e-05/0.3412, allocations: 14.27 kB / 0.5857 GB, free: 2.551 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.019e-05/0.3413, allocations: 52.3 kB / 0.5857 GB, free: 2.535 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.11e-05/0.3414, allocations: 37.91 kB / 0.5858 GB, free: 2.523 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.65e-05/0.3414, allocations: 6.812 kB / 0.5858 GB, free: 2.523 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002953/0.3417, allocations: 161.2 kB / 0.5859 GB, free: 2.473 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.46e-05/0.3418, allocations: 35.05 kB / 0.586 GB, free: 2.457 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 7.269e-05/0.3418, allocations: 75.23 kB / 0.586 GB, free: 2.402 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003462/0.3422, allocations: 222.5 kB / 0.5862 GB, free: 2.336 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.3422, allocations: 0 / 0.5862 GB, free: 2.336 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.3422, allocations: 1.703 kB / 0.5863 GB, free: 2.336 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.358e-06/0.3422, allocations: 5.156 kB / 0.5863 GB, free: 2.332 MB / 430.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.0004756/0.3427, allocations: 429.2 kB / 0.5867 GB, free: 1.918 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/0.3428, allocations: 9.062 kB / 0.5867 GB, free: 1.918 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.778e-05/0.3428, allocations: 38.09 kB / 0.5867 GB, free: 1.875 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.408e-05/0.3429, allocations: 16.69 kB / 0.5867 GB, free: 1.867 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001584/0.343, allocations: 202.3 kB / 0.5869 GB, free: 1.656 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.289e-05/0.343, allocations: 5.953 kB / 0.5869 GB, free: 1.656 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.198e-05/0.3431, allocations: 17.78 kB / 0.5869 GB, free: 1.648 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001386/0.3432, allocations: 85 kB / 0.587 GB, free: 1.59 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.206e-06/0.3432, allocations: 7.938 kB / 0.587 GB, free: 1.582 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-06/0.3432, allocations: 0 / 0.587 GB, free: 1.582 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.3433, allocations: 2.266 kB / 0.587 GB, free: 1.582 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.483e-05/0.3433, allocations: 39.72 kB / 0.5871 GB, free: 1.57 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000198/0.3435, allocations: 228.7 kB / 0.5873 GB, free: 1.348 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.197e-05/0.3436, allocations: 83.08 kB / 0.5874 GB, free: 1.281 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.371e-05/0.3437, allocations: 59.41 kB / 0.5874 GB, free: 1.25 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.181e-05/0.3437, allocations: 0 / 0.5874 GB, free: 1.25 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001972/0.3439, allocations: 111.1 kB / 0.5875 GB, free: 1.168 MB / 430.1 MB Notification: Performance of pre-optimization done (n=14): time 1.273e-06/0.344, allocations: 0 / 0.5875 GB, free: 1.168 MB / 430.1 MB Notification: Performance of matching and sorting (n=14): time 0.0003245/0.3443, allocations: 182.1 kB / 0.5877 GB, free: 1.098 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.576e-05/0.3443, allocations: 91.34 kB / 0.5878 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001079/0.3444, allocations: 152.7 kB / 0.5879 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.329e-05/0.3445, allocations: 39.19 kB / 0.588 GB, free: 0.8398 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.552e-05/0.3445, allocations: 100.2 kB / 0.5881 GB, free: 0.7422 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.076e-05/0.3446, allocations: 37.22 kB / 0.5881 GB, free: 0.7148 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.123e-05/0.3446, allocations: 27.25 kB / 0.5881 GB, free: 0.6914 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.954e-05/0.3447, allocations: 325.9 kB / 0.5884 GB, free: 380 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.422e-05/0.3448, allocations: 43.08 kB / 0.5885 GB, free: 368 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001958/0.345, allocations: 197.3 kB / 0.5887 GB, free: 196 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001372/0.3451, allocations: 97.48 kB / 0.5888 GB, free: 144 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.3451, allocations: 0 / 0.5888 GB, free: 144 kB / 430.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000218/0.3453, allocations: 164.5 kB / 0.5889 GB, free: 64 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.3454, allocations: 5.578 kB / 0.5889 GB, free: 64 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.92e-05/0.3454, allocations: 3.203 kB / 0.5889 GB, free: 64 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.3454, allocations: 4.969 kB / 0.5889 GB, free: 60 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.767e-05/0.3455, allocations: 8.5 kB / 0.5889 GB, free: 60 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.3455, allocations: 5.734 kB / 0.5889 GB, free: 56 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002916/0.3458, allocations: 86.83 kB / 0.589 GB, free: 44 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.205e-05/0.3458, allocations: 8.734 kB / 0.589 GB, free: 40 kB / 430.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 0.000132/0.3459, allocations: 134.1 kB / 0.5892 GB, free: 15.91 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.383e-05/0.346, allocations: 21.97 kB / 0.5892 GB, free: 15.9 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.565e-05/0.346, allocations: 20.72 kB / 0.5892 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.346, allocations: 5.781 kB / 0.5892 GB, free: 15.87 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.346, allocations: 1.375 kB / 0.5892 GB, free: 15.87 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.346, allocations: 0.7969 kB / 0.5892 GB, free: 15.87 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000152/0.3462, allocations: 196.8 kB / 0.5894 GB, free: 15.66 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.3462, allocations: 5.797 kB / 0.5894 GB, free: 15.66 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.281e-05/0.3462, allocations: 6.062 kB / 0.5894 GB, free: 15.66 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.3462, allocations: 0.9688 kB / 0.5894 GB, free: 15.66 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.679e-06/0.3463, allocations: 2.812 kB / 0.5894 GB, free: 15.66 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.3463, allocations: 1.469 kB / 0.5894 GB, free: 15.66 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.3463, allocations: 0.5156 kB / 0.5894 GB, free: 15.66 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002443/0.3465, allocations: 192.4 kB / 0.5896 GB, free: 15.54 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.864e-05/0.3466, allocations: 89.72 kB / 0.5897 GB, free: 15.43 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.112e-05/0.3466, allocations: 5.75 kB / 0.5897 GB, free: 15.43 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.344e-05/0.3466, allocations: 4.672 kB / 0.5897 GB, free: 15.43 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.531e-05/0.3467, allocations: 5.344 kB / 0.5897 GB, free: 15.43 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.805e-06/0.3467, allocations: 3.641 kB / 0.5897 GB, free: 15.43 MB / 446.1 MB Notification: Performance of sorting global known variables: time 8.521e-05/0.3468, allocations: 121.4 kB / 0.5898 GB, free: 15.34 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3468, allocations: 0 / 0.5898 GB, free: 15.34 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003264/0.3471, allocations: 71.64 kB / 0.5899 GB, free: 15.33 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.0006082/0.3477, allocations: 0.7721 MB / 0.5906 GB, free: 14.68 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002741/0.348, allocations: 165.3 kB / 0.5908 GB, free: 14.59 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.348, allocations: 1.281 kB / 0.5908 GB, free: 14.59 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.187e-05/0.3481, allocations: 46.86 kB / 0.5908 GB, free: 14.57 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001717/0.3483, allocations: 12.34 kB / 0.5909 GB, free: 14.56 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001701/0.35, allocations: 1.728 MB / 0.5925 GB, free: 13.19 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002898/0.3503, allocations: 0.7014 MB / 0.5932 GB, free: 12.5 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.412e-05/0.3503, allocations: 8.344 kB / 0.5932 GB, free: 12.5 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.816e-05/0.3504, allocations: 30.81 kB / 0.5933 GB, free: 12.47 MB / 446.1 MB Notification: Performance of SimCode: time 2.7e-07/0.3504, allocations: 0.6562 kB / 0.5933 GB, free: 12.47 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.605/2.956, allocations: 3.626 MB / 0.5968 GB, free: 11.88 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001926/2.956, allocations: 193.1 kB / 0.597 GB, free: 11.62 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.451/5.407, allocations: 3.938 kB / 0.597 GB, free: 11.62 MB / 446.1 MB (rm -f IDEAS_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo IDEAS_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/IDEAS_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_SetPoints_Examples_OccupancySchedule_fmu --startTime=-86400 --stopTime=1.2096e+06 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_SetPoints_Examples_OccupancySchedule.fmu > IDEAS_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1)