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.001259/0.001259, allocations: 105.5 kB / 16.41 MB, free: 6.461 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.00135/0.00135, allocations: 189.7 kB / 17.34 MB, free: 5.719 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.495/1.495, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9282/0.9282, allocations: 135.1 MB / 426.3 MB, free: 4.074 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001348/0.001349, allocations: 65.39 kB / 0.5863 GB, free: 21.7 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.18/0.1813, allocations: 80.92 MB / 0.6653 GB, free: 5.914 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.003133/0.1845, allocations: 1.495 MB / 0.6667 GB, free: 4.414 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00133/0.1859, allocations: 0.6889 MB / 0.6674 GB, free: 3.723 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.258e-05/0.1859, allocations: 0 / 0.6674 GB, free: 3.723 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 9.996e-05/0.1861, allocations: 7.938 kB / 0.6674 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.422e-05/0.1861, allocations: 15.84 kB / 0.6674 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001021/0.1872, allocations: 342.7 kB / 0.6678 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002495/0.1874, allocations: 167.6 kB / 0.6679 GB, free: 3.203 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.954e-05/0.1875, allocations: 11.97 kB / 0.6679 GB, free: 3.191 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.386e-05/0.1876, allocations: 67.89 kB / 0.668 GB, free: 3.125 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001059/0.1877, allocations: 51.77 kB / 0.668 GB, free: 3.074 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.782e-05/0.1877, allocations: 12 kB / 0.668 GB, free: 3.062 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003689/0.1881, allocations: 251.7 kB / 0.6683 GB, free: 2.816 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.429e-05/0.1882, allocations: 39.89 kB / 0.6683 GB, free: 2.777 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.767e-05/0.1883, allocations: 63.67 kB / 0.6684 GB, free: 2.715 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004387/0.1887, allocations: 303.3 kB / 0.6687 GB, free: 2.418 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.1888, allocations: 3.938 kB / 0.6687 GB, free: 2.414 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.994e-06/0.1888, allocations: 0 / 0.6687 GB, free: 2.414 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.61e-06/0.1888, allocations: 0 / 0.6687 GB, free: 2.414 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0007274/0.1895, allocations: 474.9 kB / 0.6691 GB, free: 1.898 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.1896, allocations: 13.11 kB / 0.6691 GB, free: 1.887 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.645e-05/0.1896, allocations: 16.75 kB / 0.6692 GB, free: 1.871 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000239/0.1899, allocations: 216.1 kB / 0.6694 GB, free: 1.621 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.648e-05/0.1899, allocations: 8.375 kB / 0.6694 GB, free: 1.613 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.157e-05/0.1899, allocations: 8.375 kB / 0.6694 GB, free: 1.605 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001961/0.1901, allocations: 92.8 kB / 0.6695 GB, free: 1.5 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.1902, allocations: 192 / 0.6695 GB, free: 1.5 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.576e-05/0.1902, allocations: 7.938 kB / 0.6695 GB, free: 1.492 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.1902, allocations: 0 / 0.6695 GB, free: 1.492 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001017/0.1903, allocations: 51.91 kB / 0.6695 GB, free: 1.441 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003113/0.1906, allocations: 251.3 kB / 0.6698 GB, free: 1.141 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001543/0.1908, allocations: 111.8 kB / 0.6699 GB, free: 1.004 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001023/0.1909, allocations: 78.69 kB / 0.67 GB, free: 0.918 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.2e-05/0.1909, allocations: 0 / 0.67 GB, free: 0.918 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002855/0.1912, allocations: 135.7 kB / 0.6701 GB, free: 0.7656 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=21): time 1.382e-06/0.1912, allocations: 4 kB / 0.6701 GB, free: 0.7617 MB / 0.4981 GB Notification: Performance of matching and sorting (n=21): time 0.0004103/0.1916, allocations: 209.4 kB / 0.6703 GB, free: 0.5508 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.812e-05/0.1917, allocations: 126.7 kB / 0.6704 GB, free: 412 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001296/0.1919, allocations: 135.5 kB / 0.6705 GB, free: 268 kB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.319e-05/0.1919, allocations: 41.69 kB / 0.6706 GB, free: 220 kB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.381e-05/0.192, allocations: 96.7 kB / 0.6707 GB, free: 120 kB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.489e-05/0.192, allocations: 55.25 kB / 0.6707 GB, free: 64 kB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001013/0.1922, allocations: 61.73 kB / 0.6708 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001209/0.1923, allocations: 330.8 kB / 0.6711 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.407e-05/0.1924, allocations: 52.2 kB / 0.6711 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002131/0.1926, allocations: 176.5 kB / 0.6713 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002084/0.1928, allocations: 130.5 kB / 0.6714 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.1928, allocations: 4 kB / 0.6714 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003041/0.1931, allocations: 209.9 kB / 0.6716 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.1932, allocations: 4 kB / 0.6716 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.885e-05/0.1932, allocations: 8 kB / 0.6717 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.947e-05/0.1932, allocations: 4 kB / 0.6717 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001017/0.1933, allocations: 15.92 kB / 0.6717 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/0.1933, allocations: 7.938 kB / 0.6717 GB, free: 15 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002253/0.1936, allocations: 46.67 kB / 0.6717 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.583e-05/0.1936, allocations: 8 kB / 0.6717 GB, free: 14.95 MB / 0.5137 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.0001348/0.1937, allocations: 145.3 kB / 0.6719 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.623e-05/0.1938, allocations: 15.84 kB / 0.6719 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.391e-05/0.1938, allocations: 8.719 kB / 0.6719 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/0.1938, allocations: 4 kB / 0.6719 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.1938, allocations: 0 / 0.6719 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/0.1938, allocations: 4 kB / 0.6719 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001997/0.194, allocations: 217.4 kB / 0.6721 GB, free: 14.51 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.1941, allocations: 4 kB / 0.6721 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.467e-05/0.1941, allocations: 12 kB / 0.6721 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.1941, allocations: 0 / 0.6721 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.427e-05/0.1941, allocations: 7.984 kB / 0.6721 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.1941, allocations: 0 / 0.6721 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1941, allocations: 0 / 0.6721 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002919/0.1944, allocations: 218.6 kB / 0.6723 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.939e-05/0.1945, allocations: 96.94 kB / 0.6724 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.084e-05/0.1945, allocations: 8 kB / 0.6724 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.137e-05/0.1946, allocations: 4.078 kB / 0.6724 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.5e-05/0.1947, allocations: 19.97 kB / 0.6725 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.016e-05/0.1947, allocations: 4 kB / 0.6725 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 9.008e-05/0.1948, allocations: 105.1 kB / 0.6726 GB, free: 14 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.6e-07/0.1948, allocations: 4 kB / 0.6726 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003882/0.1952, allocations: 95.98 kB / 0.6727 GB, free: 13.9 MB / 0.5137 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.0003467/0.1956, allocations: 203.1 kB / 0.6729 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003485/0.1959, allocations: 217 kB / 0.6731 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.1959, allocations: 0 / 0.6731 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 9.339e-05/0.196, allocations: 55.92 kB / 0.6731 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001843/0.1962, allocations: 10.06 kB / 0.6731 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005546/0.1968, allocations: 274.3 kB / 0.6734 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003252/0.1971, allocations: 0.7162 MB / 0.6741 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.327e-05/0.1972, allocations: 15.44 kB / 0.6741 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of SimCode: time 3.61e-07/0.1972, allocations: 0 / 0.6741 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of Templates: time 0.005417/0.2026, allocations: 3.112 MB / 0.6771 GB, free: 9.223 MB / 0.5137 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)