Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Controls.SetPoints.Examples.OccupancySchedule,fileNamePrefix="IDEAS_dev_IDEAS_Controls_SetPoints_Examples_OccupancySchedule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.SetPoints.Examples.OccupancySchedule,fileNamePrefix="IDEAS_dev_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.001055/0.001055, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001028/0.001028, allocations: 194.2 kB / 16.25 MB, free: 6.633 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.312/1.312, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9963/0.9963, allocations: 135.1 MB / 425.2 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 72.94 kB / 0.505 GB, free: 5.57 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1369/0.1382, allocations: 80.93 MB / 0.584 GB, free: 4.812 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.OccupancySchedule): time 0.002431/0.1406, allocations: 1.471 MB / 0.5854 GB, free: 3.328 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008304/0.1415, allocations: 0.4906 MB / 0.5859 GB, free: 2.836 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.581e-05/0.1415, allocations: 3.938 kB / 0.5859 GB, free: 2.832 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 6.901e-05/0.1416, allocations: 4 kB / 0.5859 GB, free: 2.828 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.165e-05/0.1417, allocations: 11.92 kB / 0.5859 GB, free: 2.816 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006919/0.1424, allocations: 215.4 kB / 0.5861 GB, free: 2.609 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001933/0.1426, allocations: 139.8 kB / 0.5863 GB, free: 2.473 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.81e-05/0.1426, allocations: 7.984 kB / 0.5863 GB, free: 2.465 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.457e-05/0.1427, allocations: 59.84 kB / 0.5863 GB, free: 2.406 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.364e-05/0.1428, allocations: 39.83 kB / 0.5864 GB, free: 2.367 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.827e-05/0.1428, allocations: 16 kB / 0.5864 GB, free: 2.352 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002406/0.1431, allocations: 175.8 kB / 0.5865 GB, free: 2.18 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.255e-05/0.1431, allocations: 35.91 kB / 0.5866 GB, free: 2.145 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.199e-05/0.1432, allocations: 55.72 kB / 0.5866 GB, free: 2.09 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002891/0.1435, allocations: 227.7 kB / 0.5869 GB, free: 1.867 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.1435, allocations: 0 / 0.5869 GB, free: 1.867 MB / 494.1 MB Notification: Performance of FrontEnd: time 5.58e-06/0.1435, allocations: 3.984 kB / 0.5869 GB, free: 1.863 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.66e-06/0.1435, allocations: 4 kB / 0.5869 GB, free: 1.859 MB / 494.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.0005279/0.1441, allocations: 443 kB / 0.5873 GB, free: 1.375 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.1441, allocations: 12.03 kB / 0.5873 GB, free: 1.363 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.469e-05/0.1442, allocations: 34.75 kB / 0.5873 GB, free: 1.32 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.046e-05/0.1442, allocations: 12.84 kB / 0.5873 GB, free: 1.309 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001818/0.1444, allocations: 214.1 kB / 0.5875 GB, free: 1.062 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.775e-05/0.1444, allocations: 16.31 kB / 0.5876 GB, free: 1.047 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.606e-05/0.1445, allocations: 8.375 kB / 0.5876 GB, free: 1.039 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001409/0.1446, allocations: 79.95 kB / 0.5876 GB, free: 0.9492 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.1446, allocations: 3.938 kB / 0.5876 GB, free: 0.9453 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.097e-06/0.1446, allocations: 4 kB / 0.5876 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.1446, allocations: 0 / 0.5876 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.075e-05/0.1447, allocations: 39.97 kB / 0.5877 GB, free: 0.9023 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000232/0.145, allocations: 238.3 kB / 0.5879 GB, free: 0.6172 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001063/0.1451, allocations: 77.23 kB / 0.588 GB, free: 0.5234 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.218e-05/0.1452, allocations: 57.81 kB / 0.588 GB, free: 472 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.44e-05/0.1452, allocations: 3.984 kB / 0.588 GB, free: 468 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001966/0.1454, allocations: 117 kB / 0.5882 GB, free: 332 kB / 494.1 MB Notification: Performance of pre-optimization done (n=14): time 1.172e-06/0.1454, allocations: 0 / 0.5882 GB, free: 332 kB / 494.1 MB Notification: Performance of matching and sorting (n=14): time 0.0003213/0.1457, allocations: 181.5 kB / 0.5883 GB, free: 144 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.882e-05/0.1458, allocations: 85.09 kB / 0.5884 GB, free: 40 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001227/0.1459, allocations: 152.4 kB / 0.5886 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.545e-05/0.146, allocations: 37.69 kB / 0.5886 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.718e-05/0.146, allocations: 100.5 kB / 0.5887 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.439e-05/0.1461, allocations: 43.39 kB / 0.5887 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.233e-05/0.1462, allocations: 49.7 kB / 0.5888 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.264e-05/0.1463, allocations: 322.8 kB / 0.5891 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.724e-05/0.1463, allocations: 47.91 kB / 0.5891 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002144/0.1465, allocations: 203.3 kB / 0.5893 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001447/0.1467, allocations: 102.3 kB / 0.5894 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.1467, allocations: 0 / 0.5894 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002315/0.1469, allocations: 161.4 kB / 0.5896 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.147, allocations: 8 kB / 0.5896 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.977e-05/0.147, allocations: 0 / 0.5896 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.147, allocations: 4 kB / 0.5896 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.782e-05/0.1471, allocations: 7.984 kB / 0.5896 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/0.1471, allocations: 7.938 kB / 0.5896 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000275/0.1474, allocations: 75.75 kB / 0.5897 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.091e-05/0.1474, allocations: 4 kB / 0.5897 GB, free: 14.64 MB / 0.4981 GB 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.0001095/0.1475, allocations: 129.8 kB / 0.5898 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.201e-05/0.1476, allocations: 19.84 kB / 0.5898 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.686e-05/0.1476, allocations: 12.72 kB / 0.5898 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.1476, allocations: 4 kB / 0.5898 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.1476, allocations: 0 / 0.5898 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.1476, allocations: 0 / 0.5898 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001344/0.1477, allocations: 193.5 kB / 0.59 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.1478, allocations: 4 kB / 0.59 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.155e-05/0.1478, allocations: 4 kB / 0.59 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.1478, allocations: 0 / 0.59 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.197e-05/0.1478, allocations: 7.984 kB / 0.59 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.1478, allocations: 3.938 kB / 0.59 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.1478, allocations: 0 / 0.59 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002017/0.148, allocations: 193.7 kB / 0.5902 GB, free: 14 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.129e-05/0.1481, allocations: 92.86 kB / 0.5903 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.008e-05/0.1481, allocations: 4 kB / 0.5903 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.116e-05/0.1482, allocations: 4 kB / 0.5903 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.689e-05/0.1482, allocations: 3.984 kB / 0.5903 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.144e-06/0.1482, allocations: 4 kB / 0.5903 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.708e-05/0.1483, allocations: 119.2 kB / 0.5904 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1483, allocations: 0 / 0.5904 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002792/0.1486, allocations: 67.98 kB / 0.5905 GB, free: 13.69 MB / 0.4981 GB 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.000569/0.1492, allocations: 0.7808 MB / 0.5913 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002344/0.1494, allocations: 171.3 kB / 0.5914 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.1494, allocations: 4 kB / 0.5914 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.216e-05/0.1495, allocations: 43.86 kB / 0.5915 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001548/0.1496, allocations: 8 kB / 0.5915 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001486/0.1511, allocations: 1.729 MB / 0.5932 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002204/0.1514, allocations: 0.708 MB / 0.5939 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.301e-05/0.1514, allocations: 8.656 kB / 0.5939 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.357e-05/0.1515, allocations: 31.42 kB / 0.5939 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of SimCode: time 2.7e-07/0.1515, allocations: 4 kB / 0.5939 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.427/0.5785, allocations: 3.803 MB / 0.5976 GB, free: 6.395 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002633/0.5788, allocations: 196.3 kB / 0.5978 GB, free: 6.141 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.79/2.369, allocations: 3.938 kB / 0.5978 GB, free: 6.137 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/IDEAS_dev_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_SetPoints_Examples_OccupancySchedule_fmu --startTime=-86400 --stopTime=1.2096e+06 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_SetPoints_Examples_OccupancySchedule.fmu > IDEAS_dev_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1)