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.0008782/0.000879, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.008021/0.008021, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.629/1.629, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.065/1.065, allocations: 135.3 MB / 426.7 MB, free: 14.22 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003603/0.0003603, allocations: 13.3 kB / 0.5076 GB, free: 4.77 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2205/0.2209, allocations: 82.3 MB / 0.588 GB, free: 2.637 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.001965/0.2229, allocations: 1.191 MB / 0.5891 GB, free: 1.434 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001272/0.2242, allocations: 0.7167 MB / 0.5898 GB, free: 0.7148 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.798e-05/0.2243, allocations: 4 kB / 0.5898 GB, free: 0.7109 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 8.487e-05/0.2244, allocations: 7.922 kB / 0.5898 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.941e-05/0.2244, allocations: 15.86 kB / 0.5898 GB, free: 0.6875 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009203/0.2254, allocations: 288.4 kB / 0.5901 GB, free: 420 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002344/0.2256, allocations: 167.6 kB / 0.5903 GB, free: 252 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.844e-05/0.2257, allocations: 4 kB / 0.5903 GB, free: 248 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.708e-05/0.2258, allocations: 63.84 kB / 0.5903 GB, free: 184 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.556e-05/0.2259, allocations: 51.75 kB / 0.5904 GB, free: 132 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.977e-05/0.2259, allocations: 8 kB / 0.5904 GB, free: 124 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003798/0.2263, allocations: 239.7 kB / 0.5906 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.155e-05/0.2264, allocations: 39.89 kB / 0.5907 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001205/0.2265, allocations: 85.41 kB / 0.5908 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004008/0.2269, allocations: 287.6 kB / 0.591 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.227, allocations: 0 / 0.591 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.964e-06/0.227, allocations: 0 / 0.591 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.091e-06/0.227, allocations: 4 kB / 0.591 GB, free: 15.47 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.0007849/0.2278, allocations: 447.1 kB / 0.5915 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.635e-05/0.2278, allocations: 11.97 kB / 0.5915 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.207e-05/0.2279, allocations: 16.75 kB / 0.5915 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002626/0.2282, allocations: 204.2 kB / 0.5917 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.649e-05/0.2282, allocations: 4.375 kB / 0.5917 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.74e-05/0.2282, allocations: 16.38 kB / 0.5917 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000229/0.2285, allocations: 107.7 kB / 0.5918 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.594e-05/0.2285, allocations: 192 / 0.5918 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.01e-05/0.2285, allocations: 3.938 kB / 0.5918 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.15e-05/0.2285, allocations: 3.984 kB / 0.5918 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001106/0.2286, allocations: 43.92 kB / 0.5919 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003544/0.229, allocations: 255.3 kB / 0.5921 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001912/0.2292, allocations: 107.9 kB / 0.5922 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.922e-05/0.2293, allocations: 66.67 kB / 0.5923 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.41e-05/0.2293, allocations: 0 / 0.5923 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000274/0.2296, allocations: 147.7 kB / 0.5924 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=21): time 1.112e-06/0.2296, allocations: 0 / 0.5924 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of matching and sorting (n=21): time 0.0004209/0.2301, allocations: 221.3 kB / 0.5926 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.875e-05/0.2301, allocations: 106.8 kB / 0.5927 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000147/0.2303, allocations: 153.8 kB / 0.5929 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.704e-05/0.2303, allocations: 33.7 kB / 0.5929 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.584e-05/0.2304, allocations: 92.7 kB / 0.593 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.242e-05/0.2305, allocations: 67.17 kB / 0.593 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.369e-05/0.2305, allocations: 29.7 kB / 0.5931 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000136/0.2307, allocations: 326.8 kB / 0.5934 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001039/0.2308, allocations: 52.25 kB / 0.5934 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002212/0.231, allocations: 176.5 kB / 0.5936 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001968/0.2312, allocations: 134.3 kB / 0.5937 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.2312, allocations: 0 / 0.5937 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003013/0.2315, allocations: 201.3 kB / 0.5939 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.2316, allocations: 4 kB / 0.5939 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.123e-05/0.2316, allocations: 11.98 kB / 0.5939 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/0.2316, allocations: 4 kB / 0.5939 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.958e-05/0.2317, allocations: 11.94 kB / 0.594 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.2317, allocations: 4.938 kB / 0.594 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002291/0.232, allocations: 55.45 kB / 0.594 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.717e-05/0.232, allocations: 11.98 kB / 0.594 GB, free: 12.07 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.0001269/0.2321, allocations: 140.2 kB / 0.5942 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.01e-05/0.2322, allocations: 11.84 kB / 0.5942 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.101e-05/0.2322, allocations: 20.7 kB / 0.5942 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.2322, allocations: 4 kB / 0.5942 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.2322, allocations: 0 / 0.5942 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/0.2322, allocations: 0 / 0.5942 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001893/0.2324, allocations: 217.3 kB / 0.5944 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.2324, allocations: 0 / 0.5944 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.152e-05/0.2325, allocations: 8 kB / 0.5944 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.2325, allocations: 8 kB / 0.5944 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.291e-05/0.2325, allocations: 4 kB / 0.5944 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.271e-05/0.2325, allocations: 4 kB / 0.5944 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.2325, allocations: 3.938 kB / 0.5944 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002867/0.2328, allocations: 218.5 kB / 0.5946 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.312e-05/0.2329, allocations: 85.02 kB / 0.5947 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.186e-05/0.2329, allocations: 4 kB / 0.5947 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.093e-05/0.233, allocations: 15.92 kB / 0.5947 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.272e-05/0.233, allocations: 11.98 kB / 0.5947 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.516e-06/0.2331, allocations: 4 kB / 0.5948 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 8.978e-05/0.2332, allocations: 105.6 kB / 0.5949 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2332, allocations: 0 / 0.5949 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003939/0.2336, allocations: 103.9 kB / 0.595 GB, free: 11.02 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.0003225/0.2339, allocations: 207 kB / 0.5951 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003373/0.2342, allocations: 228.6 kB / 0.5954 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.2342, allocations: 0 / 0.5954 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.954e-05/0.2343, allocations: 51.97 kB / 0.5954 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001933/0.2345, allocations: 14.17 kB / 0.5954 GB, free: 10.51 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005853/0.2351, allocations: 279.8 kB / 0.5957 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003013/0.2354, allocations: 0.7048 MB / 0.5964 GB, free: 9.469 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.275e-05/0.2355, allocations: 12.88 kB / 0.5964 GB, free: 9.453 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.798e-05/0.2355, allocations: 27.38 kB / 0.5964 GB, free: 9.43 MB / 0.4981 GB Notification: Performance of SimCode: time 2.91e-07/0.2355, allocations: 0 / 0.5964 GB, free: 9.43 MB / 0.4981 GB Notification: Performance of Templates: time 0.006703/0.2422, allocations: 2.917 MB / 0.5993 GB, free: 6.551 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)