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.001365/0.001365, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001786/0.001787, allocations: 192.1 kB / 16.14 MB, free: 6.688 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.248/1.248, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8935/0.8935, allocations: 135.1 MB / 425.1 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001089/0.001089, allocations: 67.62 kB / 0.5048 GB, free: 5.676 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1383/0.1394, allocations: 80.92 MB / 0.5838 GB, free: 4.926 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.OccupancySchedule): time 0.002188/0.1416, allocations: 1.476 MB / 0.5852 GB, free: 3.434 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008403/0.1424, allocations: 0.514 MB / 0.5857 GB, free: 2.918 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.327e-05/0.1425, allocations: 0 / 0.5857 GB, free: 2.918 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 6.356e-05/0.1425, allocations: 11.92 kB / 0.5857 GB, free: 2.906 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.372e-05/0.1426, allocations: 11.92 kB / 0.5858 GB, free: 2.895 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005172/0.1431, allocations: 192.9 kB / 0.5859 GB, free: 2.711 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001661/0.1433, allocations: 143.7 kB / 0.5861 GB, free: 2.57 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.634e-05/0.1433, allocations: 8 kB / 0.5861 GB, free: 2.562 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.332e-05/0.1434, allocations: 47.91 kB / 0.5861 GB, free: 2.516 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.743e-05/0.1435, allocations: 47.81 kB / 0.5862 GB, free: 2.469 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.218e-05/0.1435, allocations: 4 kB / 0.5862 GB, free: 2.465 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002102/0.1437, allocations: 155.8 kB / 0.5863 GB, free: 2.312 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.602e-05/0.1438, allocations: 31.91 kB / 0.5864 GB, free: 2.281 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.066e-05/0.1439, allocations: 55.77 kB / 0.5864 GB, free: 2.227 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002541/0.1441, allocations: 219.7 kB / 0.5866 GB, free: 2.012 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.445e-06/0.1441, allocations: 4 kB / 0.5866 GB, free: 2.008 MB / 494.1 MB Notification: Performance of FrontEnd: time 5.61e-07/0.1441, allocations: 0 / 0.5866 GB, free: 2.008 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.42e-06/0.1441, allocations: 0 / 0.5866 GB, free: 2.008 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.0004916/0.1446, allocations: 450.9 kB / 0.5871 GB, free: 1.516 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.155e-05/0.1447, allocations: 12.02 kB / 0.5871 GB, free: 1.504 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.151e-05/0.1447, allocations: 38.69 kB / 0.5871 GB, free: 1.457 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.192e-05/0.1448, allocations: 12.84 kB / 0.5871 GB, free: 1.445 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001773/0.1449, allocations: 212.1 kB / 0.5873 GB, free: 1.199 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.122e-05/0.145, allocations: 4.375 kB / 0.5873 GB, free: 1.195 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.363e-05/0.145, allocations: 16.36 kB / 0.5873 GB, free: 1.18 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001288/0.1451, allocations: 79.95 kB / 0.5874 GB, free: 1.09 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.133e-06/0.1451, allocations: 3.938 kB / 0.5874 GB, free: 1.086 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.438e-06/0.1452, allocations: 0 / 0.5874 GB, free: 1.086 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.1452, allocations: 3.938 kB / 0.5874 GB, free: 1.082 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.745e-05/0.1452, allocations: 39.97 kB / 0.5875 GB, free: 1.043 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002067/0.1455, allocations: 238.4 kB / 0.5877 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.816e-05/0.1456, allocations: 77.14 kB / 0.5878 GB, free: 0.6641 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.55e-05/0.1456, allocations: 61.84 kB / 0.5878 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.846e-06/0.1457, allocations: 0 / 0.5878 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00016/0.1458, allocations: 113 kB / 0.5879 GB, free: 480 kB / 494.1 MB Notification: Performance of pre-optimization done (n=14): time 1.022e-06/0.1458, allocations: 0 / 0.5879 GB, free: 480 kB / 494.1 MB Notification: Performance of matching and sorting (n=14): time 0.0003019/0.1461, allocations: 189.4 kB / 0.5881 GB, free: 284 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.879e-05/0.1462, allocations: 89.11 kB / 0.5882 GB, free: 176 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001044/0.1463, allocations: 148 kB / 0.5883 GB, free: 20 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.875e-05/0.1464, allocations: 33.7 kB / 0.5884 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.815e-05/0.1464, allocations: 108.5 kB / 0.5885 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.647e-05/0.1465, allocations: 43.44 kB / 0.5885 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.832e-05/0.1466, allocations: 49.7 kB / 0.5886 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.75e-05/0.1467, allocations: 326.8 kB / 0.5889 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.625e-05/0.1467, allocations: 35.98 kB / 0.5889 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001958/0.1469, allocations: 200.9 kB / 0.5891 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001265/0.1471, allocations: 97.47 kB / 0.5892 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.1471, allocations: 0 / 0.5892 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002766/0.1473, allocations: 157.4 kB / 0.5893 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.1474, allocations: 8 kB / 0.5894 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.854e-05/0.1474, allocations: 7.938 kB / 0.5894 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.1474, allocations: 4 kB / 0.5894 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.995e-05/0.1475, allocations: 11.98 kB / 0.5894 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.725e-06/0.1475, allocations: 4 kB / 0.5894 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002419/0.1477, allocations: 71.75 kB / 0.5894 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.387e-05/0.1478, allocations: 8 kB / 0.5895 GB, free: 14.79 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.0001187/0.1479, allocations: 137.8 kB / 0.5896 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.947e-05/0.1479, allocations: 11.84 kB / 0.5896 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.278e-05/0.148, allocations: 12.72 kB / 0.5896 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.148, allocations: 3.938 kB / 0.5896 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.148, allocations: 3.938 kB / 0.5896 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.148, allocations: 4 kB / 0.5896 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001592/0.1481, allocations: 205.5 kB / 0.5898 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.1482, allocations: 0 / 0.5898 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.372e-05/0.1482, allocations: 8 kB / 0.5898 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.1482, allocations: 0 / 0.5898 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.128e-05/0.1482, allocations: 4 kB / 0.5898 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.015e-06/0.1482, allocations: 3.984 kB / 0.5898 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1482, allocations: 0 / 0.5898 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002407/0.1485, allocations: 185.7 kB / 0.59 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.161e-05/0.1485, allocations: 92.95 kB / 0.5901 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.128e-05/0.1486, allocations: 3.984 kB / 0.5901 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.991e-05/0.1486, allocations: 4 kB / 0.5901 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.217e-05/0.1487, allocations: 11.98 kB / 0.5901 GB, free: 14 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.091e-06/0.1487, allocations: 0 / 0.5901 GB, free: 14 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.137e-05/0.1487, allocations: 113 kB / 0.5902 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1487, allocations: 0 / 0.5902 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002836/0.149, allocations: 79.98 kB / 0.5903 GB, free: 13.82 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.0006008/0.1496, allocations: 0.7825 MB / 0.5911 GB, free: 13 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002412/0.1499, allocations: 160.3 kB / 0.5912 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.1499, allocations: 4 kB / 0.5912 GB, free: 12.83 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.22e-05/0.15, allocations: 43.92 kB / 0.5913 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000147/0.1501, allocations: 8 kB / 0.5913 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001572/0.1517, allocations: 1.717 MB / 0.5929 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000284/0.152, allocations: 0.7121 MB / 0.5936 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.097e-05/0.152, allocations: 4.672 kB / 0.5936 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.248e-05/0.1521, allocations: 31.42 kB / 0.5937 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of SimCode: time 2.7e-07/0.1521, allocations: 0 / 0.5937 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.482/0.6341, allocations: 3.714 MB / 0.5973 GB, free: 6.613 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002148/0.6343, allocations: 198 kB / 0.5975 GB, free: 6.355 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.7/2.334, allocations: 0 / 0.5975 GB, free: 6.355 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)