Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.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.OccupancyScheduleNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime") translateModel(IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001383/0.001383, allocations: 104.4 kB / 15.98 MB, free: 6.352 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.001376/0.001376, allocations: 195.6 kB / 16.91 MB, free: 6.184 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.294/1.294, allocations: 222.9 MB / 240.6 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7776/0.7776, allocations: 135.2 MB / 425.9 MB, free: 4.328 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001819/0.001819, allocations: 63.91 kB / 0.5055 GB, free: 8.719 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3247/0.3265, allocations: 80.93 MB / 0.5846 GB, free: 24.98 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.002066/0.3286, allocations: 1.54 MB / 0.5861 GB, free: 23.78 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007947/0.3294, allocations: 0.6878 MB / 0.5867 GB, free: 23.24 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.264e-05/0.3295, allocations: 1.156 kB / 0.5867 GB, free: 23.24 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 6.789e-05/0.3295, allocations: 9.984 kB / 0.5868 GB, free: 23.23 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.134e-05/0.3296, allocations: 13.42 kB / 0.5868 GB, free: 23.22 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007061/0.3303, allocations: 314.2 kB / 0.5871 GB, free: 23.04 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001661/0.3305, allocations: 171.5 kB / 0.5872 GB, free: 22.94 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.091e-05/0.3305, allocations: 14.48 kB / 0.5872 GB, free: 22.93 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.205e-05/0.3306, allocations: 69.58 kB / 0.5873 GB, free: 22.9 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.063e-05/0.3307, allocations: 52.67 kB / 0.5874 GB, free: 22.86 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.546e-05/0.3307, allocations: 12.84 kB / 0.5874 GB, free: 22.86 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002562/0.331, allocations: 248.2 kB / 0.5876 GB, free: 22.73 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.491e-05/0.331, allocations: 45 kB / 0.5876 GB, free: 22.7 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.196e-05/0.3311, allocations: 55.89 kB / 0.5877 GB, free: 22.66 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002113/0.3313, allocations: 218.8 kB / 0.5879 GB, free: 22.54 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.3313, allocations: 0 / 0.5879 GB, free: 22.54 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3313, allocations: 0 / 0.5879 GB, free: 22.54 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.879e-06/0.3313, allocations: 0 / 0.5879 GB, free: 22.54 MB / 446.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.0004647/0.3318, allocations: 469.7 kB / 0.5884 GB, free: 22.09 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.237e-05/0.3318, allocations: 12.2 kB / 0.5884 GB, free: 22.09 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.128e-05/0.3319, allocations: 10.56 kB / 0.5884 GB, free: 22.09 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001429/0.3321, allocations: 221.4 kB / 0.5886 GB, free: 21.85 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.304e-05/0.3321, allocations: 5.688 kB / 0.5886 GB, free: 21.85 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.58e-05/0.3321, allocations: 13.12 kB / 0.5886 GB, free: 21.84 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001489/0.3323, allocations: 91.48 kB / 0.5887 GB, free: 21.77 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.3323, allocations: 2.656 kB / 0.5887 GB, free: 21.77 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.3323, allocations: 7.938 kB / 0.5887 GB, free: 21.76 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.628e-06/0.3323, allocations: 1.531 kB / 0.5887 GB, free: 21.76 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.296e-05/0.3324, allocations: 47.34 kB / 0.5888 GB, free: 21.74 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001753/0.3326, allocations: 251.7 kB / 0.589 GB, free: 21.46 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001062/0.3327, allocations: 110.2 kB / 0.5891 GB, free: 21.36 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.699e-05/0.3328, allocations: 73.34 kB / 0.5892 GB, free: 21.32 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.121e-05/0.3328, allocations: 1.719 kB / 0.5892 GB, free: 21.32 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001889/0.333, allocations: 144.4 kB / 0.5893 GB, free: 21.2 MB / 446.1 MB Notification: Performance of pre-optimization done (n=21): time 1.202e-06/0.333, allocations: 3.188 kB / 0.5893 GB, free: 21.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=21): time 0.0003431/0.3333, allocations: 216.3 kB / 0.5895 GB, free: 21.09 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.817e-05/0.3334, allocations: 117.6 kB / 0.5896 GB, free: 20.96 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.997e-05/0.3335, allocations: 142.1 kB / 0.5898 GB, free: 20.84 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.775e-05/0.3335, allocations: 38.7 kB / 0.5898 GB, free: 20.8 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.71e-05/0.3335, allocations: 94.27 kB / 0.5899 GB, free: 20.71 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.471e-05/0.3336, allocations: 63.52 kB / 0.59 GB, free: 20.65 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.195e-05/0.3337, allocations: 61.03 kB / 0.59 GB, free: 20.61 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.411e-05/0.3337, allocations: 328.1 kB / 0.5903 GB, free: 20.29 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.667e-05/0.3338, allocations: 46.58 kB / 0.5904 GB, free: 20.27 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001523/0.334, allocations: 183.5 kB / 0.5905 GB, free: 20.11 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001504/0.3341, allocations: 138.7 kB / 0.5907 GB, free: 20.03 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.3341, allocations: 0.625 kB / 0.5907 GB, free: 20.03 MB / 446.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002394/0.3344, allocations: 205.9 kB / 0.5909 GB, free: 19.92 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.3344, allocations: 5.062 kB / 0.5909 GB, free: 19.92 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.066e-05/0.3344, allocations: 10.27 kB / 0.5909 GB, free: 19.91 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.086e-05/0.3344, allocations: 0 / 0.5909 GB, free: 19.91 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.778e-05/0.3345, allocations: 16.66 kB / 0.5909 GB, free: 19.89 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.3345, allocations: 0 / 0.5909 GB, free: 19.89 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001907/0.3347, allocations: 54.89 kB / 0.591 GB, free: 19.84 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.272e-05/0.3347, allocations: 8.938 kB / 0.591 GB, free: 19.84 MB / 446.1 MB 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 8.129e-05/0.3348, allocations: 140 kB / 0.5911 GB, free: 19.69 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.937e-05/0.3349, allocations: 11.84 kB / 0.5911 GB, free: 19.68 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.773e-05/0.3349, allocations: 18.5 kB / 0.5911 GB, free: 19.66 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.3349, allocations: 0 / 0.5911 GB, free: 19.66 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.3349, allocations: 7.984 kB / 0.5911 GB, free: 19.65 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.3349, allocations: 3.938 kB / 0.5911 GB, free: 19.65 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.637e-05/0.335, allocations: 205.5 kB / 0.5913 GB, free: 19.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.335, allocations: 0.8125 kB / 0.5913 GB, free: 19.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.848e-05/0.3351, allocations: 11.98 kB / 0.5913 GB, free: 19.39 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.3351, allocations: 5.438 kB / 0.5914 GB, free: 19.38 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/0.3351, allocations: 4 kB / 0.5914 GB, free: 19.38 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/0.3351, allocations: 4 kB / 0.5914 GB, free: 19.38 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.3351, allocations: 0 / 0.5914 GB, free: 19.38 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001932/0.3353, allocations: 213.8 kB / 0.5916 GB, free: 19.14 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.007e-05/0.3353, allocations: 93 kB / 0.5917 GB, free: 19.04 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.036e-05/0.3353, allocations: 3.984 kB / 0.5917 GB, free: 19.03 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.91e-05/0.3354, allocations: 11.94 kB / 0.5917 GB, free: 19.02 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.53e-05/0.3354, allocations: 9.453 kB / 0.5917 GB, free: 19.01 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.684e-06/0.3355, allocations: 4 kB / 0.5917 GB, free: 19.01 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.05e-05/0.3355, allocations: 110.4 kB / 0.5918 GB, free: 18.9 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3355, allocations: 0 / 0.5918 GB, free: 18.9 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002938/0.3358, allocations: 104.5 kB / 0.5919 GB, free: 18.8 MB / 446.1 MB 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.0002141/0.336, allocations: 204.3 kB / 0.5921 GB, free: 18.59 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002392/0.3363, allocations: 223.4 kB / 0.5923 GB, free: 18.36 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.3363, allocations: 0 / 0.5923 GB, free: 18.36 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.712e-05/0.3364, allocations: 55.92 kB / 0.5923 GB, free: 18.3 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001604/0.3365, allocations: 17.62 kB / 0.5924 GB, free: 18.29 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003404/0.3369, allocations: 299.2 kB / 0.5926 GB, free: 17.97 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.68e-05/0.337, allocations: 0.7045 MB / 0.5933 GB, free: 17.24 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.583e-05/0.337, allocations: 15.44 kB / 0.5933 GB, free: 17.22 MB / 446.1 MB Notification: Performance of SimCode: time 2.31e-07/0.337, allocations: 1.094 kB / 0.5934 GB, free: 17.22 MB / 446.1 MB Notification: Performance of Templates: time 0.003889/0.3409, allocations: 3.109 MB / 0.5964 GB, free: 14.19 MB / 446.1 MB make -j1 -f IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.makefile (rm -f IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe >> ../files/IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.sim & ./IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe 2>&1)