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.0009297/0.0009297, 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.0009682/0.0009683, 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.619/1.619, allocations: 223.3 MB / 240 MB, free: 5.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.07/1.07, allocations: 135.3 MB / 426.4 MB, free: 14.3 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000369/0.0003691, allocations: 12 kB / 0.507 GB, free: 5.098 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2092/0.2096, allocations: 82.31 MB / 0.5874 GB, free: 2.965 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.002068/0.2118, allocations: 1.164 MB / 0.5885 GB, free: 1.789 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001293/0.2131, allocations: 0.6582 MB / 0.5892 GB, free: 1.133 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.294e-05/0.2132, allocations: 0 / 0.5892 GB, free: 1.133 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 7.551e-05/0.2133, allocations: 7.922 kB / 0.5892 GB, free: 1.125 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.027e-05/0.2134, allocations: 11.92 kB / 0.5892 GB, free: 1.113 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001098/0.2145, allocations: 290.7 kB / 0.5895 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002979/0.2148, allocations: 139.7 kB / 0.5896 GB, free: 0.6992 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.167e-05/0.2148, allocations: 4 kB / 0.5896 GB, free: 0.6953 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001504/0.215, allocations: 67.81 kB / 0.5897 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001178/0.2151, allocations: 43.83 kB / 0.5897 GB, free: 0.5859 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.604e-05/0.2152, allocations: 8 kB / 0.5897 GB, free: 0.5781 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004636/0.2157, allocations: 231.7 kB / 0.5899 GB, free: 360 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.165e-05/0.2158, allocations: 35.88 kB / 0.59 GB, free: 324 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.652e-05/0.2158, allocations: 45.7 kB / 0.59 GB, free: 272 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004437/0.2163, allocations: 203.8 kB / 0.5902 GB, free: 68 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.396e-06/0.2163, allocations: 0 / 0.5902 GB, free: 68 kB / 494.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.2163, allocations: 3.938 kB / 0.5902 GB, free: 64 kB / 494.1 MB Notification: Performance of Transformations before backend: time 6.231e-06/0.2163, allocations: 0 / 0.5902 GB, free: 64 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0008027/0.2171, allocations: 455 kB / 0.5906 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.671e-05/0.2172, allocations: 12.03 kB / 0.5906 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.556e-05/0.2173, allocations: 11.81 kB / 0.5907 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000312/0.2176, allocations: 202.9 kB / 0.5908 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.034e-05/0.2176, allocations: 12 kB / 0.5909 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.228e-05/0.2177, allocations: 8 kB / 0.5909 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002347/0.2179, allocations: 100.1 kB / 0.591 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.2179, allocations: 4 kB / 0.591 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.586e-05/0.218, allocations: 7.984 kB / 0.591 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.135e-06/0.218, allocations: 4 kB / 0.591 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001137/0.2181, allocations: 47.84 kB / 0.591 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003279/0.2184, allocations: 247.3 kB / 0.5913 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001727/0.2186, allocations: 111.8 kB / 0.5914 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001095/0.2187, allocations: 70.7 kB / 0.5914 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.327e-05/0.2187, allocations: 4 kB / 0.5914 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003071/0.2191, allocations: 140.6 kB / 0.5916 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=21): time 1.342e-06/0.2191, allocations: 0 / 0.5916 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of matching and sorting (n=21): time 0.0004411/0.2195, allocations: 205.5 kB / 0.5918 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.323e-05/0.2196, allocations: 118.8 kB / 0.5919 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001459/0.2198, allocations: 140.4 kB / 0.592 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.457e-05/0.2198, allocations: 41.69 kB / 0.5921 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.027e-05/0.2199, allocations: 92.7 kB / 0.5921 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.421e-05/0.22, allocations: 55.28 kB / 0.5922 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.877e-06/0.22, allocations: 19.88 kB / 0.5922 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001057/0.2201, allocations: 330.8 kB / 0.5925 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.679e-05/0.2202, allocations: 52.2 kB / 0.5926 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002187/0.2204, allocations: 176.5 kB / 0.5927 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000126/0.2205, allocations: 67.39 kB / 0.5928 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.2205, allocations: 0 / 0.5928 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002898/0.2208, allocations: 197.3 kB / 0.593 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.2209, allocations: 4 kB / 0.593 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.979e-05/0.2209, allocations: 7.984 kB / 0.593 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/0.2209, allocations: 8 kB / 0.593 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.956e-05/0.221, allocations: 12 kB / 0.593 GB, free: 12.83 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.234e-05/0.2211, allocations: 4.938 kB / 0.593 GB, free: 12.83 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002176/0.2213, allocations: 55.73 kB / 0.5931 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.633e-05/0.2213, allocations: 4 kB / 0.5931 GB, free: 12.77 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 ($whenCondition3,$PRE.occSchDay2.occupied,occSchDay2.occupied,$PRE.occSchDay2.tOcc,occSchDay2.tOcc,$PRE.occSchDay2.tNonOcc,occSchDay2.tNonOcc,$PRE.occSchDay2.tNext,occSchDay2.tNext,$whenCondition2,$PRE.occSchDay1.occupied,occSchDay1.occupied,$PRE.occSchDay1.tOcc,occSchDay1.tOcc,$PRE.occSchDay1.tNonOcc,occSchDay1.tNonOcc,$PRE.occSchDay1.tNext,occSchDay1.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 (24): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0001461/0.2215, allocations: 152.2 kB / 0.5932 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.899e-05/0.2215, allocations: 15.8 kB / 0.5933 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.374e-05/0.2215, allocations: 16.72 kB / 0.5933 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.2215, allocations: 7.922 kB / 0.5933 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.964e-06/0.2216, allocations: 4 kB / 0.5933 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.2216, allocations: 0 / 0.5933 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001787/0.2218, allocations: 201.5 kB / 0.5935 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.039e-06/0.2218, allocations: 3.953 kB / 0.5935 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.947e-05/0.2218, allocations: 15.92 kB / 0.5935 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.43e-06/0.2218, allocations: 4 kB / 0.5935 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.251e-05/0.2218, allocations: 4 kB / 0.5935 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.2219, allocations: 4 kB / 0.5935 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.2219, allocations: 0 / 0.5935 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002727/0.2221, allocations: 205 kB / 0.5937 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.912e-05/0.2222, allocations: 88.97 kB / 0.5938 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.759e-05/0.2222, allocations: 8 kB / 0.5938 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.997e-05/0.2223, allocations: 15.92 kB / 0.5938 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.243e-05/0.2224, allocations: 8 kB / 0.5938 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.09e-05/0.2224, allocations: 7.984 kB / 0.5938 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.616e-05/0.2225, allocations: 107.2 kB / 0.5939 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.623e-06/0.2225, allocations: 0 / 0.5939 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003857/0.2229, allocations: 111.9 kB / 0.594 GB, free: 11.71 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 (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.0003562/0.2232, allocations: 199.1 kB / 0.5942 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003283/0.2236, allocations: 213.4 kB / 0.5944 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.2236, allocations: 0 / 0.5944 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.415e-05/0.2237, allocations: 55.92 kB / 0.5945 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000183/0.2239, allocations: 13.7 kB / 0.5945 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000529/0.2244, allocations: 275.8 kB / 0.5948 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003353/0.2248, allocations: 0.7048 MB / 0.5954 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.063e-05/0.2248, allocations: 12.88 kB / 0.5955 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.675e-05/0.2249, allocations: 11.44 kB / 0.5955 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of SimCode: time 2.41e-07/0.2249, allocations: 7.938 kB / 0.5955 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of Templates: time 0.007111/0.232, allocations: 2.867 MB / 0.5983 GB, free: 7.328 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)