Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.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.CalendarTimeMonthsMinus,fileNamePrefix="IDEAS_IDEAS_Utilities_Time_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus,fileNamePrefix="IDEAS_IDEAS_Utilities_Time_Validation_CalendarTimeMonthsMinus",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.0009091/0.0009091, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.0009941/0.0009941, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.396/1.396, allocations: 223.2 MB / 240 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.753/0.753, allocations: 132.3 MB / 423.4 MB, free: 2.086 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003172/0.0003173, allocations: 8.906 kB / 0.5035 GB, free: 4.219 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4506/0.451, allocations: 81.57 MB / 0.5831 GB, free: 3.883 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.001809/0.4529, allocations: 1.191 MB / 0.5843 GB, free: 3.012 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001067/0.4539, allocations: 401.7 kB / 0.5847 GB, free: 2.758 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.34e-05/0.454, allocations: 4.656 kB / 0.5847 GB, free: 2.754 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 8.95e-05/0.4541, allocations: 3.766 kB / 0.5847 GB, free: 2.754 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001061/0.4542, allocations: 26.67 kB / 0.5847 GB, free: 2.738 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006398/0.4549, allocations: 203.9 kB / 0.5849 GB, free: 2.645 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003511/0.4552, allocations: 243.7 kB / 0.5852 GB, free: 2.551 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.688e-05/0.4553, allocations: 5.438 kB / 0.5852 GB, free: 2.551 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003806/0.4557, allocations: 220.7 kB / 0.5854 GB, free: 2.5 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002612/0.4559, allocations: 129.6 kB / 0.5855 GB, free: 2.469 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.406e-05/0.456, allocations: 17.41 kB / 0.5855 GB, free: 2.461 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.921e-05/0.4561, allocations: 13.06 kB / 0.5855 GB, free: 2.457 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001325/0.4562, allocations: 77.92 kB / 0.5856 GB, free: 2.438 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 9.274e-05/0.4563, allocations: 69.77 kB / 0.5857 GB, free: 2.387 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003245/0.4566, allocations: 202.2 kB / 0.5859 GB, free: 2.34 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.73e-06/0.4566, allocations: 0.7188 kB / 0.5859 GB, free: 2.34 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.395e-06/0.4567, allocations: 0 / 0.5859 GB, free: 2.34 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.4567, allocations: 3.938 kB / 0.5859 GB, free: 2.336 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.001061/0.4577, allocations: 0.6213 MB / 0.5865 GB, free: 1.75 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.765e-05/0.4578, allocations: 10.34 kB / 0.5865 GB, free: 1.75 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.183e-05/0.4578, allocations: 39.62 kB / 0.5865 GB, free: 1.707 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.871e-05/0.4579, allocations: 34.61 kB / 0.5865 GB, free: 1.691 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002909/0.4582, allocations: 249.1 kB / 0.5868 GB, free: 1.461 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.46e-05/0.4583, allocations: 13.89 kB / 0.5868 GB, free: 1.457 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.9e-05/0.4583, allocations: 16.53 kB / 0.5868 GB, free: 1.457 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000318/0.4587, allocations: 143.1 kB / 0.5869 GB, free: 1.402 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.4587, allocations: 5.062 kB / 0.587 GB, free: 1.398 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.462e-05/0.4587, allocations: 10.64 kB / 0.587 GB, free: 1.391 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.4587, allocations: 0.9375 kB / 0.587 GB, free: 1.391 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001312/0.4589, allocations: 45.08 kB / 0.587 GB, free: 1.379 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003609/0.4592, allocations: 316.2 kB / 0.5873 GB, free: 1.133 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002707/0.4595, allocations: 126.8 kB / 0.5874 GB, free: 1.074 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001233/0.4597, allocations: 64.89 kB / 0.5875 GB, free: 1.043 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.867e-05/0.4597, allocations: 1.969 kB / 0.5875 GB, free: 1.043 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005011/0.4602, allocations: 210.7 kB / 0.5877 GB, free: 0.9648 MB / 430.1 MB Notification: Performance of pre-optimization done (n=18): time 1.634e-06/0.4602, allocations: 5.375 kB / 0.5877 GB, free: 0.9609 MB / 430.1 MB Notification: Performance of matching and sorting (n=18): time 0.0005959/0.4608, allocations: 268.5 kB / 0.588 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.308e-05/0.4609, allocations: 66.31 kB / 0.588 GB, free: 0.793 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003016/0.4612, allocations: 286 kB / 0.5883 GB, free: 0.6367 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.658e-05/0.4612, allocations: 40.73 kB / 0.5883 GB, free: 0.5977 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.691e-05/0.4613, allocations: 91.55 kB / 0.5884 GB, free: 0.5117 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.977e-05/0.4613, allocations: 43.73 kB / 0.5885 GB, free: 492 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.323e-05/0.4614, allocations: 8.469 kB / 0.5885 GB, free: 488 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.387e-05/0.4614, allocations: 329.6 kB / 0.5888 GB, free: 156 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002219/0.4617, allocations: 90.61 kB / 0.5889 GB, free: 128 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002358/0.4619, allocations: 144 kB / 0.589 GB, free: 40 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002645/0.4622, allocations: 158.8 kB / 0.5892 GB, free: 15.93 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.4622, allocations: 1 kB / 0.5892 GB, free: 15.93 MB / 446.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000744/0.4629, allocations: 415.4 kB / 0.5896 GB, free: 15.74 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.974e-05/0.463, allocations: 74.19 kB / 0.5896 GB, free: 15.67 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/0.4631, allocations: 2.734 kB / 0.5896 GB, free: 15.67 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.4631, allocations: 11.47 kB / 0.5896 GB, free: 15.66 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001767/0.4633, allocations: 30.52 kB / 0.5897 GB, free: 15.66 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.043e-05/0.4633, allocations: 10.55 kB / 0.5897 GB, free: 15.65 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004772/0.4638, allocations: 65.97 kB / 0.5897 GB, free: 15.64 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.366e-05/0.4639, allocations: 51.45 kB / 0.5898 GB, free: 15.64 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.0002023/0.4641, allocations: 183.5 kB / 0.59 GB, free: 15.49 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.067e-05/0.4641, allocations: 24.03 kB / 0.59 GB, free: 15.48 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.01e-05/0.4642, allocations: 28.17 kB / 0.59 GB, free: 15.46 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.4642, allocations: 2 kB / 0.59 GB, free: 15.46 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/0.4642, allocations: 0.875 kB / 0.59 GB, free: 15.46 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.4642, allocations: 1.219 kB / 0.59 GB, free: 15.46 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008744/0.4651, allocations: 0.5575 MB / 0.5906 GB, free: 15.07 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.4651, allocations: 5.125 kB / 0.5906 GB, free: 15.07 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.681e-05/0.4652, allocations: 8.859 kB / 0.5906 GB, free: 15.07 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.045e-06/0.4652, allocations: 0.7812 kB / 0.5906 GB, free: 15.07 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.599e-05/0.4652, allocations: 15.48 kB / 0.5906 GB, free: 15.07 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.277e-06/0.4652, allocations: 1.125 kB / 0.5906 GB, free: 15.07 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.4653, allocations: 4 kB / 0.5906 GB, free: 15.06 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004608/0.4657, allocations: 323.8 kB / 0.5909 GB, free: 14.87 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001827/0.4659, allocations: 150.7 kB / 0.591 GB, free: 14.75 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.387e-05/0.466, allocations: 17.64 kB / 0.5911 GB, free: 14.74 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002046/0.4662, allocations: 16.28 kB / 0.5911 GB, free: 14.74 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.528e-05/0.4662, allocations: 14.62 kB / 0.5911 GB, free: 14.74 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.175e-05/0.4663, allocations: 31.58 kB / 0.5911 GB, free: 14.73 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002396/0.4666, allocations: 210.5 kB / 0.5913 GB, free: 14.62 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4666, allocations: 0.75 kB / 0.5913 GB, free: 14.62 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003655/0.4669, allocations: 47.89 kB / 0.5914 GB, free: 14.61 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.0008206/0.4678, allocations: 0.8728 MB / 0.5922 GB, free: 13.88 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005797/0.4684, allocations: 340.7 kB / 0.5926 GB, free: 13.69 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.4684, allocations: 0 / 0.5926 GB, free: 13.69 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002549/0.4686, allocations: 69.78 kB / 0.5926 GB, free: 13.67 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003326/0.469, allocations: 28.17 kB / 0.5926 GB, free: 13.65 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002179/0.4712, allocations: 1.158 MB / 0.5938 GB, free: 12.94 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000393/0.4716, allocations: 0.7447 MB / 0.5945 GB, free: 12.23 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001774/0.4717, allocations: 39 kB / 0.5945 GB, free: 12.22 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001502/0.4719, allocations: 47.34 kB / 0.5946 GB, free: 12.2 MB / 446.1 MB Notification: Performance of SimCode: time 4.4e-07/0.4719, allocations: 3.938 kB / 0.5946 GB, free: 12.2 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01674/0.4887, allocations: 4.965 MB / 0.5994 GB, free: 10.45 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001752/0.4889, allocations: 184.3 kB / 0.5996 GB, free: 10.22 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.878/2.366, allocations: 0 / 0.5996 GB, free: 10.22 MB / 446.1 MB (rm -f IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Time_Validation_CalendarTimeMonthsMinus_fmu --startTime=172799 --stopTime=345599 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Time_Validation_CalendarTimeMonthsMinus.fmu > IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1) Environment - environmentSimulation: