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.001166/0.001166, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001271/0.001271, allocations: 197.9 kB / 16.25 MB, free: 6.621 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.237/1.237, allocations: 222.9 MB / 239.9 MB, free: 4.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7404/0.7404, allocations: 132.2 MB / 422.3 MB, free: 1.934 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001187/0.001187, allocations: 64.17 kB / 0.5013 GB, free: 8.992 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1466/0.1478, allocations: 80.2 MB / 0.5797 GB, free: 9.016 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.OccupancySchedule): time 0.002403/0.1502, allocations: 1.472 MB / 0.5811 GB, free: 7.531 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000746/0.151, allocations: 0.4983 MB / 0.5816 GB, free: 7.031 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.755e-05/0.151, allocations: 4 kB / 0.5816 GB, free: 7.027 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 6.669e-05/0.1511, allocations: 7.938 kB / 0.5816 GB, free: 7.02 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.428e-05/0.1512, allocations: 7.922 kB / 0.5816 GB, free: 7.012 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005876/0.1518, allocations: 209.3 kB / 0.5818 GB, free: 6.812 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001753/0.152, allocations: 135.8 kB / 0.5819 GB, free: 6.68 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.432e-05/0.152, allocations: 7.984 kB / 0.5819 GB, free: 6.672 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.552e-05/0.1521, allocations: 67.78 kB / 0.582 GB, free: 6.605 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000114/0.1522, allocations: 35.91 kB / 0.582 GB, free: 6.57 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.801e-05/0.1522, allocations: 12 kB / 0.5821 GB, free: 6.559 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002291/0.1525, allocations: 179.8 kB / 0.5822 GB, free: 6.383 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.098e-05/0.1525, allocations: 31.91 kB / 0.5823 GB, free: 6.352 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.823e-05/0.1526, allocations: 55.72 kB / 0.5823 GB, free: 6.297 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002731/0.1529, allocations: 227.7 kB / 0.5825 GB, free: 6.074 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.1529, allocations: 0 / 0.5825 GB, free: 6.074 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1529, allocations: 4 kB / 0.5825 GB, free: 6.07 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.616e-06/0.1529, allocations: 3.938 kB / 0.5825 GB, free: 6.066 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.0004964/0.1534, allocations: 451 kB / 0.583 GB, free: 5.574 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.1535, allocations: 8.031 kB / 0.583 GB, free: 5.566 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.861e-05/0.1535, allocations: 34.73 kB / 0.583 GB, free: 5.523 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.516e-05/0.1536, allocations: 16.75 kB / 0.583 GB, free: 5.508 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000182/0.1538, allocations: 208.1 kB / 0.5832 GB, free: 5.266 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.195e-05/0.1538, allocations: 16.31 kB / 0.5832 GB, free: 5.25 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.614e-05/0.1538, allocations: 8.375 kB / 0.5832 GB, free: 5.242 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001408/0.154, allocations: 87.94 kB / 0.5833 GB, free: 5.145 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.154, allocations: 3.938 kB / 0.5833 GB, free: 5.141 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.837e-06/0.154, allocations: 0 / 0.5833 GB, free: 5.141 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.154, allocations: 0 / 0.5833 GB, free: 5.141 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.77e-05/0.1541, allocations: 39.92 kB / 0.5834 GB, free: 5.102 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002113/0.1543, allocations: 238.4 kB / 0.5836 GB, free: 4.816 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001009/0.1544, allocations: 85.12 kB / 0.5837 GB, free: 4.715 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.937e-05/0.1545, allocations: 61.84 kB / 0.5837 GB, free: 4.648 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.664e-06/0.1545, allocations: 0 / 0.5837 GB, free: 4.648 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001837/0.1547, allocations: 111.8 kB / 0.5838 GB, free: 4.523 MB / 494.1 MB Notification: Performance of pre-optimization done (n=14): time 1.102e-06/0.1547, allocations: 0 / 0.5838 GB, free: 4.523 MB / 494.1 MB Notification: Performance of matching and sorting (n=14): time 0.0003048/0.155, allocations: 185.5 kB / 0.584 GB, free: 4.336 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.412e-05/0.1551, allocations: 89.11 kB / 0.5841 GB, free: 4.23 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001048/0.1552, allocations: 148 kB / 0.5842 GB, free: 4.078 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.189e-05/0.1552, allocations: 33.7 kB / 0.5843 GB, free: 4.039 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.779e-05/0.1553, allocations: 108.4 kB / 0.5844 GB, free: 3.926 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.127e-05/0.1553, allocations: 35.45 kB / 0.5844 GB, free: 3.891 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.762e-05/0.1554, allocations: 57.64 kB / 0.5845 GB, free: 3.828 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.24e-05/0.1555, allocations: 322.8 kB / 0.5848 GB, free: 3.504 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.1e-05/0.1556, allocations: 43.98 kB / 0.5848 GB, free: 3.461 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000178/0.1557, allocations: 197.7 kB / 0.585 GB, free: 3.215 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001281/0.1559, allocations: 101.3 kB / 0.5851 GB, free: 3.113 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.1559, allocations: 0 / 0.5851 GB, free: 3.113 MB / 494.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002037/0.1561, allocations: 161.4 kB / 0.5853 GB, free: 2.949 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.858e-05/0.1561, allocations: 8 kB / 0.5853 GB, free: 2.941 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.765e-05/0.1562, allocations: 0 / 0.5853 GB, free: 2.941 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.1562, allocations: 4 kB / 0.5853 GB, free: 2.938 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.372e-05/0.1563, allocations: 11.92 kB / 0.5853 GB, free: 2.926 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.603e-06/0.1563, allocations: 4 kB / 0.5853 GB, free: 2.922 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002568/0.1565, allocations: 78.42 kB / 0.5854 GB, free: 2.848 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.038e-05/0.1565, allocations: 4 kB / 0.5854 GB, free: 2.844 MB / 494.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.0001045/0.1567, allocations: 133.8 kB / 0.5855 GB, free: 2.703 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.071e-05/0.1567, allocations: 19.75 kB / 0.5855 GB, free: 2.684 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.588e-05/0.1567, allocations: 8.719 kB / 0.5855 GB, free: 2.676 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.1567, allocations: 7.938 kB / 0.5855 GB, free: 2.668 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.1567, allocations: 0 / 0.5855 GB, free: 2.668 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.1567, allocations: 3.938 kB / 0.5855 GB, free: 2.664 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001361/0.1569, allocations: 193.6 kB / 0.5857 GB, free: 2.426 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.1569, allocations: 4 kB / 0.5857 GB, free: 2.422 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.234e-05/0.1569, allocations: 4 kB / 0.5857 GB, free: 2.418 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.1569, allocations: 0 / 0.5857 GB, free: 2.418 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.157, allocations: 8 kB / 0.5857 GB, free: 2.41 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.157, allocations: 0 / 0.5857 GB, free: 2.41 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.157, allocations: 3.984 kB / 0.5857 GB, free: 2.406 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002006/0.1572, allocations: 185.7 kB / 0.5859 GB, free: 2.203 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.264e-05/0.1572, allocations: 92.86 kB / 0.586 GB, free: 2.094 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.204e-05/0.1572, allocations: 4 kB / 0.586 GB, free: 2.09 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.785e-05/0.1573, allocations: 7.938 kB / 0.586 GB, free: 2.082 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.744e-05/0.1573, allocations: 7.984 kB / 0.586 GB, free: 2.074 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.601e-06/0.1573, allocations: 4 kB / 0.586 GB, free: 2.07 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.794e-05/0.1574, allocations: 120.9 kB / 0.5861 GB, free: 1.953 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1574, allocations: 0 / 0.5861 GB, free: 1.953 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002817/0.1577, allocations: 67.98 kB / 0.5862 GB, free: 1.887 MB / 494.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.0005526/0.1583, allocations: 0.7818 MB / 0.587 GB, free: 1.074 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002395/0.1585, allocations: 176.2 kB / 0.5871 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.1585, allocations: 0 / 0.5871 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 6.337e-05/0.1586, allocations: 43.98 kB / 0.5872 GB, free: 0.8477 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001634/0.1588, allocations: 11.94 kB / 0.5872 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001466/0.1602, allocations: 1.717 MB / 0.5889 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002103/0.1605, allocations: 0.7041 MB / 0.5896 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.061e-05/0.1605, allocations: 8.672 kB / 0.5896 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.432e-05/0.1606, allocations: 35.42 kB / 0.5896 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of SimCode: time 2.5e-07/0.1606, allocations: 0 / 0.5896 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.161/1.321, allocations: 3.8 MB / 0.5933 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002092/1.321, allocations: 191.7 kB / 0.5935 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.13/3.451, allocations: 0 / 0.5935 GB, free: 10.36 MB / 0.4981 GB (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)