Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.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: "" <> buildModelFMU(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Time_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Time_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001159/0.001159, allocations: 91.77 kB / 15.36 MB, free: 0.7383 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.01132/0.01132, allocations: 170.8 kB / 16.26 MB, free: 6.613 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.606/1.606, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.098/1.098, allocations: 135.3 MB / 426.7 MB, free: 14.38 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006172/0.0006173, allocations: 8 kB / 0.5077 GB, free: 4.656 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2434/0.244, allocations: 82.31 MB / 0.5881 GB, free: 2.52 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002126/0.2462, allocations: 1.188 MB / 0.5892 GB, free: 1.32 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00127/0.2475, allocations: 444.8 kB / 0.5897 GB, free: 0.8867 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.777e-05/0.2476, allocations: 0 / 0.5897 GB, free: 0.8867 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001192/0.2477, allocations: 7.922 kB / 0.5897 GB, free: 0.8789 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001301/0.2479, allocations: 16.3 kB / 0.5897 GB, free: 0.8633 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007004/0.2486, allocations: 227.2 kB / 0.5899 GB, free: 0.6445 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003326/0.2489, allocations: 291.9 kB / 0.5902 GB, free: 368 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.494e-05/0.249, allocations: 7.984 kB / 0.5902 GB, free: 360 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003321/0.2493, allocations: 206.3 kB / 0.5904 GB, free: 156 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002497/0.2496, allocations: 127.5 kB / 0.5905 GB, free: 28 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.182e-05/0.2497, allocations: 8 kB / 0.5905 GB, free: 20 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.64e-05/0.2497, allocations: 12 kB / 0.5905 GB, free: 8 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001396/0.2499, allocations: 75.77 kB / 0.5906 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001687/0.25, allocations: 141.1 kB / 0.5907 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003286/0.2504, allocations: 279.2 kB / 0.591 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.2504, allocations: 0 / 0.591 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.412e-06/0.2504, allocations: 0 / 0.591 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.933e-06/0.2504, allocations: 0 / 0.591 GB, free: 15.52 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.001181/0.2516, allocations: 0.6258 MB / 0.5916 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.352e-05/0.2517, allocations: 11.97 kB / 0.5916 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.579e-05/0.2517, allocations: 42.55 kB / 0.5917 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.908e-05/0.2518, allocations: 27.72 kB / 0.5917 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000335/0.2522, allocations: 254.3 kB / 0.5919 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.216e-05/0.2522, allocations: 12 kB / 0.5919 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.313e-05/0.2523, allocations: 23.98 kB / 0.592 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003139/0.2526, allocations: 156.6 kB / 0.5921 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.146e-06/0.2526, allocations: 0 / 0.5921 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.998e-05/0.2527, allocations: 8 kB / 0.5921 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.573e-06/0.2527, allocations: 3.938 kB / 0.5921 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001413/0.2528, allocations: 47.97 kB / 0.5922 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003858/0.2532, allocations: 313.3 kB / 0.5925 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000298/0.2535, allocations: 122.7 kB / 0.5926 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001349/0.2537, allocations: 60.83 kB / 0.5926 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.155e-05/0.2537, allocations: 7.984 kB / 0.5926 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004949/0.2542, allocations: 219.5 kB / 0.5929 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 1.663e-06/0.2542, allocations: 4 kB / 0.5929 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.0006295/0.2549, allocations: 269.1 kB / 0.5931 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.821e-05/0.2549, allocations: 63.39 kB / 0.5932 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003334/0.2553, allocations: 290.9 kB / 0.5935 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.426e-05/0.2553, allocations: 37.7 kB / 0.5935 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.574e-05/0.2554, allocations: 97.03 kB / 0.5936 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.42e-05/0.2555, allocations: 39.59 kB / 0.5936 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.197e-05/0.2556, allocations: 33.7 kB / 0.5937 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001579/0.2558, allocations: 322.8 kB / 0.594 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000227/0.256, allocations: 100.2 kB / 0.5941 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002645/0.2563, allocations: 146.4 kB / 0.5942 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003775/0.2566, allocations: 249.2 kB / 0.5944 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.444e-06/0.2567, allocations: 3.938 kB / 0.5944 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007233/0.2574, allocations: 408.1 kB / 0.5948 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.314e-05/0.2575, allocations: 75.38 kB / 0.5949 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.101e-05/0.2575, allocations: 8.188 kB / 0.5949 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.982e-05/0.2575, allocations: 7.938 kB / 0.5949 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001736/0.2577, allocations: 27.92 kB / 0.5949 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.124e-05/0.2577, allocations: 0 / 0.5949 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005109/0.2583, allocations: 79.78 kB / 0.595 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.753e-05/0.2583, allocations: 55.92 kB / 0.5951 GB, free: 11 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 26 (calTim.firstHourSampling,$PRE.calTim.firstHourSampling,calTim.firstDaySampling,$PRE.calTim.firstDaySampling,calTim.daySampleTrigger,$whenCondition1,calTim.hourSampleTrigger,$whenCondition2,calTim.epochLastMonth,$PRE.calTim.epochLastMonth,calTim.yearIndex,$PRE.calTim.yearIndex,calTim.daysSinceEpoch,$PRE.calTim.daysSinceEpoch,calTim.weekDay,$PRE.calTim.weekDay,calTim.hour,$PRE.calTim.hour,calTim.day,$PRE.calTim.day,calTim.month,$PRE.calTim.month,calTim.year,$PRE.calTim.year,$whenCondition3,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 26 * 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.0002131/0.2586, allocations: 168 kB / 0.5952 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.13e-05/0.2586, allocations: 27.62 kB / 0.5953 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.367e-05/0.2587, allocations: 30.19 kB / 0.5953 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.2587, allocations: 7.938 kB / 0.5953 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.376e-06/0.2587, allocations: 3.984 kB / 0.5953 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.2587, allocations: 4 kB / 0.5953 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008732/0.2596, allocations: 0.5567 MB / 0.5958 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.2596, allocations: 0 / 0.5958 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.538e-05/0.2597, allocations: 11.94 kB / 0.5959 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.2597, allocations: 3.984 kB / 0.5959 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.861e-05/0.2597, allocations: 15.98 kB / 0.5959 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.606e-06/0.2597, allocations: 0 / 0.5959 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.2597, allocations: 3.938 kB / 0.5959 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004402/0.2602, allocations: 325 kB / 0.5962 GB, free: 9.777 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001655/0.2603, allocations: 152.6 kB / 0.5963 GB, free: 9.609 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.707e-05/0.2604, allocations: 15.98 kB / 0.5964 GB, free: 9.594 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001999/0.2606, allocations: 8 kB / 0.5964 GB, free: 9.586 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.972e-05/0.2607, allocations: 15.97 kB / 0.5964 GB, free: 9.57 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.877e-05/0.2607, allocations: 31.98 kB / 0.5964 GB, free: 9.539 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002153/0.261, allocations: 209.9 kB / 0.5966 GB, free: 9.332 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.261, allocations: 0 / 0.5966 GB, free: 9.332 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003057/0.2613, allocations: 52 kB / 0.5967 GB, free: 9.281 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 (calTim.hourSampleTrigger,calTim.daySampleTrigger,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,calTim.year,calTim.month,calTim.day,calTim.hour,calTim.weekDay,calTim.daysSinceEpoch,calTim.yearIndex,calTim.epochLastMonth,calTim.firstHourSampling,calTim.firstDaySampling) * Number of discrete states: 9 (calTim.firstDaySampling,calTim.daysSinceEpoch,calTim.weekDay,calTim.firstHourSampling,calTim.hour,calTim.yearIndex,calTim.epochLastMonth,calTim.month,calTim.year) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 8 * 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.0007375/0.262, allocations: 0.8648 MB / 0.5975 GB, free: 8.387 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0006095/0.2626, allocations: 347.9 kB / 0.5978 GB, free: 8.023 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.2627, allocations: 4.062 kB / 0.5978 GB, free: 8.02 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001537/0.2628, allocations: 75.89 kB / 0.5979 GB, free: 7.945 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003717/0.2632, allocations: 25.22 kB / 0.5979 GB, free: 7.922 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00428/0.2675, allocations: 2.454 MB / 0.6003 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000482/0.268, allocations: 0.7399 MB / 0.601 GB, free: 4.574 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002287/0.2682, allocations: 37.42 kB / 0.6011 GB, free: 4.531 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002051/0.2685, allocations: 47.41 kB / 0.6011 GB, free: 4.488 MB / 0.4981 GB Notification: Performance of SimCode: time 4.91e-07/0.2685, allocations: 7.938 kB / 0.6011 GB, free: 4.48 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5591/0.8275, allocations: 4.977 MB / 0.606 GB, free: 48.59 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000238/0.8278, allocations: 202.5 kB / 0.6062 GB, free: 48.34 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.263/3.09, allocations: 0 / 0.6062 GB, free: 48.34 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Time_Validation_CalendarTimeMonthsPlus_fmu --startTime=172801 --stopTime=345601 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Time_Validation_CalendarTimeMonthsPlus.fmu > IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1)