Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001286/0.001286, allocations: 109 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001355/0.001355, allocations: 192.5 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.446/1.446, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.091/1.091, allocations: 175.8 MB / 478.5 MB, free: 8.477 MB / 382.1 MB " [Timeout remaining time 178] 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.CalendarTimeMonthsMinus,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Time_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Time_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001964/0.001964, allocations: 68.73 kB / 0.6652 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.188/0.19, allocations: 94.54 MB / 0.7575 GB, free: 1.945 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002761/0.1927, allocations: 1.512 MB / 0.759 GB, free: 432 kB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.4118/0.6045, allocations: 0.5385 MB / 0.7595 GB, free: 8.488 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001061/0.6047, allocations: 0.7812 kB / 0.7595 GB, free: 8.488 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001071/0.6048, allocations: 10.36 kB / 0.7595 GB, free: 8.488 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001294/0.6049, allocations: 37.73 kB / 0.7595 GB, free: 8.48 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008724/0.6058, allocations: 304.7 kB / 0.7598 GB, free: 8.473 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0005915/0.6064, allocations: 492.7 kB / 0.7603 GB, free: 8.473 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.84e-05/0.6064, allocations: 9.422 kB / 0.7603 GB, free: 8.473 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004056/0.6068, allocations: 272.4 kB / 0.7606 GB, free: 8.469 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002989/0.6071, allocations: 146.3 kB / 0.7607 GB, free: 8.457 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.176e-05/0.6072, allocations: 29.78 kB / 0.7607 GB, free: 8.457 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 7.476e-05/0.6073, allocations: 26.69 kB / 0.7608 GB, free: 8.457 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001365/0.6074, allocations: 112.8 kB / 0.7609 GB, free: 8.445 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001804/0.6076, allocations: 188 kB / 0.7611 GB, free: 8.391 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000539/0.6081, allocations: 423.7 kB / 0.7615 GB, free: 8.328 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.6081, allocations: 0.875 kB / 0.7615 GB, free: 8.328 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.665e-06/0.6081, allocations: 1.797 kB / 0.7615 GB, free: 8.328 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.255e-06/0.6081, allocations: 0.8438 kB / 0.7615 GB, free: 8.328 MB / 0.5762 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.001304/0.6094, allocations: 0.8769 MB / 0.7623 GB, free: 7.625 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/0.6095, allocations: 14.81 kB / 0.7623 GB, free: 7.621 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.19e-05/0.6095, allocations: 40.3 kB / 0.7624 GB, free: 7.582 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001181/0.6097, allocations: 52.28 kB / 0.7624 GB, free: 7.562 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004381/0.6101, allocations: 307.6 kB / 0.7627 GB, free: 7.316 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.719e-05/0.6101, allocations: 19.78 kB / 0.7627 GB, free: 7.316 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.323e-05/0.6102, allocations: 30.05 kB / 0.7628 GB, free: 7.316 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009797/0.6112, allocations: 208.5 kB / 0.763 GB, free: 7.285 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.6112, allocations: 5.922 kB / 0.763 GB, free: 7.281 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.686e-05/0.6112, allocations: 5.562 kB / 0.763 GB, free: 7.281 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.513e-06/0.6112, allocations: 1.281 kB / 0.763 GB, free: 7.281 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007364/0.612, allocations: 100.8 kB / 0.7631 GB, free: 7.281 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004612/0.6124, allocations: 396.6 kB / 0.7634 GB, free: 7.082 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000957/0.6134, allocations: 170.5 kB / 0.7636 GB, free: 7.059 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006774/0.6141, allocations: 106 kB / 0.7637 GB, free: 7.051 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.189e-05/0.6141, allocations: 2.156 kB / 0.7637 GB, free: 7.051 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008903/0.615, allocations: 229.9 kB / 0.7639 GB, free: 6.996 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=16): time 1.843e-06/0.615, allocations: 1.25 kB / 0.7639 GB, free: 6.996 MB / 0.5762 GB Notification: Performance of matching and sorting (n=16): time 0.002387/0.6174, allocations: 486 kB / 0.7644 GB, free: 6.941 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.111e-05/0.6174, allocations: 63.8 kB / 0.7645 GB, free: 6.879 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003956/0.6178, allocations: 410.3 kB / 0.7649 GB, free: 6.758 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.644e-05/0.6179, allocations: 41.47 kB / 0.7649 GB, free: 6.727 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.565e-05/0.6179, allocations: 96.33 kB / 0.765 GB, free: 6.645 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.86e-05/0.618, allocations: 35.62 kB / 0.765 GB, free: 6.625 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001919/0.6182, allocations: 133.2 kB / 0.7651 GB, free: 6.59 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.757e-05/0.6182, allocations: 319.7 kB / 0.7654 GB, free: 6.277 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002526/0.6185, allocations: 121.1 kB / 0.7656 GB, free: 6.273 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000266/0.6187, allocations: 173 kB / 0.7657 GB, free: 6.215 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003466/0.6191, allocations: 276 kB / 0.766 GB, free: 6.094 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/0.6191, allocations: 1.562 kB / 0.766 GB, free: 6.094 MB / 0.5762 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008043/0.6199, allocations: 0.4913 MB / 0.7665 GB, free: 5.902 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 7.288e-05/0.6199, allocations: 86.47 kB / 0.7666 GB, free: 5.828 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.62, allocations: 5.578 kB / 0.7666 GB, free: 5.828 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.312e-05/0.62, allocations: 2.344 kB / 0.7666 GB, free: 5.828 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001723/0.6202, allocations: 26.08 kB / 0.7666 GB, free: 5.824 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.678e-06/0.6202, allocations: 6.062 kB / 0.7666 GB, free: 5.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004994/0.6207, allocations: 60 kB / 0.7667 GB, free: 5.809 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.282e-05/0.6208, allocations: 60.28 kB / 0.7667 GB, free: 5.809 MB / 0.5762 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.0002377/0.621, allocations: 198.9 kB / 0.7669 GB, free: 5.664 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.672e-05/0.621, allocations: 44.69 kB / 0.7669 GB, free: 5.637 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.956e-05/0.6211, allocations: 39.28 kB / 0.767 GB, free: 5.625 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.479e-06/0.6211, allocations: 1.375 kB / 0.767 GB, free: 5.625 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.054e-05/0.6211, allocations: 2.281 kB / 0.767 GB, free: 5.625 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.6211, allocations: 0 / 0.767 GB, free: 5.625 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002065/0.6232, allocations: 0.7479 MB / 0.7677 GB, free: 5.223 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.073e-06/0.6232, allocations: 0 / 0.7677 GB, free: 5.223 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.602e-05/0.6232, allocations: 4.469 kB / 0.7677 GB, free: 5.223 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.6232, allocations: 0.9688 kB / 0.7677 GB, free: 5.223 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.736e-05/0.6233, allocations: 28.52 kB / 0.7677 GB, free: 5.215 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.556e-06/0.6233, allocations: 2.156 kB / 0.7677 GB, free: 5.215 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.6233, allocations: 1.734 kB / 0.7677 GB, free: 5.215 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001562/0.6248, allocations: 476.8 kB / 0.7682 GB, free: 5.016 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002842/0.6251, allocations: 200.7 kB / 0.7684 GB, free: 4.879 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.062e-05/0.6252, allocations: 12.56 kB / 0.7684 GB, free: 4.875 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004368/0.6256, allocations: 31.89 kB / 0.7684 GB, free: 4.871 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.547e-05/0.6257, allocations: 10.48 kB / 0.7684 GB, free: 4.867 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.006e-05/0.6257, allocations: 59.61 kB / 0.7685 GB, free: 4.863 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002878/0.626, allocations: 298 kB / 0.7688 GB, free: 4.727 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.626, allocations: 4 kB / 0.7688 GB, free: 4.723 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004137/0.6264, allocations: 65.3 kB / 0.7689 GB, free: 4.719 MB / 0.5762 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.001865/0.6283, allocations: 1.021 MB / 0.7699 GB, free: 3.98 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001191/0.6295, allocations: 406.7 kB / 0.7702 GB, free: 3.793 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.6295, allocations: 384 / 0.7702 GB, free: 3.793 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006974/0.6302, allocations: 120.1 kB / 0.7704 GB, free: 3.773 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003692/0.6306, allocations: 32.44 kB / 0.7704 GB, free: 3.762 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004574/0.6351, allocations: 2.797 MB / 0.7731 GB, free: 17.91 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006245/0.6358, allocations: 0.7738 MB / 0.7739 GB, free: 17.2 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 8.785e-05/0.6359, allocations: 13.44 kB / 0.7739 GB, free: 17.2 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.376e-05/0.6359, allocations: 24.91 kB / 0.7739 GB, free: 17.18 MB / 0.5919 GB Notification: Performance of SimCode: time 1.172e-06/0.6359, allocations: 0 / 0.7739 GB, free: 17.18 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03076/0.6667, allocations: 6.128 MB / 0.7799 GB, free: 16.09 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.588/9.255, allocations: 1.781 kB / 0.7799 GB, free: 16.09 MB / 0.5919 GB " [Timeout remaining time 651] (rm -f IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Time_Validation_CalendarTimeMonthsMinus_fmu --startTime=172799 --stopTime=345599 --stepSize=69.12 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Time_Validation_CalendarTimeMonthsMinus.fmu > IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.094797604717314] Failed to read output from testmodel.py, exit status != 0: 9.326117719057947 9.34622489 8.734391228 Calling exit ...