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.007978/0.007978, allocations: 101.2 kB / 15.73 MB, free: 6.035 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.001582/0.001582, allocations: 186.1 kB / 16.67 MB, free: 5.969 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.478/1.478, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.027/1.027, allocations: 135.1 MB / 425.7 MB, free: 12.01 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001794/0.001794, allocations: 67.89 kB / 0.5856 GB, free: 3.402 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5069/0.5087, allocations: 80.9 MB / 0.6646 GB, free: 7.586 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.002107/0.5108, allocations: 1.494 MB / 0.6661 GB, free: 6.41 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009243/0.5118, allocations: 0.6899 MB / 0.6667 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.124e-05/0.5118, allocations: 1.25 kB / 0.6667 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 7.57e-05/0.5119, allocations: 9.328 kB / 0.6667 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.121e-05/0.512, allocations: 14.61 kB / 0.6668 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008321/0.5128, allocations: 345 kB / 0.6671 GB, free: 5.625 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002083/0.513, allocations: 166.4 kB / 0.6672 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.953e-05/0.5131, allocations: 13.25 kB / 0.6673 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.131e-05/0.5132, allocations: 65.78 kB / 0.6673 GB, free: 5.496 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.289e-05/0.5132, allocations: 48.47 kB / 0.6674 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.943e-05/0.5133, allocations: 12.34 kB / 0.6674 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003091/0.5136, allocations: 253.6 kB / 0.6676 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.889e-05/0.5137, allocations: 42.5 kB / 0.6677 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.492e-05/0.5138, allocations: 66.56 kB / 0.6677 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003685/0.5141, allocations: 302.4 kB / 0.668 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.5142, allocations: 0 / 0.668 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.573e-06/0.5142, allocations: 0 / 0.668 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.17e-05/0.5142, allocations: 1.219 kB / 0.668 GB, free: 5.066 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.0005845/0.5148, allocations: 473.8 kB / 0.6685 GB, free: 4.617 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.5148, allocations: 10.16 kB / 0.6685 GB, free: 4.617 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.197e-05/0.5149, allocations: 19.28 kB / 0.6685 GB, free: 4.605 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001662/0.515, allocations: 208.7 kB / 0.6687 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.576e-05/0.5151, allocations: 9.562 kB / 0.6687 GB, free: 4.375 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.901e-05/0.5151, allocations: 8.875 kB / 0.6687 GB, free: 4.375 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001598/0.5153, allocations: 98.2 kB / 0.6688 GB, free: 4.289 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.5153, allocations: 192 / 0.6688 GB, free: 4.289 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.264e-05/0.5153, allocations: 5.25 kB / 0.6688 GB, free: 4.285 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.5153, allocations: 1.188 kB / 0.6688 GB, free: 4.285 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.753e-05/0.5154, allocations: 54.5 kB / 0.6689 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001996/0.5156, allocations: 251.7 kB / 0.6691 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001179/0.5157, allocations: 102.9 kB / 0.6692 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.522e-05/0.5158, allocations: 80.33 kB / 0.6693 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.121e-05/0.5158, allocations: 1.625 kB / 0.6693 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002033/0.5161, allocations: 135.1 kB / 0.6694 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=21): time 1.222e-06/0.5161, allocations: 1.375 kB / 0.6694 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of matching and sorting (n=21): time 0.0003784/0.5164, allocations: 225.3 kB / 0.6696 GB, free: 3.602 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.075e-05/0.5165, allocations: 122 kB / 0.6697 GB, free: 3.465 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.299e-05/0.5166, allocations: 139.5 kB / 0.6699 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.777e-05/0.5166, allocations: 42.78 kB / 0.6699 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.991e-05/0.5167, allocations: 97.89 kB / 0.67 GB, free: 3.207 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.703e-05/0.5167, allocations: 55.36 kB / 0.6701 GB, free: 3.16 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.323e-05/0.5168, allocations: 60.06 kB / 0.6701 GB, free: 3.121 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.966e-05/0.5169, allocations: 331.1 kB / 0.6704 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.422e-05/0.5169, allocations: 54.45 kB / 0.6705 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001651/0.5171, allocations: 173.6 kB / 0.6707 GB, free: 2.609 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001636/0.5173, allocations: 140.4 kB / 0.6708 GB, free: 2.523 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.5173, allocations: 1.125 kB / 0.6708 GB, free: 2.523 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002526/0.5175, allocations: 196.6 kB / 0.671 GB, free: 2.422 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.5176, allocations: 5.719 kB / 0.671 GB, free: 2.422 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.223e-05/0.5176, allocations: 4.062 kB / 0.671 GB, free: 2.422 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.5176, allocations: 2.219 kB / 0.671 GB, free: 2.422 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.986e-05/0.5177, allocations: 21.39 kB / 0.671 GB, free: 2.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/0.5177, allocations: 2.594 kB / 0.671 GB, free: 2.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002071/0.5179, allocations: 48.59 kB / 0.6711 GB, free: 2.387 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.339e-05/0.518, allocations: 9 kB / 0.6711 GB, free: 2.383 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 9.375e-05/0.5181, allocations: 147.3 kB / 0.6712 GB, free: 2.246 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.076e-05/0.5181, allocations: 12.84 kB / 0.6712 GB, free: 2.238 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.762e-05/0.5181, allocations: 12.81 kB / 0.6712 GB, free: 2.23 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.5181, allocations: 1.5 kB / 0.6712 GB, free: 2.23 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.5181, allocations: 1.312 kB / 0.6712 GB, free: 2.23 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.5181, allocations: 1.281 kB / 0.6712 GB, free: 2.23 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001192/0.5183, allocations: 212.8 kB / 0.6714 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.5183, allocations: 5.375 kB / 0.6714 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.192e-05/0.5183, allocations: 11.83 kB / 0.6715 GB, free: 1.984 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.5183, allocations: 2.562 kB / 0.6715 GB, free: 1.984 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.095e-05/0.5183, allocations: 2.344 kB / 0.6715 GB, free: 1.984 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.5184, allocations: 1.531 kB / 0.6715 GB, free: 1.984 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.5184, allocations: 0 / 0.6715 GB, free: 1.984 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002279/0.5186, allocations: 217.2 kB / 0.6717 GB, free: 1.836 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.321e-05/0.5186, allocations: 92.69 kB / 0.6718 GB, free: 1.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.285e-05/0.5186, allocations: 6.906 kB / 0.6718 GB, free: 1.727 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.06e-05/0.5187, allocations: 6.625 kB / 0.6718 GB, free: 1.723 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.836e-05/0.5188, allocations: 12.92 kB / 0.6718 GB, free: 1.715 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.094e-05/0.5188, allocations: 8.938 kB / 0.6718 GB, free: 1.711 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.053e-05/0.5188, allocations: 109 kB / 0.6719 GB, free: 1.621 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5188, allocations: 0 / 0.6719 GB, free: 1.621 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003277/0.5192, allocations: 106.6 kB / 0.672 GB, free: 1.594 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.000269/0.5194, allocations: 194.7 kB / 0.6722 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002919/0.5197, allocations: 219.7 kB / 0.6724 GB, free: 1.324 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.5197, allocations: 3.938 kB / 0.6724 GB, free: 1.32 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.111e-05/0.5198, allocations: 56.48 kB / 0.6724 GB, free: 1.297 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001633/0.52, allocations: 8.531 kB / 0.6725 GB, free: 1.293 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003777/0.5204, allocations: 256.9 kB / 0.6727 GB, free: 1.074 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000126/0.5205, allocations: 0.7053 MB / 0.6734 GB, free: 376 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.547e-05/0.5206, allocations: 16.23 kB / 0.6734 GB, free: 364 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.449e-05/0.5206, allocations: 14.53 kB / 0.6734 GB, free: 356 kB / 0.4981 GB Notification: Performance of SimCode: time 2.51e-07/0.5206, allocations: 0 / 0.6734 GB, free: 356 kB / 0.4981 GB Notification: Performance of Templates: time 0.006105/0.5267, allocations: 3.1 MB / 0.6764 GB, free: 14.77 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)