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.008171/0.008171, allocations: 99.05 kB / 15.73 MB, free: 6.047 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.002431/0.002432, allocations: 197.7 kB / 16.68 MB, free: 5.969 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.447/1.447, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.015/1.015, allocations: 135.6 MB / 426.1 MB, free: 11.9 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002127/0.002127, allocations: 63.91 kB / 0.5857 GB, free: 3.223 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4062/0.4083, allocations: 81.03 MB / 0.6649 GB, free: 6.895 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.00262/0.411, allocations: 1.471 MB / 0.6663 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009164/0.4119, allocations: 429.9 kB / 0.6667 GB, free: 5.406 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.457e-05/0.412, allocations: 0 / 0.6667 GB, free: 5.406 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001056/0.4121, allocations: 9.156 kB / 0.6667 GB, free: 5.398 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001005/0.4122, allocations: 23.91 kB / 0.6667 GB, free: 5.383 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005961/0.4128, allocations: 245.7 kB / 0.667 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003034/0.4131, allocations: 315.9 kB / 0.6673 GB, free: 5.035 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.297e-05/0.4132, allocations: 12.97 kB / 0.6673 GB, free: 5.027 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002234/0.4134, allocations: 190.9 kB / 0.6675 GB, free: 4.934 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001947/0.4136, allocations: 107.9 kB / 0.6676 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.008e-05/0.4137, allocations: 22.25 kB / 0.6676 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.82e-05/0.4138, allocations: 17.59 kB / 0.6676 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.142e-05/0.4138, allocations: 81.84 kB / 0.6677 GB, free: 4.812 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001137/0.414, allocations: 123.9 kB / 0.6678 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002559/0.4142, allocations: 277.6 kB / 0.6681 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.4142, allocations: 1.312 kB / 0.6681 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.283e-06/0.4142, allocations: 0 / 0.6681 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.092e-06/0.4143, allocations: 0 / 0.6681 GB, free: 4.551 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.0009965/0.4153, allocations: 0.7034 MB / 0.6687 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.4153, allocations: 9.688 kB / 0.6688 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.723e-05/0.4154, allocations: 40.89 kB / 0.6688 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.29e-05/0.4155, allocations: 34.59 kB / 0.6688 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000217/0.4157, allocations: 259.5 kB / 0.6691 GB, free: 3.57 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.004e-05/0.4157, allocations: 19.17 kB / 0.6691 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.844e-05/0.4158, allocations: 18.56 kB / 0.6691 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002518/0.416, allocations: 141.4 kB / 0.6692 GB, free: 3.457 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.416, allocations: 0 / 0.6692 GB, free: 3.457 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.504e-05/0.4161, allocations: 9.109 kB / 0.6693 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.4161, allocations: 5.438 kB / 0.6693 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001275/0.4162, allocations: 42.3 kB / 0.6693 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002645/0.4165, allocations: 316.1 kB / 0.6696 GB, free: 3.121 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002676/0.4168, allocations: 138.7 kB / 0.6697 GB, free: 3.039 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001202/0.4169, allocations: 58.64 kB / 0.6698 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.52e-05/0.4169, allocations: 6.344 kB / 0.6698 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003987/0.4173, allocations: 209.5 kB / 0.67 GB, free: 2.867 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 1.533e-06/0.4173, allocations: 1.688 kB / 0.67 GB, free: 2.867 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.0005514/0.4179, allocations: 278.4 kB / 0.6703 GB, free: 2.73 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.608e-05/0.4179, allocations: 64.62 kB / 0.6703 GB, free: 2.66 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000235/0.4182, allocations: 290.4 kB / 0.6706 GB, free: 2.465 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.938e-05/0.4182, allocations: 40.81 kB / 0.6706 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.488e-05/0.4183, allocations: 90.42 kB / 0.6707 GB, free: 2.34 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.944e-05/0.4183, allocations: 50.11 kB / 0.6708 GB, free: 2.297 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001451/0.4185, allocations: 108.4 kB / 0.6709 GB, free: 2.23 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.791e-05/0.4185, allocations: 321.3 kB / 0.6712 GB, free: 1.91 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000199/0.4187, allocations: 103 kB / 0.6713 GB, free: 1.859 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002117/0.419, allocations: 143 kB / 0.6714 GB, free: 1.758 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002856/0.4192, allocations: 244.5 kB / 0.6717 GB, free: 1.562 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.4193, allocations: 1.031 kB / 0.6717 GB, free: 1.562 MB / 0.4981 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006486/0.4199, allocations: 408.7 kB / 0.672 GB, free: 1.336 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.129e-05/0.42, allocations: 71.11 kB / 0.6721 GB, free: 1.266 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.42, allocations: 5.344 kB / 0.6721 GB, free: 1.262 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.71e-05/0.42, allocations: 7.516 kB / 0.6721 GB, free: 1.258 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000162/0.4202, allocations: 28.11 kB / 0.6722 GB, free: 1.246 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.4202, allocations: 3.781 kB / 0.6722 GB, free: 1.246 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004734/0.4207, allocations: 58.81 kB / 0.6722 GB, free: 1.223 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.2e-05/0.4207, allocations: 50.36 kB / 0.6723 GB, free: 1.219 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.0001492/0.4209, allocations: 177.9 kB / 0.6724 GB, free: 1.062 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.44e-05/0.421, allocations: 35.62 kB / 0.6725 GB, free: 1.039 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.708e-05/0.421, allocations: 31.28 kB / 0.6725 GB, free: 1.016 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.421, allocations: 2.875 kB / 0.6725 GB, free: 1.016 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.421, allocations: 0 / 0.6725 GB, free: 1.016 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.421, allocations: 0 / 0.6725 GB, free: 1.016 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006956/0.4217, allocations: 0.5661 MB / 0.673 GB, free: 0.5508 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.4217, allocations: 1.094 kB / 0.6731 GB, free: 0.5508 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.488e-05/0.4218, allocations: 10.38 kB / 0.6731 GB, free: 0.5469 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.4218, allocations: 1.031 kB / 0.6731 GB, free: 0.5469 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.642e-05/0.4218, allocations: 13.36 kB / 0.6731 GB, free: 0.5391 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.4218, allocations: 1.094 kB / 0.6731 GB, free: 0.5391 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.4219, allocations: 5.016 kB / 0.6731 GB, free: 0.5352 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003731/0.4222, allocations: 327.3 kB / 0.6734 GB, free: 320 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000121/0.4224, allocations: 151.3 kB / 0.6735 GB, free: 176 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.168e-05/0.4224, allocations: 8.406 kB / 0.6735 GB, free: 172 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000206/0.4226, allocations: 19.11 kB / 0.6736 GB, free: 160 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.392e-05/0.4227, allocations: 15.73 kB / 0.6736 GB, free: 152 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.998e-05/0.4227, allocations: 35.59 kB / 0.6736 GB, free: 140 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001578/0.4229, allocations: 205.8 kB / 0.6738 GB, free: 0 / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4229, allocations: 0 / 0.6738 GB, free: 0 / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003443/0.4233, allocations: 50.08 kB / 0.6739 GB, free: 15.99 MB / 0.5137 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.0009247/0.4242, allocations: 0.8779 MB / 0.6747 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005795/0.4248, allocations: 340.2 kB / 0.675 GB, free: 15 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.4248, allocations: 1.125 kB / 0.675 GB, free: 15 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001492/0.4249, allocations: 71.8 kB / 0.6751 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003406/0.4253, allocations: 25.59 kB / 0.6751 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003354/0.4287, allocations: 2.396 MB / 0.6775 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003951/0.4291, allocations: 0.7387 MB / 0.6782 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001403/0.4292, allocations: 39.58 kB / 0.6782 GB, free: 12.31 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000138/0.4294, allocations: 48.02 kB / 0.6783 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of SimCode: time 4.4e-07/0.4294, allocations: 1.094 kB / 0.6783 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03073/0.4601, allocations: 5.274 MB / 0.6834 GB, free: 9.598 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.924/9.384, allocations: 13.62 kB / 0.6834 GB, free: 9.594 MB / 0.5137 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)