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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007515/0.0007515, allocations: 105.5 kB / 18.95 MB, free: 1.188 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001379/0.001379, allocations: 207.6 kB / 22.25 MB, free: 3.59 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9576/0.9576, allocations: 230.6 MB / 256 MB, free: 9.609 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.8134/0.8134, allocations: 203.8 MB / 0.5042 GB, free: 10.45 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001326/0.001326, allocations: 74.28 kB / 0.7181 GB, free: 4.07 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6142/0.6155, allocations: 102 MB / 0.8178 GB, free: 1.039 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.003284/0.6188, allocations: 1.521 MB / 0.8193 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001605/0.6204, allocations: 0.5281 MB / 0.8198 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.978e-05/0.6205, allocations: 0 / 0.8198 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001234/0.6206, allocations: 14.17 kB / 0.8198 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001244/0.6208, allocations: 22.52 kB / 0.8198 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001009/0.6218, allocations: 317.2 kB / 0.8201 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0006918/0.6225, allocations: 487.2 kB / 0.8206 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 6.036e-05/0.6225, allocations: 11.05 kB / 0.8206 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005745/0.6231, allocations: 279.5 kB / 0.8209 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005027/0.6236, allocations: 133.6 kB / 0.821 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001591/0.6238, allocations: 27.25 kB / 0.821 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.986e-05/0.6238, allocations: 26.53 kB / 0.821 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001689/0.624, allocations: 118.3 kB / 0.8211 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001667/0.6242, allocations: 154.9 kB / 0.8213 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004679/0.6246, allocations: 430.9 kB / 0.8217 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.76e-06/0.6246, allocations: 1.25 kB / 0.8217 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.164e-06/0.6246, allocations: 0 / 0.8217 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.639e-05/0.6247, allocations: 0.7031 kB / 0.8217 GB, free: 14.85 MB / 0.6198 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.001217/0.6259, allocations: 0.7979 MB / 0.8225 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.773e-05/0.6259, allocations: 9.781 kB / 0.8225 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.208e-05/0.626, allocations: 39.97 kB / 0.8225 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001271/0.6261, allocations: 54.7 kB / 0.8226 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003294/0.6264, allocations: 263.9 kB / 0.8228 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.429e-05/0.6265, allocations: 13.38 kB / 0.8229 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.372e-05/0.6265, allocations: 29.94 kB / 0.8229 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006585/0.6272, allocations: 212.3 kB / 0.8231 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.6272, allocations: 7.938 kB / 0.8231 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.117e-05/0.6272, allocations: 2.516 kB / 0.8231 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.6272, allocations: 1.375 kB / 0.8231 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004087/0.6276, allocations: 100.2 kB / 0.8232 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004499/0.6281, allocations: 307.7 kB / 0.8235 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006302/0.6287, allocations: 171.7 kB / 0.8236 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003865/0.6291, allocations: 103.9 kB / 0.8237 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.112e-05/0.6291, allocations: 1.891 kB / 0.8237 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000713/0.6298, allocations: 225.2 kB / 0.824 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=16): time 3.266e-06/0.6298, allocations: 0 / 0.824 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of matching and sorting (n=16): time 0.001615/0.6315, allocations: 492.5 kB / 0.8244 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.416e-05/0.6315, allocations: 66.31 kB / 0.8245 GB, free: 13.26 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004434/0.632, allocations: 406.8 kB / 0.8249 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.564e-05/0.632, allocations: 40.45 kB / 0.8249 GB, free: 13.03 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.478e-05/0.6321, allocations: 96.03 kB / 0.825 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.619e-05/0.6321, allocations: 40.69 kB / 0.8251 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001643/0.6323, allocations: 127.4 kB / 0.8252 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.000118/0.6324, allocations: 322.6 kB / 0.8255 GB, free: 12.54 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002725/0.6327, allocations: 196.3 kB / 0.8257 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002698/0.633, allocations: 245.1 kB / 0.8259 GB, free: 12.27 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002819/0.6332, allocations: 270.7 kB / 0.8262 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.898e-06/0.6332, allocations: 0 / 0.8262 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006872/0.6339, allocations: 0.552 MB / 0.8267 GB, free: 11.79 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 7.284e-05/0.634, allocations: 85.31 kB / 0.8268 GB, free: 11.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/0.634, allocations: 5.422 kB / 0.8268 GB, free: 11.71 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.845e-05/0.634, allocations: 2.812 kB / 0.8268 GB, free: 11.71 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001234/0.6342, allocations: 23.33 kB / 0.8268 GB, free: 11.71 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.6342, allocations: 4.594 kB / 0.8268 GB, free: 11.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002897/0.6344, allocations: 62.05 kB / 0.8269 GB, free: 11.69 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.832e-05/0.6345, allocations: 62.28 kB / 0.8269 GB, free: 11.69 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 24 (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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * 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.0002302/0.6347, allocations: 194.5 kB / 0.8271 GB, free: 11.55 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.741e-05/0.6348, allocations: 42.19 kB / 0.8272 GB, free: 11.52 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6e-05/0.6349, allocations: 40.92 kB / 0.8272 GB, free: 11.5 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.6349, allocations: 2.594 kB / 0.8272 GB, free: 11.5 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/0.6349, allocations: 0.7031 kB / 0.8272 GB, free: 11.5 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.6349, allocations: 0.6562 kB / 0.8272 GB, free: 11.5 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001345/0.6362, allocations: 0.7074 MB / 0.8279 GB, free: 11.13 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.6362, allocations: 3.938 kB / 0.8279 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.743e-05/0.6362, allocations: 10.12 kB / 0.8279 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.6363, allocations: 1.438 kB / 0.8279 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.12e-05/0.6363, allocations: 21.97 kB / 0.8279 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/0.6363, allocations: 1.125 kB / 0.8279 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/0.6363, allocations: 4.891 kB / 0.8279 GB, free: 11.11 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001058/0.6373, allocations: 482.3 kB / 0.8284 GB, free: 10.91 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002363/0.6376, allocations: 132 kB / 0.8285 GB, free: 10.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.974e-05/0.6376, allocations: 14.97 kB / 0.8285 GB, free: 10.85 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002505/0.6379, allocations: 32.94 kB / 0.8286 GB, free: 10.85 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.665e-05/0.6379, allocations: 8.328 kB / 0.8286 GB, free: 10.85 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.044e-05/0.638, allocations: 59.5 kB / 0.8286 GB, free: 10.84 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0003517/0.6384, allocations: 295.3 kB / 0.8289 GB, free: 10.71 MB / 0.6198 GB Notification: Performance of sort global known variables: time 8e-08/0.6384, allocations: 0 / 0.8289 GB, free: 10.71 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003217/0.6387, allocations: 65.58 kB / 0.829 GB, free: 10.71 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 (calTim.hourSampleTrigger,calTim.daySampleTrigger,$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.yearIndex,calTim.year,calTim.epochLastMonth,calTim.month,calTim.firstHourSampling,calTim.hour) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 6 * 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.001258/0.64, allocations: 1.032 MB / 0.83 GB, free: 9.965 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0009169/0.6409, allocations: 466.7 kB / 0.8304 GB, free: 9.707 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.6409, allocations: 5.25 kB / 0.8304 GB, free: 9.703 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0004187/0.6413, allocations: 108.9 kB / 0.8305 GB, free: 9.688 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003372/0.6416, allocations: 33.45 kB / 0.8306 GB, free: 9.664 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003835/0.6455, allocations: 3.099 MB / 0.8336 GB, free: 7.508 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002527/0.6457, allocations: 171.2 kB / 0.8338 GB, free: 7.422 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 8.734e-05/0.6458, allocations: 15.73 kB / 0.8338 GB, free: 7.418 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.644e-05/0.6459, allocations: 25.41 kB / 0.8338 GB, free: 7.402 MB / 0.6198 GB Notification: Performance of SimCode: time 2.185e-06/0.6459, allocations: 0 / 0.8338 GB, free: 7.402 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02862/0.6745, allocations: 7.958 MB / 0.8416 GB, free: 3.906 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.526/8.2, allocations: 5.844 kB / 0.8416 GB, free: 3.906 MB / 0.6198 GB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus_res.csv --start-time 172801 --stop-time 345601 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 69.12 IDEAS_dev_IDEAS_Utilities_Time_Validation_CalendarTimeMonthsPlus.fmu > IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.336363966111094] Failed to read output from testmodel.py, exit status != 0: 8.283426559064537 8.29515664 7.668117675 Calling exit ...