Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.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.CalendarTimeMonths,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Time_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Time.Validation.CalendarTimeMonths,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Time_Validation_CalendarTimeMonths",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.001495/0.001496, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00187/0.00187, allocations: 190.9 kB / 16.25 MB, free: 6.621 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.578/1.578, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.078/1.078, allocations: 135.1 MB / 425.2 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 64.72 kB / 0.505 GB, free: 5.555 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2156/0.2169, allocations: 80.92 MB / 0.584 GB, free: 4.797 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonths): time 0.003974/0.2209, allocations: 1.515 MB / 0.5855 GB, free: 3.266 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001089/0.2221, allocations: 427.3 kB / 0.5859 GB, free: 2.844 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001035/0.2222, allocations: 7.938 kB / 0.5859 GB, free: 2.836 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001346/0.2224, allocations: 0 / 0.5859 GB, free: 2.836 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001432/0.2225, allocations: 20.23 kB / 0.5859 GB, free: 2.816 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009204/0.2235, allocations: 229.5 kB / 0.5861 GB, free: 2.598 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005333/0.224, allocations: 315.9 kB / 0.5864 GB, free: 2.289 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.159e-05/0.2241, allocations: 8 kB / 0.5864 GB, free: 2.281 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004973/0.2246, allocations: 230.3 kB / 0.5867 GB, free: 2.059 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003398/0.225, allocations: 123.6 kB / 0.5868 GB, free: 1.938 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001006/0.2251, allocations: 20 kB / 0.5868 GB, free: 1.918 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.317e-05/0.2251, allocations: 16 kB / 0.5868 GB, free: 1.902 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001417/0.2253, allocations: 79.78 kB / 0.5869 GB, free: 1.824 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001878/0.2255, allocations: 131.4 kB / 0.587 GB, free: 1.695 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004324/0.2259, allocations: 299.3 kB / 0.5873 GB, free: 1.402 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.633e-06/0.2259, allocations: 0 / 0.5873 GB, free: 1.402 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.575e-06/0.2259, allocations: 0 / 0.5873 GB, free: 1.402 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.218e-05/0.226, allocations: 0 / 0.5873 GB, free: 1.402 MB / 494.1 MB 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.001448/0.2274, allocations: 0.6996 MB / 0.588 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.498e-05/0.2275, allocations: 8.031 kB / 0.588 GB, free: 0.6211 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.16e-05/0.2276, allocations: 42.56 kB / 0.588 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001086/0.2277, allocations: 39.7 kB / 0.5881 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000308/0.228, allocations: 254.3 kB / 0.5883 GB, free: 248 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.797e-05/0.228, allocations: 11.98 kB / 0.5883 GB, free: 236 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.905e-05/0.2281, allocations: 16 kB / 0.5883 GB, free: 220 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000308/0.2284, allocations: 149.5 kB / 0.5885 GB, free: 64 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.834e-06/0.2284, allocations: 3.938 kB / 0.5885 GB, free: 60 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.784e-05/0.2285, allocations: 3.984 kB / 0.5885 GB, free: 56 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.2285, allocations: 7.938 kB / 0.5885 GB, free: 48 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001287/0.2286, allocations: 43.98 kB / 0.5885 GB, free: 4 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003732/0.229, allocations: 313.3 kB / 0.5888 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002885/0.2293, allocations: 134.7 kB / 0.589 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001251/0.2294, allocations: 60.77 kB / 0.589 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.516e-05/0.2295, allocations: 0 / 0.589 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004983/0.23, allocations: 219.6 kB / 0.5892 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 1.904e-06/0.23, allocations: 0 / 0.5892 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.0005843/0.2306, allocations: 271 kB / 0.5895 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.134e-05/0.2306, allocations: 63.3 kB / 0.5895 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003209/0.2309, allocations: 298.9 kB / 0.5898 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.586e-05/0.231, allocations: 41.7 kB / 0.5899 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.666e-05/0.2311, allocations: 85.14 kB / 0.5899 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.98e-05/0.2312, allocations: 47.45 kB / 0.59 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001699/0.2313, allocations: 105.7 kB / 0.5901 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001459/0.2315, allocations: 322.8 kB / 0.5904 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000273/0.2318, allocations: 92.17 kB / 0.5905 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002829/0.2321, allocations: 154.4 kB / 0.5906 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004002/0.2325, allocations: 246.3 kB / 0.5909 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.2325, allocations: 7.938 kB / 0.5909 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007863/0.2333, allocations: 409.4 kB / 0.5913 GB, free: 13 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001049/0.2334, allocations: 75.38 kB / 0.5913 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/0.2334, allocations: 4 kB / 0.5913 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.514e-05/0.2334, allocations: 3.938 kB / 0.5914 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002076/0.2336, allocations: 31.92 kB / 0.5914 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.811e-05/0.2337, allocations: 8.172 kB / 0.5914 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005601/0.2342, allocations: 59.8 kB / 0.5914 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.897e-05/0.2344, allocations: 51.98 kB / 0.5915 GB, free: 12.75 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.0002367/0.2346, allocations: 168 kB / 0.5917 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.317e-05/0.2347, allocations: 35.7 kB / 0.5917 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.518e-05/0.2347, allocations: 34.19 kB / 0.5917 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.2347, allocations: 0 / 0.5917 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/0.2348, allocations: 0 / 0.5917 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.2348, allocations: 0 / 0.5917 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009225/0.2357, allocations: 0.5664 MB / 0.5923 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.2357, allocations: 0 / 0.5923 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.69e-05/0.2358, allocations: 7.984 kB / 0.5923 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.324e-06/0.2358, allocations: 4 kB / 0.5923 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.176e-05/0.2358, allocations: 23.92 kB / 0.5923 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/0.2358, allocations: 4 kB / 0.5923 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.2358, allocations: 0 / 0.5923 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004975/0.2363, allocations: 319 kB / 0.5926 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002059/0.2366, allocations: 156.6 kB / 0.5928 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.307e-05/0.2366, allocations: 11.98 kB / 0.5928 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002257/0.2369, allocations: 15.98 kB / 0.5928 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.905e-05/0.2369, allocations: 15.98 kB / 0.5928 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.775e-05/0.237, allocations: 27.98 kB / 0.5928 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002259/0.2372, allocations: 209.9 kB / 0.593 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2372, allocations: 0 / 0.593 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003461/0.2376, allocations: 48 kB / 0.5931 GB, free: 11.03 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.001056/0.2387, allocations: 0.871 MB / 0.5939 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0007119/0.2394, allocations: 352.9 kB / 0.5943 GB, free: 9.766 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.2394, allocations: 3.938 kB / 0.5943 GB, free: 9.762 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001804/0.2396, allocations: 75.91 kB / 0.5943 GB, free: 9.688 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003928/0.24, allocations: 20.88 kB / 0.5944 GB, free: 9.668 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003454/0.2435, allocations: 2.447 MB / 0.5968 GB, free: 7.094 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000423/0.2439, allocations: 0.7512 MB / 0.5975 GB, free: 6.316 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001507/0.2441, allocations: 29.44 kB / 0.5975 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001542/0.2442, allocations: 51.41 kB / 0.5976 GB, free: 6.23 MB / 0.4981 GB Notification: Performance of SimCode: time 5.31e-07/0.2442, allocations: 0 / 0.5976 GB, free: 6.23 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01819/0.2624, allocations: 5.23 MB / 0.6027 GB, free: 1.164 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002033/0.2627, allocations: 194.5 kB / 0.6029 GB, free: 0.9102 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.985/2.247, allocations: 3.375 kB / 0.6029 GB, free: 0.9102 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Time_Validation_CalendarTimeMonths_fmu --startTime=172800 --stopTime=345600 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Time_Validation_CalendarTimeMonths.fmu > IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1)