Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_Utilities_Time_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus,fileNamePrefix="IDEAS_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.001358/0.001358, allocations: 99.39 kB / 15.05 MB, free: 1.105 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.001744/0.001744, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.39/2.39, allocations: 223.2 MB / 239.9 MB, free: 5.469 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.371/1.371, allocations: 132.2 MB / 423.2 MB, free: 2.207 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000658/0.0006582, allocations: 8.531 kB / 0.5033 GB, free: 4.215 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9182/0.9189, allocations: 81.57 MB / 0.583 GB, free: 4.02 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002373/0.9214, allocations: 1.177 MB / 0.5841 GB, free: 3.164 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00158/0.923, allocations: 390.8 kB / 0.5845 GB, free: 2.918 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.34e-05/0.9231, allocations: 0 / 0.5845 GB, free: 2.918 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 6.172e-05/0.9232, allocations: 5.391 kB / 0.5845 GB, free: 2.914 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001753/0.9234, allocations: 23.44 kB / 0.5845 GB, free: 2.902 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001107/0.9245, allocations: 214.6 kB / 0.5847 GB, free: 2.801 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003981/0.9249, allocations: 150.8 kB / 0.5849 GB, free: 2.734 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.678e-05/0.925, allocations: 9.359 kB / 0.5849 GB, free: 2.73 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004171/0.9254, allocations: 161.5 kB / 0.585 GB, free: 2.684 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003881/0.9258, allocations: 124 kB / 0.5851 GB, free: 2.652 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.478e-05/0.926, allocations: 9.625 kB / 0.5851 GB, free: 2.652 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.88e-05/0.926, allocations: 14.09 kB / 0.5852 GB, free: 2.648 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001946/0.9263, allocations: 74.23 kB / 0.5852 GB, free: 2.629 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001443/0.9264, allocations: 69.39 kB / 0.5853 GB, free: 2.578 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005126/0.9269, allocations: 206.5 kB / 0.5855 GB, free: 2.527 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.927, allocations: 0 / 0.5855 GB, free: 2.527 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.927, allocations: 1.219 kB / 0.5855 GB, free: 2.527 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.372e-05/0.927, allocations: 0 / 0.5855 GB, free: 2.527 MB / 430.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.001592/0.9286, allocations: 0.6212 MB / 0.5861 GB, free: 1.941 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.783e-05/0.9287, allocations: 9 kB / 0.5861 GB, free: 1.941 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.487e-05/0.9288, allocations: 39.91 kB / 0.5862 GB, free: 1.898 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001253/0.9289, allocations: 34.23 kB / 0.5862 GB, free: 1.883 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005431/0.9295, allocations: 253.9 kB / 0.5864 GB, free: 1.648 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.334e-05/0.9296, allocations: 8.672 kB / 0.5864 GB, free: 1.648 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001147/0.9297, allocations: 20.69 kB / 0.5865 GB, free: 1.645 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005639/0.9303, allocations: 139.9 kB / 0.5866 GB, free: 1.594 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.602e-05/0.9303, allocations: 3.938 kB / 0.5866 GB, free: 1.59 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.934e-05/0.9304, allocations: 10.08 kB / 0.5866 GB, free: 1.582 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.588e-06/0.9304, allocations: 1.812 kB / 0.5866 GB, free: 1.582 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001706/0.9306, allocations: 44.88 kB / 0.5866 GB, free: 1.57 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007432/0.9313, allocations: 317 kB / 0.5869 GB, free: 1.324 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000506/0.9319, allocations: 127.1 kB / 0.5871 GB, free: 1.266 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.767e-05/0.9319, allocations: 1.375 kB / 0.5871 GB, free: 1.266 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000895/0.9328, allocations: 224.4 kB / 0.5873 GB, free: 1.172 MB / 430.1 MB Notification: Performance of pre-optimization done (n=18): time 2.624e-06/0.9328, allocations: 0 / 0.5873 GB, free: 1.172 MB / 430.1 MB Notification: Performance of matching and sorting (n=18): time 0.001133/0.934, allocations: 267.4 kB / 0.5875 GB, free: 1.078 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.216e-05/0.9341, allocations: 62.61 kB / 0.5876 GB, free: 1.012 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006268/0.9347, allocations: 288.8 kB / 0.5879 GB, free: 0.8516 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001003/0.9348, allocations: 37.48 kB / 0.5879 GB, free: 0.8164 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001027/0.935, allocations: 96.17 kB / 0.588 GB, free: 0.7266 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.979e-05/0.9351, allocations: 46.33 kB / 0.588 GB, free: 0.6914 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.023e-05/0.9351, allocations: 8.891 kB / 0.5881 GB, free: 0.6875 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001067/0.9353, allocations: 326 kB / 0.5884 GB, free: 376 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004708/0.9357, allocations: 97.92 kB / 0.5885 GB, free: 340 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004705/0.9362, allocations: 146.6 kB / 0.5886 GB, free: 248 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003218/0.9366, allocations: 148.3 kB / 0.5887 GB, free: 144 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.9366, allocations: 0.7188 kB / 0.5887 GB, free: 144 kB / 430.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001118/0.9377, allocations: 418.9 kB / 0.5891 GB, free: 15.95 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001229/0.9379, allocations: 77.47 kB / 0.5892 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.298e-05/0.9379, allocations: 1.375 kB / 0.5892 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.277e-05/0.9379, allocations: 7.406 kB / 0.5892 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002959/0.9382, allocations: 23.11 kB / 0.5892 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.984e-05/0.9383, allocations: 6.969 kB / 0.5893 GB, free: 15.87 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009269/0.9392, allocations: 69.89 kB / 0.5893 GB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001297/0.9393, allocations: 55.06 kB / 0.5894 GB, free: 15.86 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 26 ($PRE.calTim.firstHourSampling,calTim.firstHourSampling,$PRE.calTim.firstDaySampling,calTim.firstDaySampling,$whenCondition1,calTim.daySampleTrigger,$whenCondition2,calTim.hourSampleTrigger,$whenCondition4,$whenCondition3,$PRE.calTim.year,calTim.year,$PRE.calTim.month,calTim.month,$PRE.calTim.day,calTim.day,$PRE.calTim.hour,calTim.hour,$PRE.calTim.weekDay,calTim.weekDay,$PRE.calTim.daysSinceEpoch,calTim.daysSinceEpoch,$PRE.calTim.yearIndex,calTim.yearIndex,$PRE.calTim.epochLastMonth,calTim.epochLastMonth) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003459/0.9397, allocations: 178.6 kB / 0.5895 GB, free: 15.71 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.28e-05/0.9398, allocations: 29.86 kB / 0.5896 GB, free: 15.7 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.784e-05/0.9399, allocations: 31.38 kB / 0.5896 GB, free: 15.67 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-06/0.9399, allocations: 1.375 kB / 0.5896 GB, free: 15.67 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.074e-05/0.9399, allocations: 2.031 kB / 0.5896 GB, free: 15.67 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.694e-06/0.9399, allocations: 4.562 kB / 0.5896 GB, free: 15.67 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001108/0.941, allocations: 0.5562 MB / 0.5901 GB, free: 15.29 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.941, allocations: 0.8438 kB / 0.5902 GB, free: 15.29 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.708e-05/0.9411, allocations: 11.94 kB / 0.5902 GB, free: 15.28 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.75e-06/0.9411, allocations: 5.312 kB / 0.5902 GB, free: 15.28 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.089e-05/0.9412, allocations: 11.27 kB / 0.5902 GB, free: 15.28 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.9412, allocations: 1.219 kB / 0.5902 GB, free: 15.28 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.9412, allocations: 0 / 0.5902 GB, free: 15.28 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005492/0.9417, allocations: 319.2 kB / 0.5905 GB, free: 15.09 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003306/0.9421, allocations: 154.3 kB / 0.5906 GB, free: 14.97 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.747e-05/0.9422, allocations: 13.81 kB / 0.5906 GB, free: 14.96 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003478/0.9425, allocations: 14.94 kB / 0.5907 GB, free: 14.96 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.839e-05/0.9427, allocations: 19.91 kB / 0.5907 GB, free: 14.95 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.716e-05/0.9428, allocations: 27.75 kB / 0.5907 GB, free: 14.95 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000428/0.9432, allocations: 206 kB / 0.5909 GB, free: 14.84 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.356e-06/0.9432, allocations: 0 / 0.5909 GB, free: 14.84 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007126/0.9439, allocations: 60.97 kB / 0.591 GB, free: 14.82 MB / 446.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001391/0.9454, allocations: 0.8604 MB / 0.5918 GB, free: 14.11 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001086/0.9465, allocations: 349 kB / 0.5921 GB, free: 13.9 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/0.9465, allocations: 1.438 kB / 0.5921 GB, free: 13.9 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001807/0.9467, allocations: 69.06 kB / 0.5922 GB, free: 13.89 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002982/0.947, allocations: 23.34 kB / 0.5922 GB, free: 13.87 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002371/0.9494, allocations: 1.602 MB / 0.5938 GB, free: 12.39 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006045/0.95, allocations: 0.7511 MB / 0.5945 GB, free: 11.69 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002527/0.9503, allocations: 39.53 kB / 0.5946 GB, free: 11.68 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002268/0.9505, allocations: 46.16 kB / 0.5946 GB, free: 11.66 MB / 446.1 MB Notification: Performance of SimCode: time 6.71e-07/0.9505, allocations: 0 / 0.5946 GB, free: 11.66 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02992/0.9804, allocations: 4.927 MB / 0.5994 GB, free: 9.984 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003323/0.9809, allocations: 192.4 kB / 0.5996 GB, free: 9.738 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.002/3.983, allocations: 1.219 kB / 0.5996 GB, free: 9.738 MB / 446.1 MB (rm -f IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Time_Validation_CalendarTimeMonthsPlus_fmu --startTime=172801 --stopTime=345601 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Time_Validation_CalendarTimeMonthsPlus.fmu > IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1) Environment - environmentSimulation: