Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Time.Examples.CalendarTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00166/0.00166, allocations: 113.8 kB / 17.61 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001741/0.001741, allocations: 186 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.532/1.532, allocations: 225.6 MB / 249.4 MB, free: 3.125 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.156/1.156, allocations: 175.7 MB / 480.2 MB, free: 2.816 MB / 366.1 MB " [Timeout remaining time 179] 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.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Time.Examples.CalendarTime") translateModel(IDEAS.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Time.Examples.CalendarTime") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001973/0.001973, allocations: 66.69 kB / 0.6683 GB, free: 10.61 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2795/0.2815, allocations: 94.54 MB / 0.7607 GB, free: 292 kB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Examples.CalendarTime): time 0.005511/0.287, allocations: 1.52 MB / 0.7621 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002508/0.2895, allocations: 0.5402 MB / 0.7627 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001045/0.2896, allocations: 3.938 kB / 0.7627 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.000157/0.2898, allocations: 15.86 kB / 0.7627 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001992/0.29, allocations: 23.84 kB / 0.7627 GB, free: 14.17 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001668/0.2916, allocations: 314.4 kB / 0.763 GB, free: 13.87 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00111/0.2928, allocations: 483.4 kB / 0.7635 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 6.778e-05/0.2928, allocations: 11.88 kB / 0.7635 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008688/0.2937, allocations: 275.7 kB / 0.7637 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005721/0.2943, allocations: 145.5 kB / 0.7639 GB, free: 12.97 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001626/0.2944, allocations: 28 kB / 0.7639 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001362/0.2946, allocations: 28 kB / 0.7639 GB, free: 12.92 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.00023/0.2948, allocations: 115.7 kB / 0.764 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003621/0.2952, allocations: 187 kB / 0.7642 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0008075/0.296, allocations: 426.4 kB / 0.7646 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.296, allocations: 0 / 0.7646 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.924e-06/0.296, allocations: 0 / 0.7646 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.804e-05/0.296, allocations: 4 kB / 0.7646 GB, free: 12.2 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.002311/0.2983, allocations: 0.8742 MB / 0.7655 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 6.3e-05/0.2984, allocations: 15.95 kB / 0.7655 GB, free: 11.22 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001927/0.2986, allocations: 52.7 kB / 0.7656 GB, free: 11.17 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000588/0.2991, allocations: 310.6 kB / 0.7659 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.23e-05/0.2992, allocations: 16.38 kB / 0.7659 GB, free: 10.81 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001187/0.2993, allocations: 28.36 kB / 0.7659 GB, free: 10.78 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001497/0.3008, allocations: 221.9 kB / 0.7661 GB, free: 10.56 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.3008, allocations: 192 / 0.7661 GB, free: 10.56 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.561e-05/0.3009, allocations: 7.875 kB / 0.7661 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.223e-06/0.3009, allocations: 0 / 0.7661 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001226/0.3021, allocations: 95.92 kB / 0.7662 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000796/0.3029, allocations: 397.2 kB / 0.7666 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00163/0.3046, allocations: 162.5 kB / 0.7667 GB, free: 9.852 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001144/0.3057, allocations: 104.8 kB / 0.7668 GB, free: 9.746 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.428e-05/0.3057, allocations: 4 kB / 0.7668 GB, free: 9.742 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001416/0.3071, allocations: 221.2 kB / 0.7671 GB, free: 9.516 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=16): time 2.836e-06/0.3071, allocations: 4 kB / 0.7671 GB, free: 9.512 MB / 0.5762 GB Notification: Performance of matching and sorting (n=16): time 0.00417/0.3113, allocations: 485 kB / 0.7675 GB, free: 9.031 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.539e-05/0.3114, allocations: 59.41 kB / 0.7676 GB, free: 8.961 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008699/0.3123, allocations: 413.9 kB / 0.768 GB, free: 8.539 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001333/0.3124, allocations: 37.7 kB / 0.768 GB, free: 8.496 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001645/0.3126, allocations: 97.44 kB / 0.7681 GB, free: 8.398 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001042/0.3127, allocations: 47.67 kB / 0.7681 GB, free: 8.352 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003848/0.3131, allocations: 125.5 kB / 0.7683 GB, free: 8.223 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002339/0.3133, allocations: 326.8 kB / 0.7686 GB, free: 7.895 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004759/0.3138, allocations: 123.9 kB / 0.7687 GB, free: 7.773 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005372/0.3143, allocations: 169.9 kB / 0.7689 GB, free: 7.586 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006532/0.315, allocations: 274.8 kB / 0.7691 GB, free: 7.285 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.315, allocations: 0 / 0.7691 GB, free: 7.285 MB / 0.5762 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001553/0.3165, allocations: 492.6 kB / 0.7696 GB, free: 6.785 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001478/0.3167, allocations: 91.31 kB / 0.7697 GB, free: 6.684 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.23e-05/0.3167, allocations: 192 / 0.7697 GB, free: 6.684 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.574e-05/0.3167, allocations: 8 kB / 0.7697 GB, free: 6.676 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000286/0.317, allocations: 31.91 kB / 0.7697 GB, free: 6.645 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.647e-05/0.317, allocations: 4 kB / 0.7697 GB, free: 6.641 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00085/0.3179, allocations: 59.84 kB / 0.7698 GB, free: 6.582 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001632/0.318, allocations: 55.98 kB / 0.7698 GB, free: 6.527 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 24 (calendarTime2016.firstHourSampling,$PRE.calendarTime2016.firstHourSampling,calendarTime2016.firstDaySampling,$PRE.calendarTime2016.firstDaySampling,calendarTime2016.daySampleTrigger,$whenCondition1,calendarTime2016.hourSampleTrigger,$whenCondition2,calendarTime2016.epochLastMonth,$PRE.calendarTime2016.epochLastMonth,calendarTime2016.yearIndex,$PRE.calendarTime2016.yearIndex,calendarTime2016.daysSinceEpoch,$PRE.calendarTime2016.daysSinceEpoch,calendarTime2016.weekDay,$PRE.calendarTime2016.weekDay,calendarTime2016.hour,$PRE.calendarTime2016.hour,calendarTime2016.day,$PRE.calendarTime2016.day,calendarTime2016.month,$PRE.calendarTime2016.month,calendarTime2016.year,$PRE.calendarTime2016.year) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * 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.0004237/0.3184, allocations: 205 kB / 0.77 GB, free: 6.324 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001447/0.3186, allocations: 43.66 kB / 0.7701 GB, free: 6.281 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001228/0.3187, allocations: 39.75 kB / 0.7701 GB, free: 6.246 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.3187, allocations: 0 / 0.7701 GB, free: 6.246 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.3187, allocations: 4 kB / 0.7701 GB, free: 6.242 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.289e-05/0.3187, allocations: 7.969 kB / 0.7701 GB, free: 6.234 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00382/0.3226, allocations: 0.7497 MB / 0.7708 GB, free: 5.426 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/0.3226, allocations: 0 / 0.7708 GB, free: 5.426 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.533e-05/0.3226, allocations: 4 kB / 0.7709 GB, free: 5.422 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.348e-06/0.3226, allocations: 4 kB / 0.7709 GB, free: 5.418 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.378e-05/0.3227, allocations: 15.97 kB / 0.7709 GB, free: 5.402 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.879e-06/0.3227, allocations: 4 kB / 0.7709 GB, free: 5.398 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.3227, allocations: 0 / 0.7709 GB, free: 5.398 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003005/0.3257, allocations: 477.1 kB / 0.7713 GB, free: 4.918 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000464/0.3262, allocations: 204.7 kB / 0.7715 GB, free: 4.699 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001268/0.3263, allocations: 8 kB / 0.7715 GB, free: 4.691 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007561/0.3271, allocations: 39.95 kB / 0.7716 GB, free: 4.652 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.765e-05/0.3271, allocations: 7.938 kB / 0.7716 GB, free: 4.645 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001214/0.3272, allocations: 59.97 kB / 0.7716 GB, free: 4.586 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005725/0.3278, allocations: 299.1 kB / 0.7719 GB, free: 4.293 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3278, allocations: 0 / 0.7719 GB, free: 4.293 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007218/0.3285, allocations: 63.98 kB / 0.772 GB, free: 4.23 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 (calendarTime2016.hourSampleTrigger,calendarTime2016.daySampleTrigger,$whenCondition2,$whenCondition1,calendarTime2016.year,calendarTime2016.month,calendarTime2016.day,calendarTime2016.hour,calendarTime2016.weekDay,calendarTime2016.daysSinceEpoch,calendarTime2016.yearIndex,calendarTime2016.epochLastMonth,calendarTime2016.firstHourSampling,calendarTime2016.firstDaySampling) * Number of discrete states: 9 (calendarTime2016.firstDaySampling,calendarTime2016.daysSinceEpoch,calendarTime2016.weekDay,calendarTime2016.yearIndex,calendarTime2016.year,calendarTime2016.epochLastMonth,calendarTime2016.month,calendarTime2016.firstHourSampling,calendarTime2016.hour) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.000253/0.3288, allocations: 113 kB / 0.7721 GB, free: 4.109 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002194/0.331, allocations: 410.4 kB / 0.7725 GB, free: 3.684 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.331, allocations: 0 / 0.7725 GB, free: 3.684 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001314/0.3323, allocations: 108.3 kB / 0.7726 GB, free: 3.578 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006358/0.3329, allocations: 35.88 kB / 0.7726 GB, free: 3.547 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002506/0.3354, allocations: 0.5589 MB / 0.7732 GB, free: 2.961 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006889/0.3361, allocations: 0.7708 MB / 0.7739 GB, free: 2.164 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001259/0.3363, allocations: 17.08 kB / 0.7739 GB, free: 2.145 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.666e-05/0.3363, allocations: 15.44 kB / 0.7739 GB, free: 2.129 MB / 0.5762 GB Notification: Performance of SimCode: time 1.252e-06/0.3363, allocations: 0 / 0.7739 GB, free: 2.129 MB / 0.5762 GB Notification: Performance of Templates: time 0.01769/0.354, allocations: 5.062 MB / 0.7789 GB, free: 12.96 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Time.Examples.CalendarTime.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Time.Examples.CalendarTime.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Time.Examples.CalendarTime.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Time.Examples.CalendarTime.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Time.Examples.CalendarTime.sim & ./IDEAS_dev_IDEAS.Utilities.Time.Examples.CalendarTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Time.Examples.CalendarTime.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.676386810839176]