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.001167/0.001167, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001241/0.001242, allocations: 197.9 kB / 16.14 MB, free: 6.711 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.453/1.453, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.012/1.012, allocations: 135.1 MB / 425.1 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001199/0.001199, allocations: 60.56 kB / 0.5047 GB, free: 5.785 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2058/0.207, allocations: 80.92 MB / 0.5837 GB, free: 5.023 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.002966/0.21, allocations: 1.533 MB / 0.5852 GB, free: 3.477 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00124/0.2113, allocations: 0.7243 MB / 0.5859 GB, free: 2.75 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.855e-05/0.2114, allocations: 0 / 0.5859 GB, free: 2.75 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 8.958e-05/0.2115, allocations: 15.92 kB / 0.5859 GB, free: 2.734 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.002e-05/0.2116, allocations: 15.84 kB / 0.5859 GB, free: 2.719 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008458/0.2124, allocations: 279 kB / 0.5862 GB, free: 2.449 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002362/0.2126, allocations: 167.6 kB / 0.5864 GB, free: 2.285 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.233e-05/0.2127, allocations: 7.984 kB / 0.5864 GB, free: 2.277 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.434e-05/0.2128, allocations: 63.81 kB / 0.5864 GB, free: 2.215 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.397e-05/0.2129, allocations: 55.77 kB / 0.5865 GB, free: 2.16 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.133e-05/0.2129, allocations: 4 kB / 0.5865 GB, free: 2.156 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003397/0.2133, allocations: 243.8 kB / 0.5867 GB, free: 1.918 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.928e-05/0.2134, allocations: 31.91 kB / 0.5867 GB, free: 1.887 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001016/0.2135, allocations: 59.7 kB / 0.5868 GB, free: 1.828 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003947/0.2139, allocations: 291.6 kB / 0.5871 GB, free: 1.543 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.2139, allocations: 0 / 0.5871 GB, free: 1.543 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.12e-07/0.2139, allocations: 0 / 0.5871 GB, free: 1.543 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5e-06/0.2139, allocations: 0 / 0.5871 GB, free: 1.543 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.0006963/0.2146, allocations: 478.9 kB / 0.5875 GB, free: 1.023 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/0.2146, allocations: 12.03 kB / 0.5876 GB, free: 1.012 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.529e-05/0.2147, allocations: 8.844 kB / 0.5876 GB, free: 1.004 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002356/0.215, allocations: 218.1 kB / 0.5878 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.174e-05/0.215, allocations: 4.375 kB / 0.5878 GB, free: 0.75 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.041e-05/0.215, allocations: 12.38 kB / 0.5878 GB, free: 0.7383 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002114/0.2152, allocations: 100.7 kB / 0.5879 GB, free: 0.625 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.748e-05/0.2153, allocations: 192 / 0.5879 GB, free: 0.625 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.863e-05/0.2153, allocations: 11.92 kB / 0.5879 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.2153, allocations: 0 / 0.5879 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.824e-05/0.2154, allocations: 39.98 kB / 0.5879 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002877/0.2157, allocations: 255.3 kB / 0.5882 GB, free: 276 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001643/0.2159, allocations: 111.9 kB / 0.5883 GB, free: 136 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000102/0.216, allocations: 66.67 kB / 0.5883 GB, free: 60 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.228e-05/0.216, allocations: 0 / 0.5883 GB, free: 60 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003088/0.2163, allocations: 145.8 kB / 0.5885 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=21): time 1.153e-06/0.2163, allocations: 0 / 0.5885 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of matching and sorting (n=21): time 0.0004326/0.2167, allocations: 221.4 kB / 0.5887 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.122e-05/0.2168, allocations: 110.8 kB / 0.5888 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000131/0.217, allocations: 148.4 kB / 0.5889 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.728e-05/0.217, allocations: 37.7 kB / 0.589 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.322e-05/0.2171, allocations: 92.7 kB / 0.5891 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.687e-05/0.2172, allocations: 67.27 kB / 0.5891 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.51e-05/0.2173, allocations: 57.69 kB / 0.5892 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000145/0.2174, allocations: 326.8 kB / 0.5895 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.049e-05/0.2175, allocations: 52.27 kB / 0.5895 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002139/0.2177, allocations: 185 kB / 0.5897 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001828/0.2179, allocations: 135 kB / 0.5898 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.2179, allocations: 3.938 kB / 0.5899 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003038/0.2182, allocations: 199.6 kB / 0.59 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.2183, allocations: 4 kB / 0.59 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.631e-05/0.2183, allocations: 7.984 kB / 0.5901 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.837e-05/0.2183, allocations: 4 kB / 0.5901 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.529e-05/0.2184, allocations: 12 kB / 0.5901 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.826e-06/0.2184, allocations: 4 kB / 0.5901 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002248/0.2187, allocations: 48.92 kB / 0.5901 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.947e-05/0.2187, allocations: 8 kB / 0.5901 GB, free: 14.09 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.0001306/0.2188, allocations: 136 kB / 0.5903 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.794e-05/0.2189, allocations: 23.69 kB / 0.5903 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.292e-05/0.2189, allocations: 16.7 kB / 0.5903 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.2189, allocations: 8 kB / 0.5903 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.2189, allocations: 0 / 0.5903 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.2189, allocations: 0 / 0.5903 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001807/0.2191, allocations: 209.4 kB / 0.5905 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.2191, allocations: 3.984 kB / 0.5905 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.187e-05/0.2192, allocations: 12 kB / 0.5905 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.2192, allocations: 3.938 kB / 0.5905 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.433e-05/0.2192, allocations: 8 kB / 0.5905 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.2192, allocations: 0 / 0.5905 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.2192, allocations: 0 / 0.5905 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002946/0.2195, allocations: 212.1 kB / 0.5907 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.697e-05/0.2196, allocations: 88.92 kB / 0.5908 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.246e-05/0.2196, allocations: 0 / 0.5908 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.534e-05/0.2197, allocations: 15.92 kB / 0.5908 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.265e-05/0.2197, allocations: 4 kB / 0.5908 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.348e-05/0.2197, allocations: 15.92 kB / 0.5909 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.504e-05/0.2198, allocations: 107.2 kB / 0.591 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2198, allocations: 0 / 0.591 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003794/0.2202, allocations: 107.9 kB / 0.5911 GB, free: 13.03 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.0004157/0.2206, allocations: 203.2 kB / 0.5913 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004678/0.2211, allocations: 218.2 kB / 0.5915 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.2211, allocations: 0 / 0.5915 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000103/0.2212, allocations: 51.92 kB / 0.5915 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002251/0.2215, allocations: 15.98 kB / 0.5915 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006175/0.2221, allocations: 274.4 kB / 0.5918 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000448/0.2226, allocations: 0.7126 MB / 0.5925 GB, free: 11.49 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.113e-05/0.2226, allocations: 12.88 kB / 0.5925 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.137e-05/0.2227, allocations: 19.38 kB / 0.5925 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of SimCode: time 6.61e-07/0.2227, allocations: 0 / 0.5925 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of Templates: time 0.00699/0.2297, allocations: 2.949 MB / 0.5954 GB, free: 8.566 MB / 0.4981 GB 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)