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.001219/0.001218, 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.001137/0.001137, allocations: 194.8 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.374/1.374, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7494/0.7494, allocations: 132.2 MB / 422.3 MB, free: 1.949 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001071/0.001071, allocations: 64.22 kB / 0.5013 GB, free: 9.008 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1284/0.1295, allocations: 80.21 MB / 0.5797 GB, free: 9.027 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002246/0.1318, allocations: 1.523 MB / 0.5812 GB, free: 7.492 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008134/0.1326, allocations: 427.3 kB / 0.5816 GB, free: 7.07 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.884e-05/0.1326, allocations: 3.938 kB / 0.5816 GB, free: 7.066 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 8.428e-05/0.1327, allocations: 7.922 kB / 0.5816 GB, free: 7.059 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.38e-05/0.1328, allocations: 20.23 kB / 0.5816 GB, free: 7.039 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005413/0.1334, allocations: 222.2 kB / 0.5818 GB, free: 6.828 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002897/0.1337, allocations: 323.8 kB / 0.5821 GB, free: 6.512 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.748e-05/0.1337, allocations: 7.984 kB / 0.5821 GB, free: 6.504 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000263/0.134, allocations: 230.3 kB / 0.5824 GB, free: 6.281 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001711/0.1342, allocations: 127.6 kB / 0.5825 GB, free: 6.156 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.688e-05/0.1342, allocations: 20 kB / 0.5825 GB, free: 6.137 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.506e-05/0.1343, allocations: 20 kB / 0.5825 GB, free: 6.117 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.929e-05/0.1344, allocations: 79.78 kB / 0.5826 GB, free: 6.039 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001246/0.1345, allocations: 127.4 kB / 0.5827 GB, free: 5.914 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000259/0.1348, allocations: 295.3 kB / 0.583 GB, free: 5.625 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.1348, allocations: 3.984 kB / 0.583 GB, free: 5.621 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1348, allocations: 0 / 0.583 GB, free: 5.621 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.1348, allocations: 0 / 0.583 GB, free: 5.621 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.001037/0.1358, allocations: 0.6958 MB / 0.5837 GB, free: 4.852 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.213e-05/0.1359, allocations: 8.031 kB / 0.5837 GB, free: 4.844 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.462e-05/0.1359, allocations: 42.55 kB / 0.5837 GB, free: 4.793 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.595e-05/0.136, allocations: 27.72 kB / 0.5838 GB, free: 4.766 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002399/0.1362, allocations: 262.3 kB / 0.584 GB, free: 4.469 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.234e-05/0.1363, allocations: 12 kB / 0.584 GB, free: 4.457 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.731e-05/0.1363, allocations: 19.98 kB / 0.584 GB, free: 4.438 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002655/0.1366, allocations: 153.5 kB / 0.5842 GB, free: 4.281 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.291e-06/0.1366, allocations: 3.938 kB / 0.5842 GB, free: 4.277 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.256e-05/0.1366, allocations: 0 / 0.5842 GB, free: 4.277 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.1367, allocations: 4 kB / 0.5842 GB, free: 4.273 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001191/0.1368, allocations: 55.91 kB / 0.5842 GB, free: 4.219 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002976/0.1371, allocations: 313.3 kB / 0.5845 GB, free: 3.863 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002479/0.1373, allocations: 129.3 kB / 0.5847 GB, free: 3.73 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001132/0.1375, allocations: 56.84 kB / 0.5847 GB, free: 3.672 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.2e-05/0.1375, allocations: 3.984 kB / 0.5847 GB, free: 3.668 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003979/0.1379, allocations: 219.5 kB / 0.5849 GB, free: 3.441 MB / 494.1 MB Notification: Performance of pre-optimization done (n=18): time 1.423e-06/0.1379, allocations: 0 / 0.5849 GB, free: 3.441 MB / 494.1 MB Notification: Performance of matching and sorting (n=18): time 0.0005166/0.1384, allocations: 278.8 kB / 0.5852 GB, free: 3.164 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.782e-05/0.1385, allocations: 63.34 kB / 0.5853 GB, free: 3.09 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002356/0.1387, allocations: 286.9 kB / 0.5855 GB, free: 2.809 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.21e-05/0.1388, allocations: 45.69 kB / 0.5856 GB, free: 2.758 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.892e-05/0.1388, allocations: 89.14 kB / 0.5857 GB, free: 2.668 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.248e-05/0.1389, allocations: 43.5 kB / 0.5857 GB, free: 2.625 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001525/0.139, allocations: 105.7 kB / 0.5858 GB, free: 2.512 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.951e-05/0.1391, allocations: 322.8 kB / 0.5861 GB, free: 2.188 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001994/0.1394, allocations: 104.2 kB / 0.5862 GB, free: 2.086 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002369/0.1396, allocations: 143.4 kB / 0.5863 GB, free: 1.926 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002866/0.1399, allocations: 246.7 kB / 0.5866 GB, free: 1.652 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.1399, allocations: 3.938 kB / 0.5866 GB, free: 1.648 MB / 494.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006001/0.1405, allocations: 414.5 kB / 0.587 GB, free: 1.227 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.691e-05/0.1406, allocations: 71.39 kB / 0.587 GB, free: 1.145 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.281e-06/0.1406, allocations: 4.172 kB / 0.5871 GB, free: 1.141 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.1406, allocations: 11.94 kB / 0.5871 GB, free: 1.129 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001568/0.1408, allocations: 27.92 kB / 0.5871 GB, free: 1.102 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.755e-06/0.1408, allocations: 4 kB / 0.5871 GB, free: 1.098 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004752/0.1413, allocations: 59.8 kB / 0.5871 GB, free: 1.039 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.759e-05/0.1413, allocations: 55.97 kB / 0.5872 GB, free: 0.9844 MB / 494.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 (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.1415, allocations: 172 kB / 0.5874 GB, free: 0.8086 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.801e-05/0.1415, allocations: 27.62 kB / 0.5874 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.706e-05/0.1416, allocations: 30.19 kB / 0.5874 GB, free: 0.7461 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.1416, allocations: 4 kB / 0.5874 GB, free: 0.7422 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.1416, allocations: 0 / 0.5874 GB, free: 0.7422 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.1416, allocations: 3.984 kB / 0.5874 GB, free: 0.7383 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006761/0.1423, allocations: 0.5662 MB / 0.588 GB, free: 120 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.1423, allocations: 4 kB / 0.588 GB, free: 116 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.935e-05/0.1423, allocations: 4 kB / 0.588 GB, free: 112 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.578e-06/0.1424, allocations: 0 / 0.588 GB, free: 112 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.59e-05/0.1424, allocations: 23.91 kB / 0.588 GB, free: 88 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.1424, allocations: 0 / 0.588 GB, free: 88 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.1424, allocations: 0 / 0.588 GB, free: 88 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003899/0.1428, allocations: 324.4 kB / 0.5883 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001366/0.1429, allocations: 156.6 kB / 0.5885 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.38e-05/0.143, allocations: 8 kB / 0.5885 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002063/0.1432, allocations: 15.98 kB / 0.5885 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.837e-05/0.1433, allocations: 15.97 kB / 0.5885 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.728e-05/0.1433, allocations: 31.98 kB / 0.5885 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001658/0.1435, allocations: 209.9 kB / 0.5887 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1435, allocations: 0 / 0.5887 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002825/0.1438, allocations: 48 kB / 0.5888 GB, free: 15.25 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.0006147/0.1444, allocations: 0.8739 MB / 0.5896 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004836/0.1449, allocations: 346.5 kB / 0.59 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.1449, allocations: 0 / 0.59 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001334/0.145, allocations: 75.89 kB / 0.59 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002971/0.1453, allocations: 25.19 kB / 0.5901 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00251/0.1479, allocations: 2.458 MB / 0.5925 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002533/0.1481, allocations: 0.7395 MB / 0.5932 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001267/0.1483, allocations: 41.42 kB / 0.5932 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001273/0.1484, allocations: 47.41 kB / 0.5933 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.1484, allocations: 0 / 0.5933 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.427/2.575, allocations: 5.217 MB / 0.5984 GB, free: 5.422 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003023/2.576, allocations: 192.8 kB / 0.5986 GB, free: 5.168 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.92/4.495, allocations: 0 / 0.5986 GB, free: 5.168 MB / 0.4981 GB (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/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)