Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.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: translateModel(IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime") translateModel(IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002009/0.002009, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002291/0.002291, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.59/1.59, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9616/0.9616, allocations: 135.1 MB / 425.5 MB, free: 12.04 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001448/0.001448, allocations: 67.92 kB / 0.5053 GB, free: 5.348 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1965/0.1979, allocations: 80.93 MB / 0.5844 GB, free: 4.574 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.002987/0.201, allocations: 1.47 MB / 0.5858 GB, free: 3.09 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001192/0.2022, allocations: 0.6945 MB / 0.5865 GB, free: 2.395 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.39e-05/0.2022, allocations: 0 / 0.5865 GB, free: 2.395 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 9.269e-05/0.2023, allocations: 11.86 kB / 0.5865 GB, free: 2.383 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.115e-05/0.2024, allocations: 15.86 kB / 0.5865 GB, free: 2.367 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009585/0.2034, allocations: 347.5 kB / 0.5868 GB, free: 2.035 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002396/0.2036, allocations: 167.6 kB / 0.587 GB, free: 1.871 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.761e-05/0.2037, allocations: 4 kB / 0.587 GB, free: 1.867 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.505e-05/0.2038, allocations: 75.81 kB / 0.5871 GB, free: 1.793 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.246e-05/0.2039, allocations: 51.77 kB / 0.5871 GB, free: 1.742 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.31e-05/0.2039, allocations: 12 kB / 0.5871 GB, free: 1.73 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003871/0.2043, allocations: 251.8 kB / 0.5874 GB, free: 1.484 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.72e-05/0.2044, allocations: 35.89 kB / 0.5874 GB, free: 1.449 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 9.019e-05/0.2045, allocations: 67.7 kB / 0.5875 GB, free: 1.383 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003667/0.2049, allocations: 299.6 kB / 0.5878 GB, free: 1.09 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.2049, allocations: 0 / 0.5878 GB, free: 1.09 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.988e-06/0.2049, allocations: 4 kB / 0.5878 GB, free: 1.086 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.2049, allocations: 0 / 0.5878 GB, free: 1.086 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0006606/0.2056, allocations: 471 kB / 0.5882 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.2056, allocations: 11.97 kB / 0.5882 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.436e-05/0.2057, allocations: 12.84 kB / 0.5882 GB, free: 0.5508 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002319/0.2059, allocations: 218.2 kB / 0.5884 GB, free: 308 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.267e-05/0.206, allocations: 12.38 kB / 0.5885 GB, free: 296 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.085e-05/0.206, allocations: 8.375 kB / 0.5885 GB, free: 288 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001959/0.2062, allocations: 104.7 kB / 0.5886 GB, free: 168 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.377e-06/0.2062, allocations: 192 / 0.5886 GB, free: 168 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.529e-05/0.2062, allocations: 3.938 kB / 0.5886 GB, free: 164 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.792e-06/0.2063, allocations: 4 kB / 0.5886 GB, free: 160 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001078/0.2064, allocations: 47.91 kB / 0.5886 GB, free: 112 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003091/0.2067, allocations: 243.4 kB / 0.5888 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001607/0.2069, allocations: 111.9 kB / 0.589 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.972e-05/0.207, allocations: 66.67 kB / 0.589 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2e-05/0.207, allocations: 11.98 kB / 0.589 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000304/0.2073, allocations: 135.7 kB / 0.5892 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=21): time 1.253e-06/0.2073, allocations: 0 / 0.5892 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of matching and sorting (n=21): time 0.0004583/0.2078, allocations: 217.6 kB / 0.5894 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.58e-05/0.2079, allocations: 114.8 kB / 0.5895 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000151/0.208, allocations: 148.1 kB / 0.5896 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.964e-05/0.2081, allocations: 37.7 kB / 0.5896 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.613e-05/0.2081, allocations: 96.69 kB / 0.5897 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 8.047e-05/0.2082, allocations: 55.28 kB / 0.5898 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.239e-05/0.2083, allocations: 69.62 kB / 0.5899 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001484/0.2085, allocations: 322.8 kB / 0.5902 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001044/0.2086, allocations: 56.25 kB / 0.5902 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002155/0.2088, allocations: 180.2 kB / 0.5904 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001997/0.209, allocations: 130.4 kB / 0.5905 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.209, allocations: 0 / 0.5905 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003/0.2093, allocations: 212.4 kB / 0.5907 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.2094, allocations: 4 kB / 0.5907 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.843e-05/0.2094, allocations: 7.984 kB / 0.5907 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.2094, allocations: 0 / 0.5907 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.721e-05/0.2095, allocations: 12.14 kB / 0.5907 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.257e-06/0.2095, allocations: 3.938 kB / 0.5907 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002159/0.2098, allocations: 47.8 kB / 0.5908 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.596e-05/0.2098, allocations: 7.984 kB / 0.5908 GB, free: 13.63 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 27 (occSchDay2.tNext,$PRE.occSchDay2.tNext,occSchDay2.tNonOcc,$PRE.occSchDay2.tNonOcc,occSchDay2.tOcc,$PRE.occSchDay2.tOcc,occSchDay2.occupied,$PRE.occSchDay2.occupied,$whenCondition3,occSchDay1.tNext,$PRE.occSchDay1.tNext,occSchDay1.tNonOcc,$PRE.occSchDay1.tNonOcc,occSchDay1.tOcc,$PRE.occSchDay1.tOcc,occSchDay1.occupied,$PRE.occSchDay1.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 (24): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0001643/0.21, allocations: 144.1 kB / 0.5909 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.872e-05/0.21, allocations: 15.75 kB / 0.591 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.31e-05/0.21, allocations: 20.7 kB / 0.591 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.21, allocations: 0 / 0.591 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/0.2101, allocations: 7.938 kB / 0.591 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.2101, allocations: 0 / 0.591 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001963/0.2103, allocations: 213.4 kB / 0.5912 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.2103, allocations: 0 / 0.5912 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.479e-05/0.2103, allocations: 11.94 kB / 0.5912 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.2103, allocations: 4 kB / 0.5912 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.186e-05/0.2104, allocations: 4 kB / 0.5912 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.2104, allocations: 4 kB / 0.5912 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.377e-06/0.2104, allocations: 0 / 0.5912 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002931/0.2107, allocations: 206.6 kB / 0.5914 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.188e-05/0.2107, allocations: 96.92 kB / 0.5915 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.587e-05/0.2108, allocations: 3.938 kB / 0.5915 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.414e-05/0.2108, allocations: 15.92 kB / 0.5915 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.796e-05/0.2109, allocations: 8 kB / 0.5915 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.045e-05/0.2109, allocations: 7.984 kB / 0.5915 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.965e-05/0.211, allocations: 103.3 kB / 0.5916 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.211, allocations: 0 / 0.5916 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003644/0.2114, allocations: 107.9 kB / 0.5917 GB, free: 12.57 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition3,occSchDay2.occupied,occSchDay2.tOcc,occSchDay2.tNonOcc,occSchDay2.tNext,$whenCondition2,occSchDay1.occupied,occSchDay1.tOcc,occSchDay1.tNonOcc,occSchDay1.tNext,$whenCondition1,occSchDay.occupied,occSchDay.tOcc,occSchDay.tNonOcc,occSchDay.tNext) * Number of discrete states: 3 (occSchDay.tNext,occSchDay1.tNext,occSchDay2.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0003376/0.2117, allocations: 200.4 kB / 0.5919 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00036/0.2121, allocations: 228.9 kB / 0.5921 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2121, allocations: 0 / 0.5921 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.101e-05/0.2122, allocations: 55.91 kB / 0.5922 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001824/0.2124, allocations: 8 kB / 0.5922 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005133/0.2129, allocations: 245 kB / 0.5924 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003678/0.2133, allocations: 0.7084 MB / 0.5931 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.58e-05/0.2133, allocations: 16.86 kB / 0.5931 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.812e-05/0.2134, allocations: 15.44 kB / 0.5932 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of SimCode: time 2.61e-07/0.2134, allocations: 4 kB / 0.5932 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of Templates: time 0.006603/0.22, allocations: 3.089 MB / 0.5962 GB, free: 7.984 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.makefile (rm -f IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe >> ../files/IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.sim & ./IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1)