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.001089/0.001089, allocations: 86.95 kB / 15.06 MB, free: 1.09 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.001166/0.001167, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.484/1.484, allocations: 223.3 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1/1, allocations: 135.3 MB / 426.3 MB, free: 14.18 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003558/0.0003559, allocations: 11.98 kB / 0.5071 GB, free: 5.047 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1858/0.1862, allocations: 82.32 MB / 0.5875 GB, free: 2.902 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.OccupancySchedule): time 0.001674/0.188, allocations: 1.114 MB / 0.5886 GB, free: 1.777 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008782/0.1889, allocations: 474.8 kB / 0.589 GB, free: 1.312 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.092e-05/0.1889, allocations: 0 / 0.589 GB, free: 1.312 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 6.698e-05/0.189, allocations: 4 kB / 0.589 GB, free: 1.309 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.517e-05/0.1891, allocations: 11.92 kB / 0.589 GB, free: 1.297 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007778/0.1899, allocations: 191.5 kB / 0.5892 GB, free: 1.113 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002083/0.1901, allocations: 119.8 kB / 0.5893 GB, free: 0.9961 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.736e-05/0.1901, allocations: 4 kB / 0.5893 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.02e-05/0.1902, allocations: 55.83 kB / 0.5894 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.567e-05/0.1903, allocations: 35.89 kB / 0.5894 GB, free: 0.9023 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.567e-05/0.1904, allocations: 12 kB / 0.5894 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003052/0.1907, allocations: 151.8 kB / 0.5896 GB, free: 0.7422 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.83e-05/0.1907, allocations: 35.89 kB / 0.5896 GB, free: 0.707 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.783e-05/0.1908, allocations: 45.62 kB / 0.5896 GB, free: 0.6562 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002945/0.1911, allocations: 171.9 kB / 0.5898 GB, free: 500 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.1911, allocations: 0 / 0.5898 GB, free: 500 kB / 494.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.1911, allocations: 0 / 0.5898 GB, free: 500 kB / 494.1 MB Notification: Performance of Transformations before backend: time 7.594e-06/0.1911, allocations: 0 / 0.5898 GB, free: 500 kB / 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.0005852/0.1917, allocations: 423 kB / 0.5902 GB, free: 28 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/0.1918, allocations: 8.031 kB / 0.5902 GB, free: 20 kB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.546e-05/0.1918, allocations: 34.56 kB / 0.5903 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.749e-05/0.1919, allocations: 19.8 kB / 0.5903 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000226/0.1921, allocations: 210.8 kB / 0.5905 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.587e-05/0.1922, allocations: 4 kB / 0.5905 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.496e-05/0.1922, allocations: 12 kB / 0.5905 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001701/0.1924, allocations: 82.34 kB / 0.5906 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.083e-06/0.1924, allocations: 4 kB / 0.5906 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.1924, allocations: 0 / 0.5906 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.1924, allocations: 7.984 kB / 0.5906 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.582e-05/0.1925, allocations: 35.92 kB / 0.5906 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002606/0.1928, allocations: 234.4 kB / 0.5908 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001158/0.1929, allocations: 81.19 kB / 0.5909 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.187e-05/0.193, allocations: 61.75 kB / 0.591 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.117e-05/0.193, allocations: 0 / 0.591 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002129/0.1932, allocations: 105.1 kB / 0.5911 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 1.012e-06/0.1932, allocations: 0 / 0.5911 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14): time 0.0003456/0.1936, allocations: 189.8 kB / 0.5913 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.128e-05/0.1936, allocations: 89.11 kB / 0.5913 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001321/0.1938, allocations: 155.8 kB / 0.5915 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.208e-05/0.1938, allocations: 33.7 kB / 0.5915 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.991e-05/0.1939, allocations: 100.5 kB / 0.5916 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.928e-05/0.194, allocations: 31.56 kB / 0.5916 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.025e-06/0.194, allocations: 4 kB / 0.5916 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000138/0.1941, allocations: 330.8 kB / 0.592 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.079e-05/0.1942, allocations: 40.17 kB / 0.592 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002131/0.1944, allocations: 203.1 kB / 0.5922 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001005/0.1945, allocations: 59.88 kB / 0.5923 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.1945, allocations: 0 / 0.5923 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002502/0.1948, allocations: 169.4 kB / 0.5924 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.1948, allocations: 4 kB / 0.5924 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.124e-05/0.1948, allocations: 4 kB / 0.5924 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.06e-05/0.1949, allocations: 0 / 0.5924 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.78e-05/0.1949, allocations: 8 kB / 0.5924 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.654e-06/0.195, allocations: 7.984 kB / 0.5924 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002951/0.1953, allocations: 95.7 kB / 0.5925 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.226e-05/0.1953, allocations: 7.938 kB / 0.5925 GB, free: 13.38 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 ($whenCondition2,$PRE.occSchWee.occupied,occSchWee.occupied,$PRE.occSchWee.tOcc,occSchWee.tOcc,$PRE.occSchWee.tNonOcc,occSchWee.tNonOcc,$PRE.occSchWee.tNext,occSchWee.tNext,$whenCondition1,$PRE.occSchDay.occupied,occSchDay.occupied,$PRE.occSchDay.tOcc,occSchDay.tOcc,$PRE.occSchDay.tNonOcc,occSchDay.tNonOcc,$PRE.occSchDay.tNext,occSchDay.tNext) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001319/0.1954, allocations: 137.8 kB / 0.5927 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.584e-05/0.1955, allocations: 11.98 kB / 0.5927 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.202e-05/0.1955, allocations: 12.72 kB / 0.5927 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-06/0.1955, allocations: 0 / 0.5927 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.1955, allocations: 8 kB / 0.5927 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.1955, allocations: 0 / 0.5927 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001605/0.1957, allocations: 189.6 kB / 0.5929 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.1957, allocations: 0 / 0.5929 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.689e-05/0.1957, allocations: 12 kB / 0.5929 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.1957, allocations: 0 / 0.5929 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.807e-06/0.1958, allocations: 0 / 0.5929 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.1958, allocations: 4 kB / 0.5929 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.077e-06/0.1958, allocations: 3.984 kB / 0.5929 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002257/0.196, allocations: 189.7 kB / 0.5931 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.996e-05/0.1961, allocations: 88.95 kB / 0.5932 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.139e-05/0.1961, allocations: 4 kB / 0.5932 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.018e-05/0.1961, allocations: 0 / 0.5932 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.084e-05/0.1962, allocations: 7.984 kB / 0.5932 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.004e-05/0.1962, allocations: 8 kB / 0.5932 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.629e-05/0.1963, allocations: 117.4 kB / 0.5933 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.91e-07/0.1963, allocations: 4 kB / 0.5933 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003044/0.1966, allocations: 71.98 kB / 0.5934 GB, free: 12.42 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006852/0.1973, allocations: 0.777 MB / 0.5941 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002678/0.1976, allocations: 155.3 kB / 0.5943 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.1976, allocations: 8 kB / 0.5943 GB, free: 11.44 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.373e-05/0.1977, allocations: 39.98 kB / 0.5943 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001769/0.1978, allocations: 21.06 kB / 0.5943 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001245/0.1991, allocations: 0.8063 MB / 0.5951 GB, free: 10.51 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000301/0.1994, allocations: 0.7043 MB / 0.5958 GB, free: 9.781 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.923e-05/0.1995, allocations: 8.672 kB / 0.5958 GB, free: 9.773 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.774e-05/0.1995, allocations: 31.36 kB / 0.5959 GB, free: 9.742 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.1995, allocations: 4 kB / 0.5959 GB, free: 9.738 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01383/0.2134, allocations: 3.62 MB / 0.5994 GB, free: 6.293 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001756/0.2136, allocations: 182.2 kB / 0.5996 GB, free: 6.055 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.859/2.073, allocations: 0 / 0.5996 GB, free: 6.055 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/linux/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) Environment - environmentSimulation: