Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Time.Examples.CalendarTime.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.001382/0.001382, allocations: 109 kB / 17.54 MB, free: 4.766 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.001386/0.001386, allocations: 181.9 kB / 20.71 MB, free: 1.609 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.284/1.284, allocations: 225.6 MB / 249.3 MB, free: 3.188 MB / 190.1 MB " [Timeout remaining time 179] 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 0.9752/0.9752, allocations: 175.7 MB / 480.1 MB, free: 2.84 MB / 366.1 MB " [Timeout remaining time 179] 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.Examples.CalendarTime,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Time_Examples_CalendarTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Time.Examples.CalendarTime,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Time_Examples_CalendarTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00175/0.00175, allocations: 67.03 kB / 0.6677 GB, free: 11.04 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1525/0.1543, allocations: 94.52 MB / 0.76 GB, free: 0.8906 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Examples.CalendarTime): time 0.002404/0.1567, allocations: 1.541 MB / 0.7615 GB, free: 15.34 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.001179/0.1579, allocations: 0.5384 MB / 0.7621 GB, free: 14.8 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.373e-05/0.1579, allocations: 0 / 0.7621 GB, free: 14.8 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 7.902e-05/0.158, allocations: 11.86 kB / 0.7621 GB, free: 14.79 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 9.142e-05/0.1581, allocations: 27.8 kB / 0.7621 GB, free: 14.76 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006886/0.1588, allocations: 314.5 kB / 0.7624 GB, free: 14.46 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.0004996/0.1593, allocations: 487.5 kB / 0.7629 GB, free: 13.98 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 3.562e-05/0.1593, allocations: 3.938 kB / 0.7629 GB, free: 13.98 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003613/0.1597, allocations: 283.5 kB / 0.7631 GB, free: 13.7 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002833/0.16, allocations: 151.6 kB / 0.7633 GB, free: 13.55 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 9.03e-05/0.1601, allocations: 28 kB / 0.7633 GB, free: 13.52 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 8.914e-05/0.1601, allocations: 24 kB / 0.7633 GB, free: 13.5 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 0.0001227/0.1603, allocations: 115.7 kB / 0.7634 GB, free: 13.39 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.0001937/0.1605, allocations: 187 kB / 0.7636 GB, free: 13.2 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.0004252/0.1609, allocations: 422.4 kB / 0.764 GB, free: 12.79 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.1609, allocations: 0 / 0.764 GB, free: 12.79 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.372e-06/0.1609, allocations: 0 / 0.764 GB, free: 12.79 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 5.631e-06/0.1609, allocations: 0 / 0.764 GB, free: 12.79 MB / 0.5763 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.001166/0.1621, allocations: 0.882 MB / 0.7649 GB, free: 11.82 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 3.174e-05/0.1621, allocations: 12.03 kB / 0.7649 GB, free: 11.8 MB / 0.5763 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.964e-05/0.1621, allocations: 38.73 kB / 0.7649 GB, free: 11.76 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001145/0.1623, allocations: 52.7 kB / 0.765 GB, free: 11.71 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003432/0.1626, allocations: 310.6 kB / 0.7653 GB, free: 11.36 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.371e-05/0.1626, allocations: 16.36 kB / 0.7653 GB, free: 11.35 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.777e-05/0.1627, allocations: 28.38 kB / 0.7653 GB, free: 11.32 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009719/0.1637, allocations: 220.9 kB / 0.7655 GB, free: 11.1 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.1637, allocations: 3.938 kB / 0.7655 GB, free: 11.1 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.571e-05/0.1637, allocations: 0 / 0.7655 GB, free: 11.1 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.1637, allocations: 7.938 kB / 0.7655 GB, free: 11.09 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007531/0.1645, allocations: 95.92 kB / 0.7656 GB, free: 11 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004145/0.1649, allocations: 389.3 kB / 0.766 GB, free: 10.57 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00103/0.1659, allocations: 162.5 kB / 0.7662 GB, free: 10.4 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007449/0.1667, allocations: 108.8 kB / 0.7663 GB, free: 10.29 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 1.875e-05/0.1667, allocations: 0 / 0.7663 GB, free: 10.29 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009156/0.1676, allocations: 223 kB / 0.7665 GB, free: 10.06 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=16): time 1.513e-06/0.1676, allocations: 8 kB / 0.7665 GB, free: 10.05 MB / 0.5763 GB Notification: Performance of matching and sorting (n=16): time 0.002486/0.1701, allocations: 483.1 kB / 0.7669 GB, free: 9.574 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.688e-05/0.1701, allocations: 67.38 kB / 0.767 GB, free: 9.496 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004074/0.1706, allocations: 413.9 kB / 0.7674 GB, free: 9.074 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 5.394e-05/0.1706, allocations: 41.69 kB / 0.7674 GB, free: 9.027 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 8.367e-05/0.1707, allocations: 89.45 kB / 0.7675 GB, free: 8.938 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 4.292e-05/0.1707, allocations: 39.69 kB / 0.7676 GB, free: 8.898 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001836/0.1709, allocations: 125.5 kB / 0.7677 GB, free: 8.77 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.0001373/0.1711, allocations: 322.8 kB / 0.768 GB, free: 8.445 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002542/0.1713, allocations: 123.9 kB / 0.7681 GB, free: 8.324 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002925/0.1716, allocations: 173.9 kB / 0.7683 GB, free: 8.133 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003746/0.172, allocations: 274.7 kB / 0.7685 GB, free: 7.832 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.172, allocations: 3.938 kB / 0.7685 GB, free: 7.828 MB / 0.5763 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008005/0.1728, allocations: 0.4909 MB / 0.769 GB, free: 7.32 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 8.303e-05/0.1729, allocations: 99.23 kB / 0.7691 GB, free: 7.211 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.1729, allocations: 4 kB / 0.7691 GB, free: 7.207 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.1729, allocations: 4.188 kB / 0.7691 GB, free: 7.203 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001451/0.173, allocations: 23.92 kB / 0.7691 GB, free: 7.18 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.704e-06/0.173, allocations: 4 kB / 0.7691 GB, free: 7.176 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004574/0.1735, allocations: 55.84 kB / 0.7692 GB, free: 7.121 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.642e-05/0.1736, allocations: 59.97 kB / 0.7693 GB, free: 7.062 MB / 0.5763 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 (calendarTime2016.firstHourSampling,$PRE.calendarTime2016.firstHourSampling,calendarTime2016.firstDaySampling,$PRE.calendarTime2016.firstDaySampling,calendarTime2016.daySampleTrigger,$whenCondition1,calendarTime2016.hourSampleTrigger,$whenCondition2,calendarTime2016.epochLastMonth,$PRE.calendarTime2016.epochLastMonth,calendarTime2016.yearIndex,$PRE.calendarTime2016.yearIndex,calendarTime2016.daysSinceEpoch,$PRE.calendarTime2016.daysSinceEpoch,calendarTime2016.weekDay,$PRE.calendarTime2016.weekDay,calendarTime2016.hour,$PRE.calendarTime2016.hour,calendarTime2016.day,$PRE.calendarTime2016.day,calendarTime2016.month,$PRE.calendarTime2016.month,calendarTime2016.year,$PRE.calendarTime2016.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.0002131/0.1738, allocations: 197.7 kB / 0.7694 GB, free: 6.863 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.19e-05/0.1738, allocations: 51.64 kB / 0.7695 GB, free: 6.812 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.307e-05/0.1739, allocations: 35.75 kB / 0.7695 GB, free: 6.781 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.1739, allocations: 7.984 kB / 0.7695 GB, free: 6.773 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.1739, allocations: 0 / 0.7695 GB, free: 6.773 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.1739, allocations: 0 / 0.7695 GB, free: 6.773 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002152/0.1761, allocations: 0.7443 MB / 0.7703 GB, free: 5.969 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.1761, allocations: 4 kB / 0.7703 GB, free: 5.965 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.905e-05/0.1761, allocations: 0 / 0.7703 GB, free: 5.965 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.1761, allocations: 7.984 kB / 0.7703 GB, free: 5.957 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.978e-05/0.1761, allocations: 19.98 kB / 0.7703 GB, free: 5.938 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.1761, allocations: 0 / 0.7703 GB, free: 5.938 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.1761, allocations: 0 / 0.7703 GB, free: 5.938 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001707/0.1779, allocations: 481.1 kB / 0.7708 GB, free: 5.453 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002353/0.1781, allocations: 196.7 kB / 0.7709 GB, free: 5.242 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.613e-05/0.1782, allocations: 19.98 kB / 0.771 GB, free: 5.223 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000464/0.1786, allocations: 31.97 kB / 0.771 GB, free: 5.191 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.747e-05/0.1786, allocations: 7.984 kB / 0.771 GB, free: 5.184 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.189e-05/0.1787, allocations: 55.98 kB / 0.7711 GB, free: 5.129 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.0002861/0.179, allocations: 299 kB / 0.7713 GB, free: 4.836 MB / 0.5763 GB Notification: Performance of sort global known variables: time 7e-08/0.179, allocations: 0 / 0.7713 GB, free: 4.836 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.0003357/0.1793, allocations: 63.98 kB / 0.7714 GB, free: 4.773 MB / 0.5763 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 (calendarTime2016.hourSampleTrigger,calendarTime2016.daySampleTrigger,$whenCondition2,$whenCondition1,calendarTime2016.year,calendarTime2016.month,calendarTime2016.day,calendarTime2016.hour,calendarTime2016.weekDay,calendarTime2016.daysSinceEpoch,calendarTime2016.yearIndex,calendarTime2016.epochLastMonth,calendarTime2016.firstHourSampling,calendarTime2016.firstDaySampling) * Number of discrete states: 9 (calendarTime2016.firstDaySampling,calendarTime2016.daysSinceEpoch,calendarTime2016.weekDay,calendarTime2016.yearIndex,calendarTime2016.year,calendarTime2016.epochLastMonth,calendarTime2016.month,calendarTime2016.firstHourSampling,calendarTime2016.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.00206/0.1814, allocations: 1.028 MB / 0.7724 GB, free: 3.719 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.001199/0.1826, allocations: 410.5 kB / 0.7728 GB, free: 3.293 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1826, allocations: 0 / 0.7728 GB, free: 3.293 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.000751/0.1833, allocations: 111.8 kB / 0.7729 GB, free: 3.184 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003192/0.1837, allocations: 27.94 kB / 0.7729 GB, free: 3.16 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004016/0.1877, allocations: 2.802 MB / 0.7757 GB, free: 236 kB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000399/0.1881, allocations: 0.7746 MB / 0.7764 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 6.237e-05/0.1881, allocations: 17.08 kB / 0.7764 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.504e-05/0.1882, allocations: 27.42 kB / 0.7765 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of SimCode: time 2.71e-07/0.1882, allocations: 0 / 0.7765 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02812/0.2163, allocations: 6.212 MB / 0.7825 GB, free: 9.145 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.089/7.305, allocations: 13.44 kB / 0.7825 GB, free: 9.133 MB / 0.5919 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Utilities.Time.Examples.CalendarTime.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Time.Examples.CalendarTime.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Time.Examples.CalendarTime.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Time.Examples.CalendarTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Time_Examples_CalendarTime_fmu --startTime=0 --stopTime=1e+08 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Time_Examples_CalendarTime.fmu > IDEAS_dev_IDEAS.Utilities.Time.Examples.CalendarTime.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.824738620998687]