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.001085/0.001085, allocations: 97.48 kB / 15.36 MB, free: 0.7305 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.001269/0.001269, allocations: 172.3 kB / 16.26 MB, free: 6.656 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.423/1.423, allocations: 223.3 MB / 240.3 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9348/0.9348, allocations: 135.3 MB / 426.7 MB, free: 14.25 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003917/0.0003917, allocations: 12.88 kB / 0.5077 GB, free: 4.645 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1693/0.1697, allocations: 82.3 MB / 0.5881 GB, free: 2.52 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.OccupancySchedule): time 0.001454/0.1712, allocations: 1.125 MB / 0.5892 GB, free: 1.383 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008441/0.172, allocations: 0.5102 MB / 0.5897 GB, free: 0.8711 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.289e-05/0.1721, allocations: 0 / 0.5897 GB, free: 0.8711 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 5.818e-05/0.1721, allocations: 11.92 kB / 0.5897 GB, free: 0.8594 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.615e-05/0.1722, allocations: 0 / 0.5897 GB, free: 0.8594 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005866/0.1728, allocations: 202.1 kB / 0.5899 GB, free: 0.668 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001877/0.173, allocations: 135.8 kB / 0.59 GB, free: 0.5352 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.324e-05/0.173, allocations: 7.984 kB / 0.59 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.368e-05/0.1731, allocations: 59.84 kB / 0.5901 GB, free: 480 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.028e-05/0.1732, allocations: 39.81 kB / 0.5901 GB, free: 440 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.278e-05/0.1732, allocations: 8 kB / 0.5901 GB, free: 432 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002282/0.1735, allocations: 163.8 kB / 0.5903 GB, free: 268 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.182e-05/0.1735, allocations: 31.91 kB / 0.5903 GB, free: 236 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.386e-05/0.1736, allocations: 77.41 kB / 0.5904 GB, free: 152 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002959/0.1739, allocations: 219.7 kB / 0.5906 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.1739, allocations: 0 / 0.5906 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.112e-06/0.1739, allocations: 4 kB / 0.5906 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.1739, allocations: 0 / 0.5906 GB, free: 15.93 MB / 0.4981 GB 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.0005324/0.1745, allocations: 423.2 kB / 0.591 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/0.1745, allocations: 12.03 kB / 0.591 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.025e-05/0.1746, allocations: 34.73 kB / 0.591 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.76e-05/0.1746, allocations: 16.75 kB / 0.591 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001979/0.1748, allocations: 210.3 kB / 0.5912 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.291e-05/0.1749, allocations: 4.375 kB / 0.5912 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.735e-05/0.1749, allocations: 20.38 kB / 0.5913 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001469/0.175, allocations: 79.94 kB / 0.5913 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.1751, allocations: 3.938 kB / 0.5913 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.757e-06/0.1751, allocations: 4 kB / 0.5914 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.1751, allocations: 0 / 0.5914 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.725e-05/0.1752, allocations: 39.92 kB / 0.5914 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002368/0.1754, allocations: 234.3 kB / 0.5916 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001118/0.1755, allocations: 85.25 kB / 0.5917 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.892e-05/0.1756, allocations: 57.8 kB / 0.5918 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.919e-06/0.1756, allocations: 0 / 0.5918 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002129/0.1759, allocations: 109 kB / 0.5919 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 1.012e-06/0.1759, allocations: 0 / 0.5919 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14): time 0.0003186/0.1762, allocations: 193.9 kB / 0.592 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.941e-05/0.1762, allocations: 85.11 kB / 0.5921 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001187/0.1764, allocations: 149.7 kB / 0.5923 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.271e-05/0.1764, allocations: 37.7 kB / 0.5923 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.765e-05/0.1765, allocations: 104.5 kB / 0.5924 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.189e-05/0.1765, allocations: 43.47 kB / 0.5924 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.416e-05/0.1766, allocations: 25.72 kB / 0.5925 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001412/0.1767, allocations: 322.8 kB / 0.5928 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.445e-05/0.1768, allocations: 47.97 kB / 0.5928 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002007/0.177, allocations: 197.2 kB / 0.593 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001324/0.1772, allocations: 93.7 kB / 0.5931 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1772, allocations: 0 / 0.5931 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002189/0.1774, allocations: 167.7 kB / 0.5933 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.1774, allocations: 6.031 kB / 0.5933 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.831e-05/0.1774, allocations: 4 kB / 0.5933 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.023e-05/0.1775, allocations: 0 / 0.5933 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.684e-05/0.1775, allocations: 15.92 kB / 0.5933 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.1775, allocations: 8 kB / 0.5933 GB, free: 12.83 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000285/0.1778, allocations: 90.94 kB / 0.5934 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.082e-05/0.1778, allocations: 4 kB / 0.5934 GB, free: 12.74 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.0001218/0.178, allocations: 133.9 kB / 0.5935 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.914e-05/0.178, allocations: 15.75 kB / 0.5935 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.36e-05/0.178, allocations: 16.72 kB / 0.5935 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.1781, allocations: 8 kB / 0.5935 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.1781, allocations: 0 / 0.5935 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.1781, allocations: 3.984 kB / 0.5935 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001535/0.1782, allocations: 189.6 kB / 0.5937 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-06/0.1782, allocations: 0 / 0.5937 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.19e-05/0.1783, allocations: 8 kB / 0.5937 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.499e-06/0.1783, allocations: 7.922 kB / 0.5937 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.047e-05/0.1783, allocations: 4 kB / 0.5937 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.1783, allocations: 0 / 0.5937 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.382e-06/0.1783, allocations: 0 / 0.5937 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002291/0.1786, allocations: 189.6 kB / 0.5939 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.362e-05/0.1786, allocations: 88.95 kB / 0.594 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.987e-05/0.1786, allocations: 4 kB / 0.594 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.574e-05/0.1787, allocations: 11.92 kB / 0.594 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.97e-05/0.1787, allocations: 4 kB / 0.594 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.611e-06/0.1788, allocations: 0 / 0.594 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 8.394e-05/0.1788, allocations: 117.3 kB / 0.5941 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1789, allocations: 4 kB / 0.5941 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002967/0.1792, allocations: 75.98 kB / 0.5942 GB, free: 11.77 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.0006084/0.1798, allocations: 0.7693 MB / 0.595 GB, free: 10.97 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002673/0.18, allocations: 162.8 kB / 0.5951 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/0.1801, allocations: 4 kB / 0.5951 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.35e-05/0.1801, allocations: 55.84 kB / 0.5952 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000179/0.1803, allocations: 11.94 kB / 0.5952 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001787/0.1821, allocations: 1.712 MB / 0.5969 GB, free: 8.918 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002394/0.1824, allocations: 0.7043 MB / 0.5976 GB, free: 8.188 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.282e-05/0.1824, allocations: 8.609 kB / 0.5976 GB, free: 8.18 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.447e-05/0.1825, allocations: 31.42 kB / 0.5976 GB, free: 8.148 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.1825, allocations: 0 / 0.5976 GB, free: 8.148 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01393/0.1964, allocations: 3.619 MB / 0.6011 GB, free: 4.691 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000169/0.1966, allocations: 204.2 kB / 0.6013 GB, free: 4.43 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.154/2.351, allocations: 0 / 0.6013 GB, free: 4.43 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)